several generic source events

Discussion in 'Support' started by skulk_on_dope, Jan 28, 2008.

  1. skulk_on_dope

    skulk_on_dope Member

    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    0
    Hi,
    is it possible that some generic source events are not used in empires.

    I'm searching for something like player_shoot, player_class and player_score
     
  2. Krenzo

    Krenzo Administrator

    Messages:
    3,771
    Likes Received:
    0
    Trophy Points:
    0
    I don't use any of those events.
     
  3. skulk_on_dope

    skulk_on_dope Member

    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    0
    thats my problem...

    but why dont u use them ?
     
    Last edited: Jan 29, 2008
  4. [SEk2000]Blackhawk

    [SEk2000]Blackhawk Member

    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    0
    Hmm, let's get it this side:
    Could you please lift the secrets of Empires events? Are there any informations available we could use?
     
  5. Solokiller

    Solokiller Member

    Messages:
    4,861
    Likes Received:
    7
    Trophy Points:
    0
    Like i've said before, there isn't much info available regarding events, all the ones i know of are in the FGD, and they don't cover player events. I don't see why you'd want to record when a player shoots a certain weapon.
     
  6. Caelo

    Caelo Member

    Messages:
    2,371
    Likes Received:
    5
    Trophy Points:
    0
    except for stats tracking but that's just a stupid thing to make for empires...
     
  7. Solokiller

    Solokiller Member

    Messages:
    4,861
    Likes Received:
    7
    Trophy Points:
    0
    I can already see it:
    Player: emp_recruit
    shots: over 9000
    kills: 0
    last sentence: how to get ammoz?
     
  8. Caelo

    Caelo Member

    Messages:
    2,371
    Likes Received:
    5
    Trophy Points:
    0
    minutes spend in CV underwater: 4
     
  9. [SEk2000]Blackhawk

    [SEk2000]Blackhawk Member

    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    0
    Oh Boys, think about it again....

    Maybe we would like to know
    - who was Commander how long
    - who drived the CV into water?
    - who tried to lay down mines at the CV
    - Who uses team resources most usefull?

    There are many reasons someone want to mess around with this data. Only because someone don't know what might be possible won't make it a bad idea.
     
  10. [SEk2000]Blackhawk

    [SEk2000]Blackhawk Member

    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    0
    Krenzo,

    any chance for help on this?
     
  11. Krenzo

    Krenzo Administrator

    Messages:
    3,771
    Likes Received:
    0
    Trophy Points:
    0
    I'm not planning on adding a bunch of generic events unless there's a good reason to.
     
  12. skulk_on_dope

    skulk_on_dope Member

    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    0
    and these are not good enough ?
     
  13. Krenzo

    Krenzo Administrator

    Messages:
    3,771
    Likes Received:
    0
    Trophy Points:
    0
    Go into specifics on what events you would need to get those. Events are broadcast to everyone, and if you create an event every time someone drops a mine, that's going to use up bandwidth. I wouldn't have a problem with something small like an event when someone enters/exits the CV.
     
  14. skulk_on_dope

    skulk_on_dope Member

    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    0
    do you know a better way we could hook these actions ?

    or could u provide a better way ?
     
  15. Reef

    Reef Member

    Messages:
    795
    Likes Received:
    0
    Trophy Points:
    0
    I think he means that he would like to catch those events by a server plugin (probably ES or SourceMod). It doesn't have to be broadcasted to all clients (it shouldn't).
     
  16. Krenzo

    Krenzo Administrator

    Messages:
    3,771
    Likes Received:
    0
    Trophy Points:
    0
    I figured that. It looks like events can be set to only occur on the server.

    If you want this to happen, you need to make a list of all events you want and when they should fire.
     
  17. angry hillbilly

    angry hillbilly Member

    Messages:
    1,092
    Likes Received:
    0
    Trophy Points:
    0
    doesnt the console tell you the events?
     
  18. Cyber-Kun

    Cyber-Kun Member

    Messages:
    1,200
    Likes Received:
    0
    Trophy Points:
    0
    One event I would like to see, is a way for the map to know if a mine is at one place then explode it.
    I would love to add part of a map where one team has to break into a gate, and to break the gate they have to drop a mine into a hole where the chain moves the gate.
    Gate chain goes boom and the gate opens!
     
  19. rampantandroid

    rampantandroid Member

    Messages:
    2,664
    Likes Received:
    0
    Trophy Points:
    0
    An event of that nature should be sufficient - if you know who was the comm, you know who drove it into the water. However, an event that would be triggered when a friendly player damages the CV might be useful (for who flipped the CV)...
     
  20. Reef

    Reef Member

    Messages:
    795
    Likes Received:
    0
    Trophy Points:
    0
    An event that would be pretty usefull for statistcs would be called "research_compleated" and would have one text field with a name of the research.
    Simple, but fun, if someone will want he can code a good stats system that counts players skill and wins/loses and compares the whole stuff with the chosen research route. We could learn interesting things (like that the fission engine is almost never researched).
    Also a vehicle_spawned event could be good for statistics, but it would involve much more coding if we want to know what weapons were put in the vehicle.

    The case with mines is bad because location of the player that is throwing a mine could differ from the final location of the mine (mine can f.e. fall off the cliff)...
     

Share This Page