How to convert weapon from using ammo to heat

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

How to convert weapon from using ammo to heat

Post by AQT »

This is for anyone who wants to make a weapon use heat instead of ammo (and possibly vice versa). Using the settings and formula below, your weapon's stats will virtually stay the same (aside from now using heat, of course). All you need are the weapon's ReloadTime, RoundsPerClip, and ShotDelay to calculate the HeatRecoverRate and HeatPerShot. However, HeatThreshold will always be 0.0.
Hidden/Spoiler:
Image
And here are the notes on the derivation for anyone who is interested:
Hidden/Spoiler:
HeatThreshold will always be 0.0.

Given a weapon's RoundsPerClip and ShotDelay, it will take RoundsPerClip*ShotDelay seconds to fire all rounds nonstop.

If TotalHeat is 1.0, then OldHeatPerShot is 1.0/RoundsPerClip.

HeatRecoveryRate is 1.0/ReloadTime per second, so it is necessary to calculate HeatPerSecond.

It takes 1.0 seconds to shoot 1.0/ShotDelay rounds, using 1.0/(RoundsPerClip*ShotDelay) HeatPerSecond.

It is necessary that NewHeatPerSecond be HeatPerSecond+HeatRecoveryRate.

Once calculated, NewHeatPerSecond/(1.0/ShotDelay) is the desired HeatPerShot.

Putting it all together:

HeatPerShot = NewHeatPerSecond/(1.0/ShotDelay)

HeatPerShot = (HeatPerSecond+HeatRecoveryRate)/(1.0/ShotDelay)

HeatPerShot = ((1.0/(RoundsPerClip*ShotDelay))+HeatRecoveryRate)/(1.0/ShotDelay)

HeatPerShot = ((1.0/(RoundsPerClip*ShotDelay))+HeatRecoveryRate)*(ShotDelay/1.0)

HeatPerShot = ((1.0/RoundsPerClip)+(ShotDelay*HeatRecoveryRate))
ARCTroopaNate
Jedi
Jedi
Posts: 1161
Joined: Mon Mar 21, 2011 8:12 pm
Projects :: Star Wars Battlefront - Tides of War
Games I'm Playing :: SWBF2 RC EAW
xbox live or psn: I have ps4
Location: STALKER!
Contact:

Re: How to convert weapon from using ammo to heat

Post by ARCTroopaNate »

Nice AQT, I think this should be stickied in the FAQ.
SkinnyODST
Lieutenant Colonel
Lieutenant Colonel
Posts: 545
Joined: Mon Jul 04, 2016 10:56 pm
Location: My other account
Contact:

Re: How to convert weapon from using ammo to heat

Post by SkinnyODST »

VERY useful! I`ve always liked weapons that use heat instead of ammo. It makes you concentrate harder on hitting your shots rather than just spray and praying until you just pop another magazine in.
Post Reply