Version 0.0.4 is uploading as I type this, the mod portal seems to be a bit glitched today.LethargicChii wrote:Hello modding community! I have never created a mod before, but, I am about to try! I was wondering if someone might help me out with this.
Idea: I'd like to create a turret that fires Rocket, Explosive Rocket, and MAYBE Atomic Bomb (Because why not? *It can even give a game message that says: !WARNING! You have placed nuclear missile(s) into an automatic turret: User Death and/or Equipment damage may occur. !WARNING!)
The idea is to keep it balanced, minus the Atomic Bomb part, as that's probably not going to be balanced no matter what. I realize that rockets hone in and can fire too close and damage/destroy the turret. My idea was to set the turret radius much like the flame turret and give them substantial resistance to explosives to help mitigate self harm or destruction of other rocket turrets. I don't want them to replace laser turrets much like laser turrets replace gun turrets. I want them to work alongside laser turrets or be equivalent in choice so that the player can choose either or to produce and use and still be happy.
Resupply: This brings along the issue of ammo resupply. I was thinking allowing them to request rockets from the logistics system, but, from the games I've played, it's just far easier to place 10 laser turrets in a line and call it good rather then link up belts, or place a ton of roboports to make a supply line for distant turrets. Another idea I had was to make a self replicating rocket... rocket turret variant. It sounds silly, so, naming suggestions welcome. This variant I'd like to be able to make it's own ammo if supplied with materials. This would give the player an idea to come up with some supply delivery system that's beneficial and not as much a pain as simply dumping gears / explosives off every 5 seconds. Maybe produce an item called "Rocket Pod" that costs the equivalent of 100 rockets and then set up a train stop to deliver these "pods" to the rockets, or a belt, or logi that will supply the turret with a full load. And/Or give the option of supplying it with a liquid instead to create the rockets. Main idea here is to give the player multiple options of supply so that it's not a pain and works with many different setups
Cost: I'd like to make them fairly expensive, but, possibly make a cheaper less effective variant that unlocks about the same time you unlock rockets. (Less radius, less range, lower fire rate, but, still effective enough to be worth while).
Goal: To make a balanced set of rocket firing turrets that REMAIN effective and USEFUL throughout the game stages with various supply options.
I'd love any help I can get, and anyone who wants to do sprites and animations for them please let me know, as I do not know how to do this. Otherwise I'm stuck for now with just recoloring the current turrets / using two images spliced together to make it look different lol...
EDIT: DONE!
And so here is version 0.0.3 with turrets that pretty much just fire rockets right now, none of the above awesome stuff mentioned. Side effect of ammo type set to rocket; They launch nukes... I don't recommend this.
https://mods.factorio.com/mods/Lethargi ... ket_turret
Many thanks to wodzu93's work. I studied his scattergun turrets to understand how turrets work and how to modify them. https://mods.factorio.com/mods/wodzu93/ ... gun_turret
The big changes right now are as follows:
- Limited range angle to .45 (Turret is no longer allowed to rotate outside of this range)
- Semi-Custom icon and technology graphics!
- Colored turret extension for easier differentiation between a regular gun turret and a Rocket Turret.
So let me go into a little about why I made these changes, and please, do let me know you idea's and or comments. I limited the range angle to .45 because I got to thinking about how people may place several of these close to their bases and I would feel terrible if some sort of misfire occurred and someones entire oil refinery setup is blown away. I was also killed by one when running from biters, passing the turret, which turned and continued to fire now in the direction I was running.
If you like the 360 degree turrets let me know. I am currently attempting to utilize the mod settings to add a slider or number box to change the range angle, and range itself to whatever a player may want. Not sure if I can do this, but, I will try. It's currently a planned feature.
I hacked some of factorios graphics together to give the rocket turrets a unique icon, and technology graphic. I also recolored the turret extension mask (the top of the turret) So it's now far easier to find them in the gui and in the world. No more trash white technology graphic! Yay lol.
Please let me know if you like the changes, hate the changes, or don't care and just love putting nukes in them.
Planned features:
Mod Options for range settings
Nuclear Missile Launching Turret (that's safe to use) *I have an idea on how I might do this . Let me know if this is something you are interested in seeing.*
MK 1, 2, & 3 tiers for support of other mods (Not really support, but, to keep them in line with those mod's tiering) *PLEASE let me know if you would like these added either as base items, or as enabled only with such and such mod's.*
Needs Work:
More balancing/testing
Custom entity graphics
So that's that! Please let me know how you feel!
Edit: Mod Portal seems really bad right now so I'm going to attach a zip: