Jump to content

Using Grenade as vehicle weapons


drages

Recommended Posts

Hey..

I tried to make an artillery vehicle. I made a "gasgrenade" vehicle weapon with throwingRangeModifier="60.0"

At game when u try to fire, u can see green like to enemy, and when u fire, it explodes just under the vehicle.. so it became self destruct weapon..

Any ideas or tricks about it? thx..

Link to comment
Share on other sites

Here's two examples from my old Grease Pit mod.

  	<Weapon name="VV.SMOKEGRENADE" bulletType="gasgrenade" emptySound="Empty Click 1"><props range="10" hands="1" recoil="0" weight="1" isHeavy="0" clipSize="6" reloadAPCost="0" hpLimit="80" disableDamageScaling="1" [b]throwingRangeModifier="10.0"[/b] /><SingleShot delay="0.85" sound="Weapon Grenade Throw" suppressionValue="0" suppressionRadius="1">  <Set1 ap="20" accuracy="30" /></SingleShot><BurstFire/><GUIImage name="gui/weapons/GrenadeSmoke.png"/><GroundImage name="grounditemimages/grenade2.png"/><Ammos>  <Ammo name="default" type="chemical" damage="0" stunDamage="0" mitigation="0">	<Projectile spectre="projectiles/grenade" speed="600" />	<Impact spectre="particles/smallgrenade/small_grenade" radius="4" sound="Weapon Gas Grenade" fireChance="0" smokeChance="60" gasType="SmokeGrenadeGas"/>  </Ammo></Ammos></Weapon><Weapon name="VV.AIRBURST" bulletType="grenade" emptySound="Empty Click 1"><props range="15" hands="1" recoil="0" weight="1" isHeavy="0" clipSize="6" reloadAPCost="0" hpLimit="80" disableDamageScaling="1" [b]throwingRangeModifier="15.0"[/b] /><SingleShot delay="0.85" sound="Weapon Grenade Throw" suppressionValue="60" suppressionRadius="4">  <Set1 ap="20" accuracy="55" /></SingleShot><GUIImage name="gui/weapons/Grenade.png"/><GroundImage name="grounditemimages/grenade.png"/><Ammos>  <Ammo name="ammo.none" type="kinetic" damage="60" stunDamage="0" mitigation="0" isOverdamage="1">	<Projectile spectre="projectiles/grenade" speed="600" />	<Impact spectre="particles/smallgrenade/small_grenade" radius="4" sound="Weapon Frag Grenade" fireChance="0" smokeChance="10" gasType="GrenadeFragSmoke" />  </Ammo></Ammos></Weapon>
Edited by Max_Caine
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...