[2.24] Chat: Placeholders/Operators

Discussion in 'Archive' started by HaschteWas, May 6, 2009.

  1. HaschteWas

    HaschteWas Member

    Messages:
    180
    Likes Received:
    0
    Trophy Points:
    0
    I found the following placesholders/operators working:
    %_c -> current class
    %_h -> number of healthpoints
    %_l -> name of squad leader
    %_m -> name of commander
    %_n -> ? name of current player ?
    %_s -> name of current squad
    %_w -> name of current (infantry) weapon

    Did I miss anything?
    If not, then i request a current location (%_L) and target (%_t) operator.
    For commanders it would be usefull to have a current research (%_r) operator.

    By the way, the % char gets deleted, even when it got no _ behind. Should be considert as a bug, cause only %_ should be replaced by values. And % is a viable character.
     
  2. Coffeeburrito

    Coffeeburrito Coder

    Messages:
    542
    Likes Received:
    0
    Trophy Points:
    0
    Yeah, that was all I had implemented so far. I was thinking about doing target and research, but they weren't immediately available.
     
    Last edited: May 6, 2009
  3. Coffeeburrito

    Coffeeburrito Coder

    Messages:
    542
    Likes Received:
    0
    Trophy Points:
    0
    Yeah, those two are gonna have to wait. Problem is the location is only calculated in the client gui, so I'd have to make a few changes to get it properly.
     
  4. communism

    communism poof

    Messages:
    4,095
    Likes Received:
    2
    Trophy Points:
    0
    Ive never read a thread and been so confused :/
     
  5. Dawgas

    Dawgas Banned

    Messages:
    1,059
    Likes Received:
    0
    Trophy Points:
    0
    tl;dr you can have text binds that state your health & location so you can has a medic

    unless i am wrong
     
  6. Beerdude26

    Beerdude26 OnThink(){ IsDownYet(); }

    Messages:
    7,243
    Likes Received:
    13
    Trophy Points:
    0
    Pretty much, also handy for sourcemod messages I guess
     
  7. communism

    communism poof

    Messages:
    4,095
    Likes Received:
    2
    Trophy Points:
    0
    Any chance to get a bind where it tells people the strength or your tank armor
    IE: 100% left 100% front 50% right 0% rear
     
  8. blizzerd

    blizzerd Member

    Messages:
    10,552
    Likes Received:
    60
    Trophy Points:
    0
    what about seperating chat and alert/echo's

    so alert/echos can have color coding to inportance

    (commander under attack = red flashing yellow, building under attack is red etc etc)
     

Share This Page