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?
Normal(new) flamethrower for tank
Re: Normal(new) flamethrower for tank
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.
- eradicator
- Smart Inserter
- Posts: 5207
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: Normal(new) flamethrower for tank
That should be the first step, not the lastdarkfrei wrote:
- (Search same mods on mod portal, if nobody has made it or your is better,
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
I searched the mod portal before posting, but there are only replacement tankseradicator wrote:That should be the first step, not the lastdarkfrei wrote:
- (Search same mods on mod portal, if nobody has made it or your is better,
If you want something old back your best bet is to download the old version of Factorio and copy it from there.
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
It's interesting, the vanilla tank has also flamethrower weapon.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.
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"
- Attachments
-
- 2018-07-10 23_50_14-Factorio 0.16.51.png (140.4 KiB) Viewed 2639 times
-
- 2018-07-10 23_47_35-Factorio 0.16.51.png (149.16 KiB) Viewed 2639 times
-
- 2018-07-10 23_48_51-Factorio 0.16.51.png (65.77 KiB) Viewed 2639 times
- eradicator
- Smart Inserter
- Posts: 5207
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: Normal(new) flamethrower for tank
Code: Select all
data.raw.ammo['flamethrower-ammo'].ammo_type[2].action = data.raw.ammo['flamethrower-ammo'].ammo_type[1].action
If you want further changes you'll have to edit 'tank-flamethrower-fire-stream' or the flamthrower ammunition.
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.