1. Hey there Guest,

    The game servers have moved to semi-dedicated hardware and IPs have changed. Please see front page server widget for up-to-date game server information.

Console commands at map load for clients

Discussion in 'Mapping Questions & Discussion' started by Washipato, Aug 1, 2009.

  1. Washipato

    Washipato L3: Member

    Messages:
    149
    Positive Ratings:
    99
    Is there a way to tell to the console of the clients and server to load some commands when a map is finished loading? Thanks in advance
     
  2. Psy

    aa Psy The Imp Queen

    Messages:
    1,705
    Positive Ratings:
    1,480
    Place a logic_auto and point_clientcommand and send outputs from the logic_auto to the point_clientcommand 'OnMapSpawn'.

    You'll have to be careful what you do though. If you attempt to change server settings the changes might carry over to the maps that follow.
     
  3. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,538
    a logic_auto will work for point_servercommand, however point_clientcommand has to be triggered via a player themselves by means such as a trigger_multiple.
     
  4. Washipato

    Washipato L3: Member

    Messages:
    149
    Positive Ratings:
    99
    Thanks! If a player joins the map after it was loaded, will he/she get the console commands too?
     
  5. Washipato

    Washipato L3: Member

    Messages:
    149
    Positive Ratings:
    99
    @ABS: Right now, I'm doing what you said to load the commands (with a trigger multiple), the problem is that I need to load them once per client.

    When the map loads, there is a console message that says "themap.cfg was not found". Can a cfg help for what I want to do?