When playing online every player got some sectors wich always be kept alive. The order wich sectors will be alive is hardcoded. It would be awesome for modders to be able to change the order.
The reason is simple: When you got many stations in different sectors you do not need all the secors to be up because the production will be calculated when the sector gets restored from disk. But your salvage ship in another sector does not keep the sector alive, you have to calculate how many ships you need there to make its score bigger then the stations in other sectors. This is only one example, there are many situations where I wished I could modify it.
Some examples what Im thinking of.
Manually define the sector score.
function getSectorUpkeepScore(Entities, Player) local score = 0
for _,entity in pairs(Entities)
if entity.factionIndex == Player.index then
if entity.hasScript("salvage.lua") then
score = score + 5
end
-- do some more stuff
end
end
end
Manually define the entities score
function getEntityUpkeepScore(Entity, Player)
-- Calculate entity score
end
Also it would be great to see wich sectors are alive.
Player():getAliveSectors()
-- or
Server():getAliveSectors(playerIndex)
Suggestion
Hammelpilaw
When playing online every player got some sectors wich always be kept alive. The order wich sectors will be alive is hardcoded. It would be awesome for modders to be able to change the order.
The reason is simple: When you got many stations in different sectors you do not need all the secors to be up because the production will be calculated when the sector gets restored from disk. But your salvage ship in another sector does not keep the sector alive, you have to calculate how many ships you need there to make its score bigger then the stations in other sectors. This is only one example, there are many situations where I wished I could modify it.
Some examples what Im thinking of.
Manually define the sector score.
Manually define the entities score
Also it would be great to see wich sectors are alive.
Link to comment
Share on other sites
Top Posters For This Question
23
19
9
7
Popular Days
Jul 22
3
Jul 24
3
Aug 28
3
Aug 30
3
Top Posters For This Question
Rinart73 23 posts
Sathaerz 19 posts
Bubbet 9 posts
Shrooblord 7 posts
Popular Days
Jul 22 2018
3 posts
Jul 24 2018
3 posts
Aug 28 2019
3 posts
Aug 30 2018
3 posts
Popular Posts
Hammelpilaw
When playing online every player got some sectors wich always be kept alive. The order wich sectors will be alive is hardcoded. It would be awesome for modders to be able to change the order. The
Sandworm
This answer is from 7 years ago. QueryPerformanceCounter has been around since WinXP. In fact, I can't find any common OS /Language that doesn't support microsecond timing.
koonschi
local generator = AsyncPirateGenerator() generator.pirateLevel = my_desired_pirate_level This is all you need to modify the pirate level.
95 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