Jump to content

Smoke grenade and flare launchers for vehicles


Gauddlike

Recommended Posts

This is a repost of the mod that added the smoke grenades and flare launchers for use by vehicles.

It lists the files and what information needs to be added to them.

It also includes the section needed to add them to the Hunter as secondary weapon options.

To vehicleweapons_gc add:

<Weapon name="Vehicle_smoke" bulletType="grenade" emptySound="audio/sfx/emptygun.ogg">

<props range="10" clipSize="8" />

<SingleShot sound="Vehicle Weapon Rocket Launch">

<Set1 ap="20" accuracy="20" />

<Set2 ap="30" accuracy="33" />

</SingleShot>

<GUIImage name="gui/weapons/grenadestun.png"/>

<GroundImage name="grounditemimages/grenade.png"/>

<Ammos>

<Ammo name="default" type="grenade" damage="0" mitigation="0">

<Projectile spectre="projectiles/grenade" speed="500"/>

<Impact spectre="particles/smoke/smoke" radius="3" sound="Weapon Gas Grenade" fireChance="0" smokeChance="90" gasType="GrenadeSmoke" />

</Ammo>

</Ammos>

</Weapon>

<Weapon name="Vehicle_flare" bulletType="flare" emptySound="audio/sfx/emptygun.ogg">

<props range="10" clipSize="10" />

<SingleShot sound="Vehicle Weapon Rocket Launch">

<Set1 ap="20" accuracy="20" />

<Set2 ap="30" accuracy="33" />

</SingleShot>

<GUIImage name="gui/weapons/flare.png"/>

<GroundImage name="grounditemimages/grenade.png"/>

<Ammos>

<Ammo name="default" type="energy" damage="0" mitigation="0">

<Projectile spectre="projectiles/grenade" speed="500"/>

<Impact spectre="projectiles/robbanas/explosion" radius="1" sound="Weapon Stun Grenade" fire="0" />

</Ammo>

</Ammos>

</Weapon>

To vehicleweapons add:

<Row>

<Cell><Data ss:Type="String">VV.SMOKEGRENADE</Data></Cell>

<Cell><Data ss:Type="String">Smoke</Data></Cell>

<Cell><Data ss:Type="Number">30</Data></Cell>

<Cell><Data ss:Type="Number">-10</Data></Cell>

<Cell><Data ss:Type="Number">100</Data></Cell>

<Cell><Data ss:Type="Number">8</Data></Cell>

<Cell><Data ss:Type="Number">5</Data></Cell>

<Cell><Data ss:Type="String">None</Data></Cell>

<Cell><Data ss:Type="Number">0</Data></Cell>

<Cell><Data ss:Type="String">weapons/ballistic/grenadesmoke</Data></Cell>

<Cell><Data ss:Type="String">SM</Data></Cell>

</Row>

<Row>

<Cell><Data ss:Type="String">VV.FLARE</Data></Cell>

<Cell><Data ss:Type="String">Flare</Data></Cell>

<Cell><Data ss:Type="Number">30</Data></Cell>

<Cell><Data ss:Type="Number">-10</Data></Cell>

<Cell><Data ss:Type="Number">100</Data></Cell>

<Cell><Data ss:Type="Number">10</Data></Cell>

<Cell><Data ss:Type="Number">5</Data></Cell>

<Cell><Data ss:Type="String">None</Data></Cell>

<Cell><Data ss:Type="Number">0</Data></Cell>

<Cell><Data ss:Type="String">weapons/misc/flare</Data></Cell>

<Cell><Data ss:Type="String">FL</Data></Cell>

</Row>

To strings add:

<Row ss:AutoFitHeight="0">

<Cell ss:StyleID="s74"><Data ss:Type="String">VEHICLE.WEAPON.SMOKE</Data></Cell>

<Cell><Data ss:Type="String">Smoke launcher</Data></Cell>

</Row>

<Row ss:AutoFitHeight="0">

<Cell ss:StyleID="s74"><Data ss:Type="String">VEHICLE.WEAPON.FLARE</Data></Cell>

<Cell><Data ss:Type="String">Flare Launcher</Data></Cell>

</Row>

<Row ss:AutoFitHeight="0">

<Cell ss:StyleID="s67"><Data ss:Type="String">ManTech.VV.SMOKEGRENADE</Data></Cell>

<Cell ss:StyleID="s65"><Data ss:Type="String">Smoke launcher</Data></Cell>

</Row>

<Row ss:AutoFitHeight="0">

<Cell ss:StyleID="s67"><Data ss:Type="String">ManTech.VV.FLARE</Data></Cell>

<Cell ss:StyleID="s65"><Data ss:Type="String">Flare Launcher</Data></Cell>

</Row>

<Row ss:AutoFitHeight="0">

<Cell ss:StyleID="s62"><Data ss:Type="String">VV.SMOKEGRENADE</Data></Cell>

<Cell ss:StyleID="s65"><Data ss:Type="String">Smoke launcher</Data></Cell>

</Row>

<Row ss:AutoFitHeight="0">

<Cell ss:StyleID="s62"><Data ss:Type="String">VV.FLARE</Data></Cell>

<Cell ss:StyleID="s65"><Data ss:Type="String">Flare Launcher</Data></Cell>

</Row>

To items add:

<Row ss:AutoFitHeight="0">

<Cell><Data ss:Type="String">VV.SMOKEGRENADE</Data></Cell>

<Cell><Data ss:Type="Number">1000</Data></Cell>

<Cell><Data ss:Type="String">Unlimited</Data></Cell>

<Cell><Data ss:Type="String">weapons/vehicle/rocket</Data></Cell>

<Cell ss:StyleID="s64"><Data ss:Type="String">Item.Dispose.Destroyed</Data></Cell>

</Row>

<Row ss:AutoFitHeight="0">

<Cell><Data ss:Type="String">VV.FLARE</Data></Cell>

<Cell><Data ss:Type="Number">1000</Data></Cell>

<Cell><Data ss:Type="String">Unlimited</Data></Cell>

<Cell><Data ss:Type="String">weapons/vehicle/rocket</Data></Cell>

<Cell ss:StyleID="s71"><Data ss:Type="String">Item.Dispose.Destroyed</Data></Cell>

</Row>

To gsgcitemtranslator add:

<Row ss:AutoFitHeight="0">

<Cell><Data ss:Type="String">VV.SMOKEGRENADE</Data></Cell>

<Cell><Data ss:Type="String">Vehicle_smoke</Data></Cell>

</Row>

<Row ss:AutoFitHeight="0">

<Cell><Data ss:Type="String">VV.FLARE</Data></Cell>

<Cell><Data ss:Type="String">Vehicle_flare</Data></Cell>

</Row>

To gas_gc add:

<GasType name="GrenadeSmoke">

<Anim name="particles/lightsmoke/lightsmoke" />

<Props damage="0" stunDamage="2" dissipationChance="40" accuracyReduction="20" LOSReduction="3" />

</GasType>

To add them both as options for the hunter:

To vehicles (not vehicles_gc) add a new line:

<Cell><Data ss:Type="String">VV.SMOKEGRENADE;VV.FLARE</Data></Cell>

just below this one:

<Cell><Data ss:Type="String">VV.ROCKET;VV.MACHINEGUN;VV.SCLASE R</Data></Cell>

I have no idea how this will affect save games etc so always back up your current files before making any changes.

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...