Advertising
Spawntimer

17.01.2011 - 20:20:52

 Code
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:
 
//Delete the timer
timerSet 0
//Fix the spawn time of the enemy
set respawn_myside "vstr respawn_axis"
//Reset the reset command :-)
set reset_respawn "vstr reset_respawn1"

In the file autoexec_axis.cfg, add the following lines :

//Delete the timer
timerSet 0
//Fix the spawn time of the enemy
set respawn_myside "vstr respawn_allies"
//Reset the reset command :-)
set reset_respawn "vstr reset_respawn1"

In the file autoexec.cfg, add the following lines to fix the default value of the enemies spawns and to bind a key to launch the spawntimer :

set respawn_axis "timerSet 30"
set respawn_allies "timerSet 20"

set reset_respawn1 "vstr respawn_myside;resetTimer;echo ^xSpawnTimer ^7:^2Reset;set reset_respawn vstr reset_respawn2"
set reset_respawn2 "resetTimer;echo ^xSpawnTimer ^7:^2Reset"
set reset_respawn "vstr reset_respawn1"
bind X "vstr reset_respawn"

Step 2

The spawn times are not always the same on each map. Allies do not always spawn every 20 secs ... That is why we propose here to bind a key to display the enemy spawn time and to fix it in the dedicated spawntimer menu.

In the file autoexec_allies.cfg, add the following lines :

set set_respawn "toggleconsole; g_redlimbotime; wait 200; toggleconsole; openTimerInput"

In the file autoexec_axis.cfg, add the following lines :
set set_respawn "toggleconsole; g_bluelimbotime; wait 200; toggleconsole; openTimerInput"

In the file autoexec.cfg, add the following lines to bind the key

bind X "vstr reset_respawn;vstr set_respawn"



last changed by schnoog am 20.01.2011 - 21:17:24

IronEagle
gelöschter User

User Pic


0 approved this posting.




Images by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Powered by IlchBB Forum 3.1 © 2010 Weblösungen Florian Körner