Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
/// ytb_algorithm - Algorithm to use to compute difference // 0 means minus computing (player score = kills - deaths) - original ETB algorithm // 1 means k/d ratio computing (player score = kills / deaths) es_xsetinfo ytb_algorithm 0 /// ytb_difference - Minimum advantage difference between rounds for a switch to occur. (depends on ytb_algorithm) // 10 is a good value for minus computing (ytb_algorithm = 0) - original ETB default is 6 // 4 is a good value for k/d ratio computing (ytb_algorithm = 1) es_xsetinfo ytb_difference 10 /// ytb_rounds - Minimum number of rounds between switchs // default value: every 2 rounds, a switch can occurs (if required) - original ETB default is 2 es_xsetinfo ytb_rounds 2 /// ytb_lostrounds - Number of losts round in a row, to allow disadvantage of winning team // A swap can't give advantage to the loosing team (by swapping a very good player - like a real pgm) // until this number of rounds has been lost by the loosing team // this feature doesn't exist in original ETB, to disable it, set it to server_var(mp_maxrounds) es_xsetinfo ytb_lostrounds 3 /// ytb_onlyswapdead - Enable or Disable the "Only Swap Dead Player" feature // If enabled (1), only swap dead players - original ETB can't swap alive player, so original ETB default is 1 // If disabled (0), swap dead and alive players es_xsetinfo ytb_onlyswapdead 0 /// ytb_swapbots - enable or disable swapping of bot players // If enabled (1), bots will be swapped like all other players // if disabled (0), bots will never be swapped es_xsetinfo ytb_swapbots 1 /// ytb_recently_swap_protection - Protect recently swapped players during the x next swap action taken // 0 disable this feature // x > 0, protect a player during the next x swap action taken es_xsetinfo ytb_recently_swap_protection 3 /// ytb_nowarmupswap - disable swap during warmup // 0 disable it // > 0 enable it (should be equal to your mani_warmuptimer value) es_xsetinfo ytb_nowarmupswap 90 /// ytb_godmode - enable god mode after swap // to avoid people killing swapped player, all alive player will be set in god mode (unvulnerable) // 0 disable, 1 enable (only useful if ytb_onlyswapdead is 0) es_xsetinfo ytb_godmode 1 /// ytb_swappedreward - give a reward to swapped players // specify the amount of money to give to swapped player (0 to disable it) es_xsetinfo ytb_swappedreward 3000 /// ytb_immunity - enable or disable immunity feature // 1 enable the immunity feature (immune some players from being swapped) // 0 disable the immunity feature // you must fill the es_ytb_immune_players_db.txt to make it works es_xsetinfo ytb_immunity 0 } // --- |