Flamethrower with overheating (+ some problems)

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
User avatar
Cubay
Posts: 4
Joined: Tue Feb 26, 2019 6:32 am
Projects :: No Mod project currently.
Games I'm Playing :: SWBFII Classic
xbox live or psn: No gamertag set
Location: Spain

Flamethrower with overheating (+ some problems)

Post by Cubay »

Hello there!

I'm working on a custom flamethrower (using boba's as a base) for a custom Incinerator Trooper. While editing the properties I managed to swamp the model by the mortar one and to increase it's range by a 50%.

I would want to change it so instead of using ammo, the weapon would overheat over time (like the clone commander's caingun), but I have no idea how to make it work.

I also have 2 more problems: Although, I could swap the model for the mortar one, the HUD still shows Boba's flamethrower. Finally, the increased range works in the game, but the flame particles only show in the standard range. Does anybody know how can I fix these problems?
FlatulentMoth
Recruit Womprat Killer
Posts: 12
Joined: Thu Nov 29, 2018 4:50 pm
Projects :: No Mod project currently
Games I'm Playing :: SWBFII SE
xbox live or psn: No gamertag set
Location: Yes

Re: Flamethrower with overheating (+ some problems)

Post by FlatulentMoth »

This should be pretty easy

1) open the ODF for the basic pistol

2) go to your flamethrower ODF and find the line labeled "rounds per clip" and set it to zero (this switches from having ammo to being able to overheat)

3) copy these three lines from the pistol odf to the flamethrower odf:
Hidden/Spoiler:
[code]
HeatPerShot = "0.175"
HeatRecoverRate = "0.3"
HeatThreshold = "0.25"
[/code]
4) feel free to set these values as you like
Post Reply