API Feedback and Suggestions

Discussion in 'Empyrion API' started by Jascha, Mar 8, 2017.

  1. cmwhee

    cmwhee Commander

    Joined:
    Oct 31, 2016
    Messages:
    118
    Likes Received:
    72
    Hey guys, great progress

    I've looked at what you've got, and it seems like the swap and config manager should be pretty easy to build. I'm pretty excited because I've really wanted to start digging into empyrion mods for a while (I want to use your game as an RPG platform for my friends)

    If you put this on github I can submit a PR that takes care of 1a and 1b by Monday.... Or you know, if you just say, "ok" I can put it on github myself
     
    #21
  2. Jascha

    Jascha Administrator

    • Moderator
    Joined:
    Jan 22, 2016
    Messages:
    1,141
    Likes Received:
    713
    Yes please. Thats what the feedback is for.
     
    #22
    Daede, XeroTerragoth and Dietrich like this.
  3. joemorin73

    joemorin73 Captain

    Joined:
    Aug 24, 2016
    Messages:
    319
    Likes Received:
    170
    Some audit information. For example, for player deaths, who/what killed them. Modders can use it to generate death stats, kill stats and maybe even a Bounty system.
     
    #23
    Daede, Stinefelt, saadow and 2 others like this.
  4. Jascha

    Jascha Administrator

    • Moderator
    Joined:
    Jan 22, 2016
    Messages:
    1,141
    Likes Received:
    713
    That would be really great.
    I cant do it the next days, but if you want just send me the changes.
     
    #24
    XeroTerragoth and Dietrich like this.
  5. Jascha

    Jascha Administrator

    • Moderator
    Joined:
    Jan 22, 2016
    Messages:
    1,141
    Likes Received:
    713
    Look at the Event_Statistics
    It has a "PlayerDied" type.
    Here is the explanation to the values: // int1: player entity id, int2: death type(Unknown = 0, Projectile = 1, Explosion = 2, Food = 3, Oxygen = 4, Disease = 5, Drowning = 6, Fall = 7, Suicide = 8), int3 : (optional) other entity involved

    Only thing missing at the moment is the player who killed him.
     
    #25
  6. joemorin73

    joemorin73 Captain

    Joined:
    Aug 24, 2016
    Messages:
    319
    Likes Received:
    170
    Sorry, I'm reading the code, I can't try it.

    I see it now in the StatisticsType enum. This event occurs when a player dies? Then who killed would be all that is needed.

    Will there be any complications for the following scenarios?
    - Player killed by other Player (Hand gun)
    - Player killed by pilot player (Fixed guns on ship)
    - Player killed by pilot player (Turrets)
    - Player killed by Base (No player, no turrets)
     
    #26
    Daede and Jascha like this.
  7. joemorin73

    joemorin73 Captain

    Joined:
    Aug 24, 2016
    Messages:
    319
    Likes Received:
    170
    When making a mod, am I wrong in thinking the "tool" part is not needed? (IE, a headless mod.)
     
    #27
    Daede likes this.
  8. cmwhee

    cmwhee Commander

    Joined:
    Oct 31, 2016
    Messages:
    118
    Likes Received:
    72
    Rockin, would you mind adding a readme that specifies a license, preferably Apache 2. (https://www.apache.org/licenses/LICENSE-2.0)

    As the initial publisher, this should protect you like, in a bunch of ways, and it also enables me to say, "the only code I write is either for business, or on apache-licensed open source projects" which is awkwardly important to my job
     
    #28
    Dietrich likes this.
  9. Jascha

    Jascha Administrator

    • Moderator
    Joined:
    Jan 22, 2016
    Messages:
    1,141
    Likes Received:
    713
    Will do so thanks for the reminder!
     
    #29
  10. ButtonPusher

    ButtonPusher Captain

    Joined:
    Nov 8, 2016
    Messages:
    41
    Likes Received:
    24
    This news makes me very excited for the future of this game and for the loving community that plays it! Hooray! \o/
     
    #30
    Ermosp likes this.
  11. joemorin73

    joemorin73 Captain

    Joined:
    Aug 24, 2016
    Messages:
    319
    Likes Received:
    170
    @Jascha will you be focusing more on the game mod API with Eleon now? Or will you still be maintaining EAH?
     
    #31
  12. stimdealer0001

    stimdealer0001 Captain

    Joined:
    Sep 14, 2015
    Messages:
    159
    Likes Received:
    149
    I'd imagine modding and EAH are both pretty high priority for Jascha and the team.

    I would recommend starting up either a new section in the forums' main page for mods, or append one to the Hangar Bay, to include a section for non-modders with ideas to make suggestions and requests. Any thoughts?
     
    #32
  13. joemorin73

    joemorin73 Captain

    Joined:
    Aug 24, 2016
    Messages:
    319
    Likes Received:
    170
    I see EAH becoming a mod itself.

    Perhaps the Hangar bay could be expanded. Code/Game Mods vs Playfield mods.
     
    #33
  14. LiftPizzas

    LiftPizzas Rear Admiral

    Joined:
    Sep 28, 2015
    Messages:
    1,444
    Likes Received:
    2,574
    This sounds like a way to do remote server administration.

    Is this something where I could for example make a new weapon that behaves like the redeemer in Unreal Tournament? Or add a new NPC type and write its behavior AI?
     
    #34
    banksman45 and ButtonPusher like this.
  15. joemorin73

    joemorin73 Captain

    Joined:
    Aug 24, 2016
    Messages:
    319
    Likes Received:
    170
    I don't think you can make anything custom (NPC, blocks, etc.) at this time.
     
    #35
  16. Jascha

    Jascha Administrator

    • Moderator
    Joined:
    Jan 22, 2016
    Messages:
    1,141
    Likes Received:
    713
    The last month EAH was used to create the Mod. So we will further develop new functions wih the devs in EAH. But every function we develop is also directly included in this mod (its the same we use). So focus on EAH means focus on mod :).

    Just one thing to the maybe confusing name "Mod". So far its not altering the game itself in the sense of what many asked for. Like designing new items, AI-Behavior or "code/scripting". At the moment the mod can only work with game mechanics or game mechanics to come.

    So for example it might give you access one day to the block system to problematically create a ship, wall or whatever, without a blueprint. Or you could trigger certain behavior by coordinates or events. So it is a simple mod for now. But still allows you to change quite some things.

    But maybe one day the mod develops also into the direction of really scripting the game by yourself... but that lays in the future.

    The devs created the mod so that we can start and bring in our own ideas and allow more variety of server. But they need to focus on the game itself of course. So the mod will be extended bit by bit, but will not make extreme jumps every time (for now).

    I wrote it down. Thanks.
     
    #36
    banksman45 and joemorin73 like this.
  17. joemorin73

    joemorin73 Captain

    Joined:
    Aug 24, 2016
    Messages:
    319
    Likes Received:
    170
    I understand. Perhaps "Mod" may not be the correct term for this. This is very much an API. Perhaps referring it as the Game API or similar will help people's expectation of what they can do.
     
    #37
    banksman45 and ButtonPusher like this.
  18. ButtonPusher

    ButtonPusher Captain

    Joined:
    Nov 8, 2016
    Messages:
    41
    Likes Received:
    24
    Mod creators can and definitely will use this if implemented to utilize a wide variety of stats collected from tracking, in order to create their mod and facilitate its functions properly. An example would be oh, making a custom mission that allows a player to obtain an epic weapon after so many kills with that particular weapon type (i.e. epic sniper awarded to player on reaching 500 kills with either the T1 or T2 sniper rifle, regardless of which is used). Other examples could be had from this and also be used with / for certain Steam achievements etc.
     
    #38
  19. joemorin73

    joemorin73 Captain

    Joined:
    Aug 24, 2016
    Messages:
    319
    Likes Received:
    170
    @Jascha In the ModInterface, when is Game_Update triggered?
     
    #39
  20. dustinduse

    dustinduse Commander

    Joined:
    May 18, 2016
    Messages:
    31
    Likes Received:
    17
    So.. This is like a "tie into game expose an API" for modding kinda kit here? If so Ill jump the train although my C# knowledge is limited. Read through all this.. Has anyone started playing with this? What are the current limitations?... I guess what Im asking is there any documentation at all?
     
    #40

Share This Page