Page 1 of 1
Disable grenade
Posted: Mon Oct 25, 2010 11:32 pm
by anselmus
Ok,I do not recall if the subject has been discussed, but is possible only disable the grenade's ammobox (SSM)?
edited by Jeronimo: Addded correct prefix to thread title.
Re: Disable grenade (SSM)
Posted: Tue Oct 26, 2010 7:38 am
by Jeronimo
5 min of search in the ssm.com backup gave me this:
viewtopic.php?f=23&t=3094
Code: Select all
ObjectTemplate.Active YourSupplyDepot
ObjectTemplate.addAmmoType 2 0 0 0
Check out objects.rfa for the name of the SupplyDepot and the correct ammoType ID.
Posted: Tue Oct 26, 2010 10:40 am
by freddy
that works but will cripple the ExpPack to as it use the same ammotype.
another way
Code: Select all
ObjectTemplate.Active GrenadeAllies
ObjectTemplate.AmmoType 8
ObjectTemplate.Active GrenadeAxis
ObjectTemplate.AmmoType 8
Re:
Posted: Sat Oct 30, 2010 2:35 pm
by anselmus
freddy wrote:that works but will cripple the ExpPack to as it use the same ammotype.
another way
Code: Select all
ObjectTemplate.Active GrenadeAllies
ObjectTemplate.AmmoType 8
ObjectTemplate.Active GrenadeAxis
ObjectTemplate.AmmoType 8
Nice, thanks.
Re: Disable grenade
Posted: Thu Nov 04, 2010 6:37 pm
by tekk
I recall doing this for berlin some years back but the method was disabling the button that is used to throw the grenades, the animation was there but the explosion was not. Sorry cant remember the code thou but maybe someone might.
Re: Disable grenade
Posted: Fri Jun 17, 2011 10:29 pm
by Player
I thought all you had to do was set the Objecttemplate.magtype 1?