Day of Defeat Plugins Community
This site is an archive — everything is readable and downloadable, nothing can be posted. Admin

DoD MG Extra Recoil (v1.4)

by diamond-optic · 2006-11-03 · 12 replies · 17394 views · 106 downloads

Read the thread (13 posts)

From the first post

DoD MG Extra Recoil
n- Version 1.4
n- 06.28.2008
n- original: FireStorm
n- updated: diamond-optic
n
nCredit:
n
- Original idea came from TatsuSaisei's dod_mg_mustdeployn plugin, just I didnt want to totally disable undeployedn MGs, i just wanted to make it a wee bit more difficult.

n
nInformation:
n
- Adds extra recoil to undeployed MGsnn- Server List: [url]http://www.game-monitor.com/search.php?rulename=dod_mg_extrarecoil_stats[/url]

n
nCVARs:
n
dod_mg_extrarecoil "1" //Turn ON(1)/OFF(0)nn//these 3 control the max/min effect anglesn dod_mg_extrarecoil_pitch "40"n dod_mg_extrarecoil_yaw "20"n dod_mg_extrarecoil_roll "3"

n
nVersion Info:
n
- 11.02.2006 Version 1.0n    Initial Releasenn- 12.03.2006 Version 1.1n    Tweaked recoil.. Increased Pitch and Yaw, decreased Rolln    Increased Max angle difference from 90 to 120 Yawnn- 12.16.2006 Version 1.2n    Improved method of catching MG firen    Made whole thing more effecient :-)nn- 05.28.2007 Version 1.3n    Added cvars to control the angles of the effectn    Combined the if statements into a single shorter onenn- 06.28.2008 Version 1.4n    Moved get_user_msgid to plugin_init

n
nDOWNLOAD MIRROR: http://www.avamods.com/download.php?view.49

Files

dod_mg_extrarecoil.sma Plugin Source 3 KB 106 dl Download Compile

The thread

All 13 posts from 4 people on DoD MG Extra Recoil (v1.4), kept as they were written.

diamond-optic
started this thread
Posts: 2,068
Threads: 103
Joined: May 2005
11-02-2006, 10:39 PM #1

DoD MG Extra Recoiln- Version 1.4n- 06.28.2008n- original: FireStormn- updated: diamond-opticnnCredit:n

n- Original idea came from TatsuSaisei's dod_mg_mustdeployn plugin, just I didnt want to totally disable undeployedn MGs, i just wanted to make it a wee bit more difficult.n
nnInformation:n
n- Adds extra recoil to undeployed MGsnn- Server List: http://www.game-monitor.com/search.php?rulename=dod_mg_extrarecoil_statsn
nnCVARs:n
ndod_mg_extrarecoil "1" //Turn ON(1)/OFF(0)nn//these 3 control the max/min effect anglesn dod_mg_extrarecoil_pitch "40"n dod_mg_extrarecoil_yaw "20"n dod_mg_extrarecoil_roll "3"n
nnVersion Info:n
n- 11.02.2006 Version 1.0n    Initial Releasenn- 12.03.2006 Version 1.1n    Tweaked recoil.. Increased Pitch and Yaw, decreased Rolln    Increased Max angle difference from 90 to 120 Yawnn- 12.16.2006 Version 1.2n    Improved method of catching MG firen    Made whole thing more effecient :-)nn- 05.28.2007 Version 1.3n    Added cvars to control the angles of the effectn    Combined the if statements into a single shorter onenn- 06.28.2008 Version 1.4n    Moved get_user_msgid to plugin_initn
nnDOWNLOAD MIRROR: http://www.avamods.com/download.php?view.49

Box Cutter
posted here
Posts: 155
Threads: 7
Joined: Jun 2006
11-03-2006, 06:09 AM #2

Awesome d-o, I just added this to the server and I am going to test it right now.rnrnlol you are all over the place now, I love it. I tried it on all gunners and works great. This will be a great addition to the server. Thank you.

diamond-optic
started this thread
Posts: 2,068
Threads: 103
Joined: May 2005
12-04-2006, 01:36 AM #3

nothing major... just a small little tweaknnVersion 1.1 Updaten

- 12.03.2006 Version 1.1nTweaked recoil.. Increased Pitch and Yaw, decreased RollnIncreased Max angle difference from 90 to 120 Yaw
diamond-optic
started this thread
Posts: 2,068
Threads: 103
Joined: May 2005
12-16-2006, 08:42 PM #4

update to version 1.2n

n    - 12.16.2006 Version 1.2n        Improved method of catching MG firen        Made whole thing more effecient :-)
WARDOG
posted here
Posts: 141
Threads: 14
Joined: Jan 2006
02-12-2007, 04:59 PM #5

Welcome to the AMX Mod X 1.70-300 Compiler.rnCopyright (c) 1997-2005 ITB CompuPhase, AMX Mod X Teamrnrntemp.sma(63) : error 017: undefined symbol "IN_ATTACK"rnrn1 Error.rnCould not locate output file ../amxx/dod_mg_extrarecoil.1.70.amx (compile failed).

diamond-optic
started this thread
Posts: 2,068
Threads: 103
Joined: May 2005
02-12-2007, 07:51 PM #6

compiles fine in 1.75 and up...nnonly thing that would cause that is IN_ATTACK not being in the const file for 1.70/1.71 but it should be..nnnbut anyway..nntry putting:n

#define IN_ATTACK    (1<<0)
nin the sma file underneath the includes (and before plugin_init)

diamond-optic
started this thread
Posts: 2,068
Threads: 103
Joined: May 2005
06-02-2007, 10:55 PM #7

Update to v1.3nn

- 05.28.2007 Version 1.3n        Added cvars to control the angles of the effectn        Combined the if statements into a single shorter one
nnNew CVARs:n
//these 3 control the max/min effect anglesn    dod_mg_extrarecoil_pitch "40"n    dod_mg_extrarecoil_yaw "20"n    dod_mg_extrarecoil_roll "3"
P politvs
posted here
Posts: 7
Threads: 0
Joined: Apr 2007
05-15-2008, 09:27 AM #8

I'd like to know which exactly are the weapons affected by this plugin. I mean, evidently MG42, Bren... are, but BAR? Axis "para" weapons? Could this be customizable?rnrnThanks in advance!rnrnPoLiTvS

diamond-optic
started this thread
Posts: 2,068
Threads: 103
Joined: May 2005
05-15-2008, 07:22 PM #9

the only weapons affected are:nn30calnMG34nMG42nnand you can add/subtract/etc the weapons affected by editing this line:n

register_event("CurWeapon","recoil_check","be","1=1","2=17","2=18","2=21","3>0")
nnits the 2=# partsnnlike you you wanted to add some weapons you would add the followingnn"2=11" for BARn"2=23" for FG42n"2=27" for brennnand as for the 3 that are already there, they are:nn"2=17" is MG42n"2=18" is 30caln"2=21" is MG34

P politvs
posted here
Posts: 7
Threads: 0
Joined: Apr 2007
05-16-2008, 05:51 AM #10
the only weapons affected are:rnrn30calrnMG34rnMG42rnrnand you can add/subtract/etc the weapons affected by editing this line:rn
register_event("CurWeapon","recoil_check","be","1=1","2=17","2=18","2=21","3>0")
rnrnits the 2=# partsrnrnlike you you wanted to add some weapons you would add the followingrnrn"2=11" for BARrn"2=23" for FG42rn"2=27" for brenrnrnand as for the 3 that are already there, they are:rnrn"2=17" is MG42rn"2=18" is 30calrn"2=21" is MG34
rnrnWow, thanks! I think you could add this info to de .sma file so anybody could change it if they want.rnrnJust another question? Shouldn't be the Bren added by default too? Isn't it a "real" MG?rnrnThanks again!rnrnPoLiTvS

diamond-optic
started this thread
Posts: 2,068
Threads: 103
Joined: May 2005
05-16-2008, 06:23 PM #11

ya i guess technically... but since the british are already short on weapon selections and since it has a small magazine.. i see it more along the lines of the bar and fg42

P politvs
posted here
Posts: 7
Threads: 0
Joined: Apr 2007
05-19-2008, 07:09 AM #12

Ok, thanks for all!!

diamond-optic
started this thread
Posts: 2,068
Threads: 103
Joined: May 2005
07-27-2008, 08:39 PM #13

updated to version 1.4nn

n- 06.28.2008 Version 1.4n    Moved get_user_msgid to plugin_initn
DoD Plugins Archive · Repository · Old Forum Threads · Maps · Admin · built 14 Sep 2026 00:34 UTC