[X] I have searched to ensure that my feature request is not a duplicate
[X] My feature request will benefit the general community (i.e. it is not better off as a standalone mod)
Describe your feature
Add a new Player? MainPlayer property to the world scene. This would point to a single player actor instance. Then replace all Get<Player>() calls where relevant.
Give player actors the following properties:
bool Active (if false, silences all updates)
bool ReceiveInput (controls input code)
bool DoInteractions (controls interactions like springs, pickups, breakable blocks)
bool DoPhysics (controls player movement physics)
Why should we implement this?
These changes would get rid of the one-player assumption of the game allowing for more predictable behaviour with multiple players. Modders would be able to get a lot more potential out of using the player actor for things like multiplayer mods, fancy player clone gameplay, etc.
Optional
[ ] I will open (or have already opened) a pull request that implements this feature.
This is sort of already half done in 90d3b971c758989ef6f8ed877d2e0d0df36bdbec but I'm probably gonna do the rest later because the player actor is incredibly complex
Please confirm the following
Describe your feature
Add a new
Player? MainPlayer
property to the world scene. This would point to a single player actor instance. Then replace allGet<Player>()
calls where relevant.Give player actors the following properties:
bool Active
(if false, silences all updates)bool ReceiveInput
(controls input code)bool DoInteractions
(controls interactions like springs, pickups, breakable blocks)bool DoPhysics
(controls player movement physics)Why should we implement this?
These changes would get rid of the one-player assumption of the game allowing for more predictable behaviour with multiple players. Modders would be able to get a lot more potential out of using the player actor for things like multiplayer mods, fancy player clone gameplay, etc.
Optional