Jump to content

[MOD] Mining/Salvage Fighter Range Increase


JohnnySinclair

Recommended Posts

desc:

This modification doubbles the range of new generated Mining and Salvage Fighter from 0.75 to 1.50

 

credits:

LoSboccacc - his scriptcode to increase range of turrets

https://www.avorion.net/forum/index.php/topic,2571.msg13371.html#msg13371

 

install:

replace "..\Avorion\data\scripts\lib\fightergenerator.lua" with attached file

- serverside installation only, except you play singleplayer

- restart the server

 

Not really needed, but if you wish to modify the range by yourself:

 

 

- open the file with an editor, notepad++ recommended

- search for lines 57 and 60, change 2 in what ever you want

57 fighter.blength = fighter.blength * 2
60 fighter.reach = fighter.isBeam and fighter.blength * 2 or fighter.pvelocity*fighter.pmaximumTime

- btw. 1.50 km works really fine. You don't have to change that ;)

 

 

 

o/

Johnny

fightergenerator.zip

restore.zip

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...