PDA

View Full Version : Couple of questions


imported_Acorend
11-03-2003, 09:53 AM
Greetings!

New to this board and wanted to see if anyone knew about any way to modify a server to get rid of or limit the "bunny hopping" thing people do and if there are any mods otw to limit the amount of sniper rifles available to each side?

I know I can turn sniper rifles off/on in the cfg but I don't really want them out of the game just limited to say 2/side?

Thanks in advance! S!

imported_Acorend
11-03-2003, 02:18 PM
Found this over at IW Nations....

can anyone confirm that this will work or maybe you notice any unforseen problems?

============================================
It would be very easy to make a server side only mod which would limit the number of snipers on a map. first set the following cvars:

set scr_allow_kar98ksniper "0"
set scr_allow_nagantsniper "0"
set scr_allow_springfield "0"

then just spawn in however many sniper rifles you want into the map where you want:

new_weapon = spawn (weapon_classname, location.origin);
new_weapon.angles = location.angles;

weapon classnames look like this:

"weapon_springfield"

and origin and angles look like this:

location.origin = (-2945, 1307, 25);
location.angles = (0, 80, 0);

rudedog
11-04-2003, 10:20 AM
Have you tested this yet? Would be very interesting.

Once finished, make sure you submit your file. We have plenty of room to host it.