drages Posted March 20, 2015 Share Posted March 20, 2015 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.. Quote Link to comment Share on other sites More sharing options...
Sentelin Posted March 20, 2015 Share Posted March 20, 2015 (edited) I believe Max did this while ago in his vehicle mod,so he can give you answer or ask him in PM (that is,if he still remembers).However it's more of "workaround than real solution for problem. Edited March 21, 2015 by Sentelin Quote Link to comment Share on other sites More sharing options...
Max_Caine Posted March 20, 2015 Share Posted March 20, 2015 (edited) 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 March 20, 2015 by Max_Caine Quote Link to comment Share on other sites More sharing options...
drages Posted March 21, 2015 Author Share Posted March 21, 2015 Thx max.. I used directly your code but still the explosion happens where the vehicle is. Quote Link to comment Share on other sites More sharing options...
Sentelin Posted March 21, 2015 Share Posted March 21, 2015 (edited) Max did this when game was in beta phase (V18-19),CE and official patches might introduced some changes which don't make this solution legitimate anymore. Edited March 21, 2015 by Sentelin Quote Link to comment Share on other sites More sharing options...
drages Posted March 21, 2015 Author Share Posted March 21, 2015 I fear it's true.. it ruined my vehicle plans.. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.