Objectivecycle


(ThaMasta) #1

Hello! I am trying to build a well organized Objectivecycle.cfg because I want a different option for all the maps I give you an example of a functional config:

set d1 “set g_gametype 2 ; map braundorf_b4 ; set g_useraxisrespawntime 20 ; set g_useralliedrespawntime 15 ; set nextmap vstr d2”
set d2 “set g_gametype 2 ; map caen2 ; set g_useraxisrespawntime 15 ; set g_useralliedrespawntime 20 ; set nextmap vstr d3”
set d3 “set g_gametype 2 ; map dubrovnik_final ; set g_useraxisrespawntime 20 ; set g_useralliedrespawntime 15 ; set nextmap vstr d1”
vstr 1

I try to allocate one can better this way but it just load the last map and it is impossible to access the next whit !nextmap… anyone know why?

set d1 {
set g_gametype 2
map braundorf_b4
set g_useraxisrespawntime 20
set g_useralliedrespawntime 15
set nextmap vstr d2
}
set d2 {
set g_gametype 2
map caen2
set g_useraxisrespawntime 15
set g_useralliedrespawntime 20
set nextmap vstr d3
}
set d3 {
set g_gametype 2
map dubrovnik_final
set g_useraxisrespawntime 20
set g_useralliedrespawntime 15
set nextmap vstr d1
}
vstr 1

Thanks


(Cambodunum) #2

… dont think this will ever work like this
… btw use “vstr d1” instead of “vstr 1”

greetz Cambo


(ThaMasta) #3

Yes it is in my config write vstr D1, I rewrite in the box in hand with an error! if not the demonstrations on this post is the easiest and best?

http://www.splashdamage.com/forums/showthread.php?t=21244


(stealth6) #4

the last line must be “vstr d1” not “vstr 1”

Also, you’d be better off using map configs for what you want to do.