Jump to content

Recommended Posts

Posted (edited)

Good afternoon Vintarians,

I am on a quest of learning C# and have a number of Modding Ideas I have in mind to begin developing after a bit more of foundational studying of the C# language. I have one mod in mind that needs to access the "playerLives" setting that is present during World Creation. i can't seem to locate it in any of Vintage Story's code on GitHub and am at a loss for how to call this info for my manipulation.
The reason I'm trying to call it is because of the following:
- To change the value of playerLives,
- To Display the current value of playerLives to the Player in a HUD whether through text or some sort of art or icons,
- To be able to be called and modified individually for each player on a multiplayer server. Set with a default and then being able to be modified in-game with a Modded item;

Any help is much appreciated :) I think you kindly in advance.

EDIT: I tried asking in the Discord server but was receiving no help, (I'm not entitled to receiving help, so I don't mind of course) so I thought I'd try my luck on the forums :)

Edited by Enjen
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.