to be able to pick up all weapons

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
BooF
Lance Corporal
Posts: 14
Joined: Sun Apr 27, 2003 3:45 am

to be able to pick up all weapons

Post by BooF »

Hi gang,
is there a way in dm, tdm to set up the game so as to pick up any weapon and or any grenade, so i can add weapon pickup and boxes of grenades
The World Wide Web has a very big spider in the middle
## Microsoft ##
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

For the grenades, you may want to try this in your script:

Code: Select all

for(local.i = 1; local.i <= $player.size; local.i++)
{
  $player[local.i] item weapons/M2frag_grenade_sp_start.tik
  $player[local.i] item weapons/steilhandgranate_start.tik
}
Image
BooF
Lance Corporal
Posts: 14
Joined: Sun Apr 27, 2003 3:45 am

Post by BooF »

Thanks m8
Me thinks I have more to learn.
I will get there but.
The World Wide Web has a very big spider in the middle
## Microsoft ##
BooF
Lance Corporal
Posts: 14
Joined: Sun Apr 27, 2003 3:45 am

Post by BooF »

not being a great script writer
can some one go throught it so as to explain the reason it raises my ability to pick up 5 grenades instead of the original 2
The World Wide Web has a very big spider in the middle
## Microsoft ##
Post Reply