Normal(new) flamethrower for tank

This is the place to request new mods or give ideas about what could be done.
Lanceraad
Burner Inserter
Burner Inserter
Posts: 5
Joined: Fri May 15, 2015 5:34 pm
Contact:

Normal(new) flamethrower for tank

Post 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?
User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2905
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: Normal(new) flamethrower for tank

Post 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.
User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5207
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: Normal(new) flamethrower for tank

Post 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 :lol:

If you want something old back your best bet is to download the old version of factorio and copy it from there.
Lanceraad
Burner Inserter
Burner Inserter
Posts: 5
Joined: Fri May 15, 2015 5:34 pm
Contact:

Re: Normal(new) flamethrower for tank

Post 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 :lol:

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.
User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2905
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: Normal(new) flamethrower for tank

Post 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" 
Attachments
2018-07-10 23_50_14-Factorio 0.16.51.png
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
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
2018-07-10 23_48_51-Factorio 0.16.51.png (65.77 KiB) Viewed 2639 times
User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5207
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: Normal(new) flamethrower for tank

Post 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.
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.
Post Reply

Return to “Ideas and Requests For Mods”