Page 1 of 1
Normal(new) flamethrower for tank
Posted: Tue Jul 10, 2018 1:46 am
by Lanceraad
Could anyone make a mod that replaces the old flamethrower attack that the tank has with the new one?
I'm not looking for new tanks or anything fancy, just the replacement of the attack animation and effect.
I know it was for balance reasons but I just want to have that awesome flamethrower on my tank.
If no one is interested maybe someone could tell me how to do it myself?
Re: Normal(new) flamethrower for tank
Posted: Tue Jul 10, 2018 7:23 am
by darkfrei
Lanceraad wrote:If no one is interested maybe someone could tell me how to do it myself?
- Download this mod viewtopic.php?f=135&t=45107
- Start the game
- Open log file with Notepad++ https://notepad-plus-plus.org
- Read the prototypes of flamethrower, tank and flamethrower fuel
- Write the mod, where you add new tank or new weapon or just add to old weapon new category.
- (Search same mods on mod portal, if nobody has made it or your is better, then) add your mod to the modportal.
Re: Normal(new) flamethrower for tank
Posted: Tue Jul 10, 2018 11:46 am
by eradicator
darkfrei wrote:
- (Search same mods on mod portal, if nobody has made it or your is better,
That should be the first step, not the last
If you want something old back your best bet is to download the old version of factorio and copy it from there.
Re: Normal(new) flamethrower for tank
Posted: Tue Jul 10, 2018 12:51 pm
by Lanceraad
eradicator wrote:darkfrei wrote:
- (Search same mods on mod portal, if nobody has made it or your is better,
That should be the first step, not the last
If you want something old back your best bet is to download the old version of Factorio and copy it from there.
I searched the mod portal before posting, but there are only replacement tanks
I don't want to return something old. The tank still uses the old flamethrower, I want the new and improved one in the tank.
Re: Normal(new) flamethrower for tank
Posted: Tue Jul 10, 2018 9:40 pm
by darkfrei
Lanceraad wrote:I searched the mod portal before posting, but there are only replacement tanks
I don't want to return something old. The tank still uses the old flamethrower, I want the new and improved one in the tank.
It's interesting, the vanilla tank has also flamethrower weapon.
Code: Select all
data.raw.car.tank.guns[1] = "tank-cannon"
data.raw.car.tank.guns[2] = "tank-machine-gun"
data.raw.car.tank.guns[3] = "tank-flamethrower"
Re: Normal(new) flamethrower for tank
Posted: Tue Jul 10, 2018 9:50 pm
by eradicator
Code: Select all
data.raw.ammo['flamethrower-ammo'].ammo_type[2].action = data.raw.ammo['flamethrower-ammo'].ammo_type[1].action
Should make the tank work like the handheld thing.
If you want further changes you'll have to edit 'tank-flamethrower-fire-stream' or the flamthrower ammunition.