View Full Version : no recoil
|OnEHiTwOnDeR|SoCal
12-15-2007, 01:52 PM
hey id like someone to help me with making a script for no recoil in dod. it'd be appreciated thanks
|OnEHiTwOnDeR|SoCal
12-17-2007, 12:51 PM
wilson?
(extra text to post)
Like a plugin for all players?
Wilson [29th ID]
12-17-2007, 03:14 PM
This is what I use to create recoil. Try reworking it to prevent it (ie set to 0)
// Created by potatis_invalido
stock create_recoil( id, Float:recoil ) {
new Float:angles[3];
pev(id, pev_v_angle, angles);
angles[0] -= random_float(recoil * 1.2, recoil * 0.8);
if(angles[0] < -88.994750)
{
angles[0] = -88.994750;
}
else if(angles[0] > 88.994750)
{
angles[0] = 88.994750;
}
angles[1] += random_float(recoil * 0.35, recoil * -0.35);
if(angles[1] > 180.0)
{
angles[1] -= 360.0;
}
else if(angles[1] < -180.0)
{
angles[1] += 360.0;
}
set_pev(id, pev_angles, angles);
set_pev(id, pev_fixangle, 1);
}
sparky99
12-18-2007, 08:06 AM
Seriously?
|OnEHiTwOnDeR|SoCal
12-18-2007, 01:39 PM
seriously what
and thanks wilson ill look into that
infamous
03-12-2008, 05:30 AM
lol lookin to make a hax eh?
Wilson [29th ID]
03-12-2008, 06:33 AM
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).
But yeah he's probably gonna use it for hax..
|OnEHiTwOnDeR|SoCal
03-12-2008, 12:03 PM
all i want is no recoil for all ppl on my server lol if i wanted hacks id dl one
infamous
03-14-2008, 09:52 PM
lol alright
Hood [10th MD]
03-27-2008, 07:25 PM
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.
How'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)
|OnEHiTwOnDeR|SoCal
04-05-2008, 01:30 PM
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
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.