[Request] Upgrade turret range

This is the place to request new mods or give ideas about what could be done.
fregate84
Fast Inserter
Fast Inserter
Posts: 235
Joined: Sun Jun 22, 2014 10:56 am
Contact:

[Request] Upgrade turret range

Post by fregate84 »

Hello,

i'm looking for a mod who upgrade the turret range of vanillia turret. (not adding some turret, but add turret range bonus to vanillia turret).
British_Petroleum
Filter Inserter
Filter Inserter
Posts: 321
Joined: Tue Dec 23, 2014 7:21 am
Contact:

Re: [Request] Upgrade turret range

Post by British_Petroleum »

Bobs warfare adds higher level gun turrets, same as vanilla turrets but with more range and damage. But I guess you want a tech that'll upgrade range of vanilla turrets?
fregate84
Fast Inserter
Fast Inserter
Posts: 235
Joined: Sun Jun 22, 2014 10:56 am
Contact:

Re: [Request] Upgrade turret range

Post by fregate84 »

yes, i want it for vanilla, because I can stop the mod any time without loosing all the turrets !
kallerdaller
Burner Inserter
Burner Inserter
Posts: 10
Joined: Sat Jul 16, 2016 7:28 pm
Contact:

Re: [Request] Upgrade turret range

Post by kallerdaller »

Do you want it in research or just upgraded and how far do you want it to be increased by?
fregate84
Fast Inserter
Fast Inserter
Posts: 235
Joined: Sun Jun 22, 2014 10:56 am
Contact:

Re: [Request] Upgrade turret range

Post by fregate84 »

In research.
And 3 or 4 upgrades to go to twice the original range
kallerdaller
Burner Inserter
Burner Inserter
Posts: 10
Joined: Sat Jul 16, 2016 7:28 pm
Contact:

Re: [Request] Upgrade turret range

Post by kallerdaller »

Okay, I'm currently on version 0.12 and cant be bothered to upgrade to 0.13. On version 12 I cannot get it to work. I don't know if you could on 0.13 however I know you can on 0.11. Sorry dude. Unless... I added more gun turrets into the game which when researched it unlocks the recipe for the gun turret and you take the original gun turret and it takes 0.5 to craft it. Thats the only way I see possible on 12 and 13.
User avatar
DedlySpyder
Filter Inserter
Filter Inserter
Posts: 253
Joined: Fri Jun 20, 2014 11:42 am
Contact:

Re: [Request] Upgrade turret range

Post by DedlySpyder »

Prototypes (the code that tells the turret how to be turret) can't be changed after the game starts. So the best way to do it would be to automatically swap the turrets to a new one with the correct range and back as needed. So, no this isn't really something that can happen AFAIK
kallerdaller
Burner Inserter
Burner Inserter
Posts: 10
Joined: Sat Jul 16, 2016 7:28 pm
Contact:

Re: [Request] Upgrade turret range

Post by kallerdaller »

^^ Yeah and there isnt a technology research type which can increase the range. However I believe with advanced LUA you could in 0.11
User avatar
DedlySpyder
Filter Inserter
Filter Inserter
Posts: 253
Joined: Fri Jun 20, 2014 11:42 am
Contact:

Re: [Request] Upgrade turret range

Post by DedlySpyder »

kallerdaller wrote:^^ Yeah and there isnt a technology research type which can increase the range. However I believe with advanced LUA you could in 0.11
Maybe, I didn't mod back then, things have changed a lot since then (0.12 reworked a lot of internal stuff)
orzelek
Smart Inserter
Smart Inserter
Posts: 3923
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: [Request] Upgrade turret range

Post by orzelek »

DedlySpyder wrote:
kallerdaller wrote:^^ Yeah and there isnt a technology research type which can increase the range. However I believe with advanced LUA you could in 0.11
Maybe, I didn't mod back then, things have changed a lot since then (0.12 reworked a lot of internal stuff)
You can fiddle around with replacing of entities to get this effect in a scripted way.
It's much more problematic and doesn't really count as an upgrade - you need to replace old entities with new upgraded ones.
And then if you have 2 upgrades for example you need entity for each combination.

If you want to see how it can be done take a look at Big Brother mod - it does this with radars.
User avatar
DedlySpyder
Filter Inserter
Filter Inserter
Posts: 253
Joined: Fri Jun 20, 2014 11:42 am
Contact:

Re: [Request] Upgrade turret range

Post by DedlySpyder »

orzelek wrote:You can fiddle around with replacing of entities to get this effect in a scripted way.
It's much more problematic and doesn't really count as an upgrade - you need to replace old entities with new upgraded ones.
And then if you have 2 upgrades for example you need entity for each combination.

If you want to see how it can be done take a look at Big Brother mod - it does this with radars.
You can definitely do it in a hacky way, but the mod asked for by this thread was specifically one that could be turned off without removing all of the turrets, so replacing the base turrets would lead to their removal. Hm, maybe we need exit scripts for mods?
orzelek
Smart Inserter
Smart Inserter
Posts: 3923
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: [Request] Upgrade turret range

Post by orzelek »

DedlySpyder wrote:
orzelek wrote:You can fiddle around with replacing of entities to get this effect in a scripted way.
It's much more problematic and doesn't really count as an upgrade - you need to replace old entities with new upgraded ones.
And then if you have 2 upgrades for example you need entity for each combination.

If you want to see how it can be done take a look at Big Brother mod - it does this with radars.
You can definitely do it in a hacky way, but the mod asked for by this thread was specifically one that could be turned off without removing all of the turrets, so replacing the base turrets would lead to their removal. Hm, maybe we need exit scripts for mods?
It's also the reasone why Klonan dropped the colorful laser turrets based on upgrade level.
You would need a remote call in the mod to call to revert to base version and then remove the mod.

Entity swapping is a trick that works but is very fiddly.
I would hope that we can get at least range and resistance upgrades from devs as properties like current damage/rof upgrades.
squirrel
Manual Inserter
Manual Inserter
Posts: 3
Joined: Wed Aug 12, 2015 8:45 pm
Contact:

Re: [Request] Upgrade turret range

Post by squirrel »

is there a console command to change the range of turrets?
orzelek
Smart Inserter
Smart Inserter
Posts: 3923
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: [Request] Upgrade turret range

Post by orzelek »

squirrel wrote:is there a console command to change the range of turrets?
It doesn't work like that.
Range is a property of entity thats immutable while game is running.
squirrel
Manual Inserter
Manual Inserter
Posts: 3
Joined: Wed Aug 12, 2015 8:45 pm
Contact:

Re: [Request] Upgrade turret range

Post by squirrel »

shame noones made a range upgrade mod for the turrets its needed in my opinion
Post Reply

Return to “Ideas and Requests For Mods”