PDA

View Full Version : DoD - Sniper MUST scope to fire (v.76.1)


=|[76AD]|= TatsuSaisei
12-28-2006, 05:04 PM
Plugin is designed to prevent a scoped rifle from firing unless it IS scoped...

I hate what this plugin does as I am all for a sniper shooting without his scope, but the request was made and I knew how to do it (DoD MG MUST deploy plugin) so it only took a few minutes to convert that to handle Sniper Rifles instead...


DoD Sniper MUST Scope
CVARS:
dod_sniper_mustscope "1" - enable/disable plugin

dod_dod_spring_mustscope "1" - enable/disable allied springfield
dod_kar_mustscope "1" - enable/disbale axis scoped kar
dod_enfield_mustscope "1" - enable/disable british scoped enfield

dod_mustscope_msg "1" - enable/disable message about no-scope policy
dod_mustscope_msgx "-1.0" - message position in X (-1.0 = centered valid values 0.0 - 1.0)
dod_mustscope_msgy "-1.0" - message position in Y (-1.0 = centered valid values 0.0 - 1.0)
dod_mustscope_msgr "255" - message color red 0 - 255
dod_mustscope_msgg "0" - message color green 0 - 255
dod_mustscope_msgb "0" - message color blue 0 - 255
dod_mustscope_msgtime "3.0" - message duration to show
dod_mustscope_custmsg "Scoped Rifles must be Scoped in order to fire them !!" - the custom message to show noscopers
ISSUES:
Does not detect British Scoped Enfield
VERSION INFO:
76.0 12/27/06
Initial Code
76.1 12/28/06
Public Release
AUTHOR INFO:
Joseph Meyers AKA =|[76AD]|= TatsuSaisei - 76th Airborne Division RANK: General of the Army
http://76AD.com
http://TatsuSaisei.com
http://JosephMeyers.com
http://CustomDoD.com


EDIT: 12/29/60 ALL Sniper rifles are detected properly !!

TigerMan4
12-28-2006, 09:56 PM
thank you , I`m all for ramboing people , and when I saw the MG must deploy to fire , I thought...why cant that be done with snipers :)

TigerMan4
12-29-2006, 10:02 AM
when I installed the original version , I get , unknown plugin , bad load , when I type in amx_plugins.

is it fixed from blocking everyone now ?

=|[76AD]|= TatsuSaisei
12-29-2006, 10:07 AM
when I installed the original version , I get , unknown plugin , bad load , when I type in amx_plugins.

is it fixed from blocking everyone now ?
it all works as expected... the error was on my end... I had Zors beta dodx module running and THAT caused issues which I will inform Zor about....
in any case, I will reupload the source I have to be what is downloadable is the current code I have I know is working....