Day of Defeat Plugins Community
This site is an archive — everything is readable and downloadable, nothing can be posted. Admin
Archive › Old Forum Threads › Help › Scripting Help › no recoil
12 posts, 6 people · 6,380 views Thread Rating: ★★★★★
closedno recoil
Started by |OnEHiTwOnDeR|SoCal on 12-15-2007, 01:52 PM
| |OnEHiTwOnDeR|SoCal
started this thread
Posts: 320
Threads: 37
Joined: Mar 2007
12-15-2007, 01:52 PM #1

hey id like someone to help me with making a script for no recoil in dod. it'd be appreciated thanks

| |OnEHiTwOnDeR|SoCal
started this thread
Posts: 320
Threads: 37
Joined: Mar 2007
12-17-2007, 12:51 PM #2

wilson? rnrn(extra text to post)

Dr.G
posted here
Posts: 776
Threads: 75
Joined: Nov 2007
12-17-2007, 01:36 PM #3

Like a plugin for all players?

Wilson [29th ID]
posted here
Posts: 623
Threads: 57
Joined: Oct 2005
12-17-2007, 03:14 PM #4

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}n
S sparky99
posted here
Posts: 263
Threads: 49
Joined: Jan 2006
12-18-2007, 08:06 AM #5

Seriously?

| |OnEHiTwOnDeR|SoCal
started this thread
Posts: 320
Threads: 37
Joined: Mar 2007
12-18-2007, 01:39 PM #6

seriously whatnnand thanks wilson ill look into that

I infamous
posted here
Posts: 4
Threads: 1
Joined: Mar 2008
03-12-2008, 04:30 AM #7

lol lookin to make a hax eh?

Wilson [29th ID]
posted here
Posts: 623
Threads: 57
Joined: Oct 2005
03-12-2008, 05:33 AM #8

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..

| |OnEHiTwOnDeR|SoCal
started this thread
Posts: 320
Threads: 37
Joined: Mar 2007
03-12-2008, 11:03 AM #9

all i want is no recoil for all ppl on my server lol if i wanted hacks id dl one

I infamous
posted here
Posts: 4
Threads: 1
Joined: Mar 2008
03-14-2008, 08:52 PM #10

lol alright

H Hood [10th MD]
posted here
Posts: 84
Threads: 7
Joined: Nov 2006
03-27-2008, 06:25 PM #11

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)

| |OnEHiTwOnDeR|SoCal
started this thread
Posts: 320
Threads: 37
Joined: Mar 2007
04-05-2008, 12:30 PM #12

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

Archive › Old Forum Threads › Help › Scripting Help › no recoil
DoD Plugins Archive · Repository · Old Forum Threads · Maps · Admin · built 14 Sep 2026 00:34 UTC