idolord Posted February 2, 2017 Share Posted February 2, 2017 helo everyone :) is there a way to acces/modify the base turret range (to affect every turrets), i'v been digging for it and all i'v been able to find is an obscure modifier for station turrets under lib/shiputility.lua local turret if entity.isStation then -- stations get turrets with highest reach <= !! this is not increasing aniting as i understand it, it get the higher range from turret and apply it tu any other turrets ... local currentReach = 0.0 for i, t in pairs(turrets) do for j = 0, t.numWeapons - 1 do local reach = t.reach if reach > currentReach then currentReach = reach turret = t end end end else -- ships get random turrets <= !! no modification done to turrets range !! turret = turrets[math.random(1, #turrets)] end any clue ? the aim is just to increase the overall range for turrets as i dont get why laser or kinetic weapon should have a range in space anyway same with other exept maybe for the tesla one ... <= cf: newton first law of motion Link to comment Share on other sites More sharing options...
SpeedBreaker Posted February 3, 2017 Share Posted February 3, 2017 i want increase baserange, too :( mining and salvage is to low Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now