1. If you have a problem and need help, create a new thread with a title that briefly describes the problem.
    Do not use titles like 'Help!' or 'I have a problem!'
    Dismiss Notice
  2. Hey Guest, is it this your first time on the forums?

    Visit the Beginner's Box

    Introduce yourself, read some of the ins and outs of the community, access to useful links and information.

    Dismiss Notice

Some help on Respawn times

Discussion in 'Server Help' started by joey1430, Feb 23, 2012.

  1. joey1430

    joey1430 Catapult Fodder

    Messages:
    4
    It appears that i cannot change how long it takes to respawn within the game attempted to change it numerous of times and it appears that i can lower the time but not increase the time more than 5 seconds. maybe im doing somthing wrong but some insight would be nice.

    My config at the moment attempted to change the respawn to 12 seconds but wouldn't allow us.

    Code:
    # config file for game rules
    # rules name: CTF   
    # rules description:
       
        teams = Rules/CTF/team1.cfg; Rules/CTF/team2.cfg;
       
        gamemode_name = Capture the Flag!
        gamemode_info = Capture the enemy flag and bring it back to your flag\n    Infinite resources in tent during build time
       
        # match time formula is = m*(a*sqrt(b*x)) where x = number of players in team; m = map size/difficulty 0.8<=m<=1.2;
        match_time_formula_a = 5
        match_time_formula_b = 3
        match_time_override = 0    # minutes / overrides time formula / 0 unlimited time / -1 don't override
       
     
        timepassed_teamwin = 0      # which team wins when time passes (-1 none)
        break_time = 30              # break_time * number of players - seconds
        minimum_players_inteam = 1
       
        autoassign_teams = yes
        autoassign_classes = no
        autoassign_inventory = no 
       
        auto_bots = no
        fog_of_war = 0              # todo
       
        #todo: move these to team         
                                                 
        playerrespawn_seconds = 12.0
        nearspawn_multiplier = 0.0
        switch_teams_onrestart = no  # doesn't work yet
         
        death_points = 0
        kill_points = 10
        selfkill_points = -25   
       
        attackdamage_modifier = 0.5 
        falldamage_modifier = 1.0
        friendlydamage_modifier = 0.0
     
        itempick_mode = yes
        itempick_points = 250     
     
        unlimited_ammo = no
       
        force_weightclass = 0
       
        new_sacks_in_tent = no
        sacks_count = 0
       
        flags_count = 1
        flags_respawn = yes
        flags_return = yes
        flag_score = 1
     
        gold_score_percentage = 0
       
        heart_fallout_probability = 0        # 0 - no hearts; 1 - every death; 2.. - randomly probability of 2...   
        spawn_tent_onstart = yes   
        restartmap_onlastplayer_disconnect = yes   
        nocollapsing_nearspawn = no   
        mirrormap = yes
       
        coins_death_drop_percentage = 30
        coins_damage_enemy = 5
        coins_build_percentage = 10
        coins_bomb_cost = 20
        coins_arrows_cost = 1
        coins_heal_cost = 2
        coins_unit_cost = 50
       
        room_config = Actors/ctf_room.cfg
       
       
       
        
     
  2. BlueLuigi

    BlueLuigi :^) Forum Moderator Donator Tester

    Messages:
    3,620
    Just an FYI it requires a server restart to take effect (or at least a reload of the gamemode which currently you can only really do that way).
    I have not messed with nearspawn_multiplier but if it is actually a multiplier it probably belongs at 1.0 and not 0.0, I however have not played with it I just personally use around 3.0 and leave it there.
     
  3. joey1430

    joey1430 Catapult Fodder

    Messages:
    4
    I have restarted the server and i have also changed the multiplier to 1.0 but that made no difference, its strange that you cannot change the spawntime
     
  4. BlueLuigi

    BlueLuigi :^) Forum Moderator Donator Tester

    Messages:
    3,620
    You can change it, of that I am sure.

    Are you sure you are using the correct gamemode/rules file?

    Please go to Base/Scripts and paste the contents of your dedicated_autostart.cfg (NOT dedicated_autoconfig)

    After you do that make sure that the gamemode.cfg you are editing is the proper one and paste it's current contents. :<
     
  5. BlueLuigi

    BlueLuigi :^) Forum Moderator Donator Tester

    Messages:
    3,620
    Wrong file, dedicated_autostart, not dedicated_autoconfig.

    Please remove that file ASAP, it gives away your rcon password.
     
  6. joey1430

    joey1430 Catapult Fodder

    Messages:
    4
    Code:
    // autostart on dedicated server launch
     
    newWorld( "" );
    switchGameState(0);
     
        startServer();   
           
        LoadRules("Rules/CTF/gamemode.cfg");
       
        LoadMapCycle( "Scripts/mapcycle.cfg" );
        LoadMap( "" );
       
        //sleep(4.0);   
        //addBot("Scripts/bot.cfg");
     
     
    print(`Config loaded from dedicated_autostart.gm`);
     
  7. BlueLuigi

    BlueLuigi :^) Forum Moderator Donator Tester

    Messages:
    3,620
    It's definitely the correct file, are you sure you are restarting it? Try shutting the server fully down, changing the file, and then putting it back up.
     
  8. joey1430

    joey1430 Catapult Fodder

    Messages:
    4
    still nothing thats shutting the whole server down. but still nothing.