Ethentianknight Posted May 18, 2016 Share Posted May 18, 2016 When starting a server, it would be useful to have the spawn sector be free of pirates and have pvp/ collision damage in that sector disabled. Without going too far into detail, is this possible in the demo via script gymnastics? Link to comment Share on other sites More sharing options...
0 Boxelware Team koonschi Posted May 18, 2016 Boxelware Team Share Posted May 18, 2016 Free of pirates yes, free of damage no. You'll have to modify the start sector script as well as some player scripts so they won't spawn enemies. Link to comment Share on other sites More sharing options...
0 Aki Posted May 18, 2016 Share Posted May 18, 2016 For pirates just open data/scripts/startsector.lua find line Sector():addScript("data/scripts/sector/events.lua", "events/pirateattack.lua") change to Sector():addScript("data/scripts/sector/events.lua") And it should work. For ayy lmaos in data/scripts/player/attack.lua if Server().difficulty == Difficulty.Insane then updateSuperAction() else updateNormal() end change to if Server().difficulty == Difficulty.Insane then updateSuperAction() else local x,y = Sector():getCoordinates() if x ~= -139 or y ~= 427 then updateNormal() end end Note that you will need to change -139 and 427 to your home sector coordinates. Link to comment Share on other sites More sharing options...
Suggestion
Ethentianknight
When starting a server, it would be useful to have the spawn sector be free of pirates and have pvp/ collision damage in that sector disabled.
Without going too far into detail, is this possible in the demo via script gymnastics?
Link to comment
Share on other sites
2 answers to this suggestion
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