Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate Random Wrecks upon visiting empty sectors. #2

Open
Joeppie opened this issue Dec 20, 2017 · 3 comments
Open

Generate Random Wrecks upon visiting empty sectors. #2

Joeppie opened this issue Dec 20, 2017 · 3 comments

Comments

@Joeppie
Copy link
Contributor

Joeppie commented Dec 20, 2017

What should the mod do?

Generate random wrecks and perhaps add in some pirates, when visiting what are otherwise empty sectors

How can the mod do this?

It can do so quite easily, by looking at the code of the AI, and boss swoks.

How does , or should, the mod conform to the gameplay requirements outlined in #1 ?

G1: Using the same logic as the AI/Boss swoks.
G2 Vanilla scaling for wrecks/pirates, perhaps the pirates should be a bit harder.
G3: A band of players should be capable of more quickly triggering the event. Also, detect if in alliance ship, if so, make the event harder, depending on amount of alliance players online?

@Joeppie
Copy link
Contributor Author

Joeppie commented Dec 21, 2017

Addendum: how do we clean up the wrecks when the sector is left?

@FlesHBoX
Copy link

Would it be necessary to remove the wrecks after a player leaves? Would it be possible to search for existing wreckage after a player leaves, and schedule a cleanup after a few days? That way a player doesn't feel the need to salvage as much as possible before leaving, for fear of losing out.

Also, does the game differentiate between generic wreckage and a player's ship that was destroyed by the pirates? Would really suck if they died there, and when they got back, their old ship is gone because the mod cleaned it up with the other wreckage.

@Joeppie
Copy link
Contributor Author

Joeppie commented Dec 22, 2017

@FlesHBoX
We may instead go with the sector re-generation idea, where a process runs continually iterating through all possible sectors and if hidden sector, regenerates if it has been long enough that a player last visited it, and was previously visited. This should refresh the server. Also, it may keep the save smaller by cleaning up truly messy sectors.

Edit: sector regeneration is very difficult to accomplish without putting it in place at the time that sectors are generated. Much like has been done with the mod that now regenerates asteroids.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants