Log in to reply
 

What file do I need to edit other than weapons.meta to fix the Lame Grenade and Molotov throwing distances?



  • As the title asks,

    What file do I need to edit other than weapons.meta to fix the Lame Grenade and Molotov throwing distances?

    I have hand edited this to basically mirror all the settings for the Sticky Bomb but still have the "girlie" throw with the Grenades and Molotov's. I can toss a Sticky Bomb 10+ blocks but a grenade only about 20-40 ft?

    2SFGMadman



  • Sorry for the bandwidth. Found some other entry info for the grenades and they now behave the same as the Sticky Bomb. Just have to sort the Molotov.. Consider this closed..

    2SFGMadman


  • MODERATOR

    Mind sharing the how and what so we all learn? :pray_tone2:



  • @ReNNie I can a bit later. I will have to do a old vs modded file comparison in Pilot Edit and note the changes. It's around 8-10 things that are different than the sticky bomb.. Will update a bit later, there is a Thrown Weapon Ammo component and a Thrown Weapon component to the changes..

    2SFGMadman



  • @ReNNie Here is the Grenade modded and the original info. The Modded info Mirrors most of the Sticky Bomb in the Weapons.meta file.

    Changes to get the thrown distance of these 2 on par with the Sticky Bomb. (Hand Grenade, Molotov)

    <Item type="CAmmoThrownInfo">
    <Name>AMMO_GRENADE</Name>
    Modded Value Original Value
    <LaunchSpeed value="500.000000" /> <LaunchSpeed value="25.000000" />
    <ThrownForce value="500.000000" /> <ThrownForce value="0.000000" />
    <ThrownForceFromVehicle value="500.000000" /> <ThrownForceFromVehicle value="5.000000" />
    ---------- END OF AMMO CHANGES --------------

    <Item type="CWeaponInfo">
    <Name>WEAPON_GRENADE</Name>
    Modded Value Original Value
    <Force value="500.000000" /> <Force value="0.000000" />
    <ForceHitPed value="500.000000" /> <ForceHitPed value="0.000000" />
    <ForceHitVehicle value="500.000000" /> <ForceHitVehicle value="0.000000" />
    <ForceHitFlyingHeli value="500.000000" /> <ForceHitFlyingHeli value="0.000000" />
    <ForceFalloffRangeStart value="500.000000" /> <ForceFalloffRangeStart value="0.000000" />
    <ForceFalloffRangeEnd value="510.000000" /> <ForceFalloffRangeEnd value="50.000000" />
    <ForceFalloffMin value="0.000001" /> <ForceFalloffMin value="1.000000" />
    <ProjectileForce value="500.000000" /> <ProjectileForce value="10.000000" />
    <Penetration value="0.100000" /> <Penetration value="0.000000" />
    <DropForwardVelocity value="0.000000" /> <DropForwardVelocity value="8.000000" /> Note: In the Sticky Bomb this is already "0.000000"
    <Speed value="1000.000000" /> <Speed value="2000.000000" />
    <LockOnRange value="240.000000" /> <LockOnRange value="24.000000" />
    <WeaponRange value="500.000000" /> <WeaponRange value="30.000000" />
    <AmmoDiminishingRate value="1" /> <AmmoDiminishingRate value="3" />
    ---------- End of weapon Changes --------------

    These same changes will work the same with the Molotov. Once the Molotov gets beyond a certain
    distance though you will see the smoke but no fire. If it hits a destroyable item it usually still
    blows up. I'll be tweaking them as I play...

    Have fun...

    2SFGMadman



  • After some play, setting the "ThrownForce value" to 400 and the "Speed value" to 800 put's all throws on target with the white targeting dot when you hold down the right mouse button. I will probably leave it set this way.

    Have Fun

    2SFGMadman



  • @2SFGMadman said in What file do I need to edit other than weapons.meta to fix the Lame Grenade and Molotov throwing distances?:

    Speed

    "Speed" is the only line I should change in order to make the rpg rockets go faster?


  • Banned

    necro


Log in to reply
 

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.