I really only have one question at this stage. 1.GameEventData - EventType Variables is there a list of what Types there are? If not anyone know what the types are? Currently Disabled - Credit: Exacute verified by Jascha 2. Infact just all the function variables - Name, Type, Amount(actually Im pretty sure I can guess that one XD), PlayerID(How would even use this under the context of a gameevent unless its a return value), Flag. GameEventData is Currently Disabled - Credit: Exacute verified by Jascha 3. Is there a way to interface with the weapons to modify the parameters of the weapons and change item names Some can be modified like ammo and durability but not damage - Credit: Xango2000 and Exacute I will replace the question marks with the answers as each reach a complete solution. Thanks everyone
Generally refer to https://empyrion.gamepedia.com/Game_API_CmdId for API The gameventdata is afaik currently disabled however. @Jascha can confirm this is still the case?
Thanks for answers I have one more question: 3. Is there a way to interface with the weapons to modify the parameters of the weapons and change item names?
Short answer is : No Longer answer is: You can't do either by the API But you can change some of the stats of weapons/tools/... in the file 'Config.ecf' (default: config_example.ecf) You can't change names however.
I'm assuming this means by extension you cant use that to duplicate the item for different state between two same tier weapons
You cannot create custom blocks/weapons/etc, no. Atleast not yet (afaik, it's planned down the line). The config.ecf only allows you to *tweak* current stats.
Also judging by the wiki there is no way to tell whether an entity has been damaged or to damage an entity correct?
afaik, you are correct, yes. *Players are entities too, and you can obtain these stats on players however
So player health can be queried but any other entity is blackbox and there is no real control over it Just for clarification
Afaik that is the case currently, yes. But the API is far from final. It gets some love once in a while
Some things Can be changed with an API mod: Current ammo (can even go well beyond the ammo clip's size) Durability including the number of repairs left