Empyrion API questions

Discussion in 'Empyrion API' started by shinooni, Jun 14, 2018.

  1. shinooni

    shinooni Ensign

    Joined:
    Sep 13, 2016
    Messages:
    23
    Likes Received:
    3
    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
     
    #1
    Last edited: Jun 26, 2018
  2. Exacute

    Exacute Rear Admiral

    Joined:
    Feb 17, 2017
    Messages:
    456
    Likes Received:
    307
  3. Exacute

    Exacute Rear Admiral

    Joined:
    Feb 17, 2017
    Messages:
    456
    Likes Received:
    307
  4. Jascha

    Jascha Administrator

    • Moderator
    Joined:
    Jan 22, 2016
    Messages:
    1,141
    Likes Received:
    713
    #4
  5. shinooni

    shinooni Ensign

    Joined:
    Sep 13, 2016
    Messages:
    23
    Likes Received:
    3
    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?
     
    #5
  6. Exacute

    Exacute Rear Admiral

    Joined:
    Feb 17, 2017
    Messages:
    456
    Likes Received:
    307
    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.
     
    #6
  7. shinooni

    shinooni Ensign

    Joined:
    Sep 13, 2016
    Messages:
    23
    Likes Received:
    3
    I'm assuming this means by extension you cant use that to duplicate the item for different state between two same tier weapons
     
    #7
  8. Exacute

    Exacute Rear Admiral

    Joined:
    Feb 17, 2017
    Messages:
    456
    Likes Received:
    307
    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.
     
    #8
  9. shinooni

    shinooni Ensign

    Joined:
    Sep 13, 2016
    Messages:
    23
    Likes Received:
    3
    Also judging by the wiki there is no way to tell whether an entity has been damaged or to damage an entity correct?
     
    #9
  10. Exacute

    Exacute Rear Admiral

    Joined:
    Feb 17, 2017
    Messages:
    456
    Likes Received:
    307
    afaik, you are correct, yes.
    *Players are entities too, and you can obtain these stats on players however
     
    #10
  11. shinooni

    shinooni Ensign

    Joined:
    Sep 13, 2016
    Messages:
    23
    Likes Received:
    3
    So player health can be queried but any other entity is blackbox and there is no real control over it
    Just for clarification
     
    #11
  12. Exacute

    Exacute Rear Admiral

    Joined:
    Feb 17, 2017
    Messages:
    456
    Likes Received:
    307
    Afaik that is the case currently, yes.
    But the API is far from final. It gets some love once in a while ;)
     
    #12
  13. Xango2000

    Xango2000 Captain

    Joined:
    Jun 15, 2016
    Messages:
    385
    Likes Received:
    202
    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
     
    #13
    Exacute likes this.

Share This Page