| closedno recoil |
| Started by |OnEHiTwOnDeR|SoCal on 12-15-2007, 01:52 PM |
Threads: 37
Joined: Mar 2007
hey id like someone to help me with making a script for no recoil in dod. it'd be appreciated thanks
Threads: 37
Joined: Mar 2007
wilson? rnrn(extra text to post)
Threads: 75
Joined: Nov 2007
Like a plugin for all players?
Threads: 57
Joined: Oct 2005
This is what I use to create recoil. Try reworking it to prevent it (ie set to 0)nn
n// Created by potatis_invalidonstock create_recoil( id, Float:recoil ) {n new Float:angles[3];n pev(id, pev_v_angle, angles);n n angles[0] -= random_float(recoil * 1.2, recoil * 0.8);n if(angles[0] < -88.994750)n {n angles[0] = -88.994750;n }n else if(angles[0] > 88.994750)n {n angles[0] = 88.994750;n }n n angles[1] += random_float(recoil * 0.35, recoil * -0.35);n if(angles[1] > 180.0)n {n angles[1] -= 360.0;n }n else if(angles[1] < -180.0)n {n angles[1] += 360.0;n }n set_pev(id, pev_angles, angles);n set_pev(id, pev_fixangle, 1);n}nThreads: 37
Joined: Mar 2007
seriously whatnnand thanks wilson ill look into that
Threads: 1
Joined: Mar 2008
lol lookin to make a hax eh?
Threads: 57
Joined: Oct 2005
Not everything is hacks just cause it makes the game easier. For example, I was going to use the code to allow other weapons to deploy (deploying a weapon = no recoil in dod).nnBut yeah he's probably gonna use it for hax..
Threads: 37
Joined: Mar 2007
all i want is no recoil for all ppl on my server lol if i wanted hacks id dl one
Threads: 7
Joined: Nov 2006
It makes great sense really, if any user is prone, it's a little crazy when they get the same recoil as say crouched or standing. In fact, what wilson is talking about is right on - someone prone with the garand should be able to get all 9 shots off with the same accuracy as someone deployed with say a BAR.nnHow's this working out for you socal? If wilson's code is good, maybe I'll make a version that adds on to advanced deploy, where if you're prone with a rifle you "deploy" (automatically)
Threads: 37
Joined: Mar 2007
i havent done anything with it cuz i barely play anymore and i dont even know what the hell to do with that code he gave and i dont have time to read and learn the tuts

