SmartlyDressedGames / Unturned-3.x-Community

Community portion of the Unturned-3.x repo. If you have access to the source code you can find it here:
https://github.com/SmartlyDressedGames/Unturned-3.x/
85 stars 18 forks source link

Creation of a new SteamCall #361

Closed AnomolyAvery closed 6 years ago

AnomolyAvery commented 6 years ago

Currently PlayerLife.askView is client-sided.

I'm requesting you to create a SteamCall for PlayerLife.askView to allow us, developers, to alter the player's vision and hallucination status for creating more unique, gameplay-enhancing plugins.


[SteamCall]
public void askView(CSteamID steamID, byte amount, ... )
ConorJ18 commented 6 years ago

I feel like this would be good developers to code new plugins, for example an addition plugin: Getting addicted to things and then have hallucination effect.

This would not only give the game a better chance of being more fun attracting new players to different servers but it also brings out the survival (RP, PvE) out in the game.

Thanks for Readin👋 Conor

Kast2 commented 6 years ago

It would not be a bad idea, especially for Roleplay Servers. As owner of an RP server, however, I would like to see the possibility of introducing in the player the "unconscious" state, that is instead of dying immediately at the first gunfire but the player goes "to the ground" and before dying permanently can be helped through for example a medkit.

SDGNelson commented 6 years ago

Cool ideas! For the next update I've added a public method called sendHallucination in PlayerLife for this purpose.