Grenade problem

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

Moderator: Moderators

Post Reply
Vic Marrow
Colour Sergeant
Posts: 95
Joined: Wed Aug 20, 2003 2:31 pm

Grenade problem

Post by Vic Marrow »

When I put a pistol ammo box or mg ammo box in my map I can run over them and the screen says you got ( bla bla) rounds. And I do get them in my inventory. But when I run over a grenade ammo box it says you got 5 grenades. But I don't get any. Anybody know why? Thanks for your help.
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Add these lines to your map's script below level waittill prespawn:

Code: Select all

$player item weapons/M2frag_grenade_sp_start.tik
$player item weapons/steilhandgranate_start.tik
I assume this is for a sp map :wink:

Basically this gives the player the 'grenade weapons' he can use to fire grenades. Just like mg ammo would be useless without a mg.
Image
Vic Marrow
Colour Sergeant
Posts: 95
Joined: Wed Aug 20, 2003 2:31 pm

Post by Vic Marrow »

Thanks jv_map this worked. I never had the german grenade line in my script. Just the m2 frag grenade line was in it. By adding that line I can now run over grenade ammo boxes and get grenades. I guess you need the german grenade line in your script, after all they are german grenade ammo boxes da! :oops:
Post Reply