Debug commands for map testing?

Discussion in 'Mapping' started by Crispy, Jan 12, 2009.

  1. Crispy

    Crispy Member

    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    0
    Hi Empires mappers!

    I'm working on a new map (called emp_route88 for the time being), and I was wondering if there's a debug command I can use to skip the Commander vote waiting time and just get straight into testing.

    Any other useful debug commands for testing would also be of help.
     
  2. BumGravy

    BumGravy Member

    Messages:
    663
    Likes Received:
    1
    Trophy Points:
    0
    When you use the create server button there are lots of options for things like comm vote time, complete research and res multipliers that you can change to speed things up.
     
  3. Crispy

    Crispy Member

    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    0
    Great! Thanks! ;)
     
  4. @@@@Marcin@@@@

    @@@@Marcin@@@@ Developer

    Messages:
    516
    Likes Received:
    0
    Trophy Points:
    0
    Also if you want super fast speed use

    sv_cheats 1
    host_timescale 10
     
  5. LordDz

    LordDz Capitan Rainbow Flowers

    Messages:
    5,221
    Likes Received:
    0
    Trophy Points:
    0
    *hint* But you can only have it at 1-2 if you want to place buildings in com view *hint*
     
  6. @@@@Marcin@@@@

    @@@@Marcin@@@@ Developer

    Messages:
    516
    Likes Received:
    0
    Trophy Points:
    0
    What I can still place buildings

    Just have to double click
     
  7. GregariousJB

    GregariousJB Member Staff Member Web Developer

    Messages:
    56
    Likes Received:
    6
    Trophy Points:
    0
    I'm gonna necro the fuck out of this 7 year old thread in order to ask/inform - The "Comm Vote Time" option when using Create Map doesn't do anything anymore (I've tried 0, 0.1, 1, 5... the timer never changes). Neither does "host_timescale 10".

    So what current commands can be used to quickly test/debug maps instead of needing to wait that painful 60 second Commander Timer after each map load?
     
  8. TheCreeper

    TheCreeper Member

    Messages:
    161
    Likes Received:
    54
    Trophy Points:
    0
    "emp_sv_wait_phase_time" for controlling the wait time on infantry maps.
    "emp_sv_vote_commander_time" for controlling the wait time on commander maps.

    or simply use "exec testing".
     
  9. GregariousJB

    GregariousJB Member Staff Member Web Developer

    Messages:
    56
    Likes Received:
    6
    Trophy Points:
    0
    This is a fucking godsend. Thank you.
     
  10. flasche

    flasche Member Staff Member Moderator

    Messages:
    13,299
    Likes Received:
    168
    Trophy Points:
    0
    there once was a testing.cfg shipped with the game

    Code:
    // NOTE THIS CONFIG IS PURELY FOR TESTING (Can be removed from release builds)
    
    // Last edited by WealthySoup-24/02/2014. See below for descriptions.
    
    
    
    emp_sv_vote_commander_time 1        // Removes commander voting time
    emp_sv_wait_phase_time 1            // Remove conquest map waiting time (?)
    emp_sv_refinery_multiplier 30        // Resource income x 30
    emp_sv_research_multiplier 20        // Research sped up by 20 times
    emp_sv_respawn_penalty 0            // No spawn delay
    emp_sv_debug_build_vehicles 1        // No need for vehicle factory to build vehicles
    emp_sv_commander_freeze_time 1        // Set commander overheat time to 10 seconds (instead of 60)
    
    sv_alltalk 1                    // Turn alltalk on incase players are hosting their own tests
    mp_autoteambalance 0                // Turn off auto team balance incase players host their own tests
    mp_teams_unbalance_limit 0            // As above, allows players to join one team       
    
    emp_sv_debug_instant_build 1        // Allows players to instant build all buildings
    
    //emp_increase_rank                // Increases rank, requires sv_cheats 1
    //emp_increase_squadpoints            // Increases squadpoints, requires sv_cheats 1 and squad joined
    //emp_sv_research_complete            // Completes all research
    //emp_sv_research_item <itemname>    // Researches specified itemname
    
    sv_cheats 1
    sv_specspeed 30
    
    bind p noclip
    
     
    Last edited: Mar 22, 2016
  11. Lazybum

    Lazybum :D Staff Member Moderator

    Messages:
    4,827
    Likes Received:
    190
    Trophy Points:
    0
    That's what exec testing executes.

    You can make additional cfg files in that cfg folder to do specific things, like say you just want to spawn quickly but none of the other stuff that testing does. Just type exec whateveryourfileiscalled and game will do all console commands in the cfg file.
     
  12. complete_

    complete_ lamer

    Messages:
    6,437
    Likes Received:
    144
    Trophy Points:
    0
    that thing has been broken since the dawn of times and is one of apparently 3 things the devs refuse to or just can't fix
    see here: https://forums.empiresmod.com/index.php?threads/create-server-dialog-box.17175/

    you'll have to find the cfg file within the game folder and change it from there
     
  13. TheCreeper

    TheCreeper Member

    Messages:
    161
    Likes Received:
    54
    Trophy Points:
    0
    The "Comm Vote Time" option in the Create Server menu seems to work fine for me. Changed it to 0 and -1, and it works as expected.
     
  14. complete_

    complete_ lamer

    Messages:
    6,437
    Likes Received:
    144
    Trophy Points:
    0
    i can swear to you that it ignores everything in the dialog boxes
     

Share This Page