Page 1 of 1
[Mod 11.1] Hi-EX Tank shells
Posted: Thu Nov 06, 2014 9:35 pm
by thegreyman
Super Edit: This project was rolled into my other mod Tankwerkz Unlimted (c) at
https://forums.factorio.com/forum/vie ... =14&t=6751. Head over there for the latest and greatest!
I like the tank, but I was unhappy with the ammunition. The original tank round felt more like an Armor Piercing round, complete with being able to hit multiple foes in a line while dealing significant damage. Great for nests, bad for mobs.
Enter the Hi-EX tank shell. This shell explodes on contact with any object, still dealing decent impact damage to the target, but exploding over a much wider area, comparable to a Hi-ex rocket.
Edit: Thanks to cartmen180 and atgc for help and improvements
Version 0.2
Re: [Mod 11.1] Hi-EX Tank shells
Posted: Fri Nov 07, 2014 3:30 pm
by wanyfer
is there any way to have this mod on a game that is already running?
it wont appear on my current save that has the tank already unlocked but it seems if i re-do the research it will unlock
Re: [Mod 11.1] Hi-EX Tank shells
Posted: Fri Nov 07, 2014 3:40 pm
by thegreyman
I think running "/c game.player.force.resettechnologies()" from the console will help.
"/c game.player.force.resetrecipes()" is helpful when recipes change.
Re: [Mod 11.1] Hi-EX Tank shells
Posted: Fri Nov 07, 2014 4:06 pm
by LoSboccacc
does it replace the existing ammo or do you get a different item?
Re: [Mod 11.1] Hi-EX Tank shells
Posted: Fri Nov 07, 2014 4:49 pm
by thegreyman
New item. Cosmetically, it looks the same and appears right next to the old version.
Re: [Mod 11.1] Hi-EX Tank shells
Posted: Fri Nov 07, 2014 5:27 pm
by cartmen180
thegreyman wrote:I think running "/c game.player.force.resettechnologies()" from the console will help.
"/c game.player.force.resetrecipes()" is helpful when recipes change.
That won't do it. Include this in your data.lua:
Code: Select all
for index, force in pairs(game.forces) do
if force.technologies["tanks"].researched then
force.recipes["hiex-cannon-shell"].enabled = true
end
end
Re: [Mod 11.1] Hi-EX Tank shells
Posted: Fri Nov 07, 2014 10:27 pm
by atgc
Took the liberty of slapping another icon on it, waiting for something more professional.
Re: [Mod 11.1] Hi-EX Tank shells
Posted: Mon Nov 10, 2014 2:02 pm
by thegreyman
Thanks for the help and improvements guys. First mod, so I'm still learning! Version 0.2 is up.
Re: [Mod 11.1] Hi-EX Tank shells
Posted: Mon Nov 10, 2014 2:38 pm
by Airat9000
good man! good work! more arms in tank (ammo) , in compartible in other resout\rses (nickel . tungsten (bob mod))
Re: [Mod 11.1] Hi-EX Tank shells
Posted: Mon Nov 10, 2014 10:02 pm
by Stx3
make diferent aoe damage.