Limit Grenades on one map

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
Ski
Lance Corporal
Posts: 24
Joined: Tue Dec 07, 2004 12:51 am

Limit Grenades on one map

Post by Ski »

Ok I have a single player map conversion that I would like to limit the amount of grenades a player gets to 1, but only on this map, when the other maps in the rotation are played the players will get 3 grenades. We already use a weapons mode on the server to limit the grenades to 3. Can I add something into the script of this one map to limit grenades to one???

Ski
Ski
Lance Corporal
Posts: 24
Joined: Tue Dec 07, 2004 12:51 am

Post by Ski »

Guess this isn't an easy thing to do if you guys hear can't help me out.

Ski
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

Didn't you ask the same question on the Mods-r-us forums? I remember answering a post like that over there.
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
Ski
Lance Corporal
Posts: 24
Joined: Tue Dec 07, 2004 12:51 am

Post by Ski »

Yes I did Rookie... but your suggestion was to limit the genades to one for all maps. Then on all the maps except the one up the grenade limit by two to give 3 grenades on all maps except one.

For one... don't know how I would script that... and second wanted to know if there was a way to take them away from players only on one map so I do not have to touch the scripts for all the other maps.

Ski
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

Well, I don't know of any other way.

I'll tell you what to do tomorrow (today :P), it's getting late now. ;)
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
Post Reply