how do u mix obj and tdm in basebuilder?
if (getcvar(g_gametype) == "4")
{
base builder stuff for obj
}
if (getcvar(g_gametype) == "2")
{
base builder stuff for team
}
should do the trick
and i put tht where?
where your exec the basebuilder so in your map file
kk so in every map file copy any paste tht? then just put obj/obj_team3 obj/obj_team3 in roataion and should work yes no yes yes no yes
ot just put the object one in the object maps
okay
if u put ur roation for obj only just open up the obj .scr files and under the tab messages put this but change it to your origins.
//------------------------------|time to build
//----------------------------------|object limit
exec alienx/basebuild.scr::main 800 200
// Axis crate
exec alienx/basebuild.scr::basebuild ( -2038.00 -1395.00 -1250.00 ) "human/allied_pilot.tik" 1 0 1 0 80 0 .5 0 0 1
exec alienx/basebuild.scr::basebuild ( -2038.00 -1960.00 -1250.00 ) "static/heat_crate.tik" 1 0 0 1 80 0 .5 0 0 1
exec alienx/basebuild.scr::basebuild ( -2375.62 -1600.00 -1270.56 ) "static/sandbag_small_semicircle.tik" 1 1 1 0 80 80 .5 0 0 1
exec alienx/basebuild.scr::basebuild ( -2375.62 -1453.68 -1270.56 ) "static/bunkerbench.tik" 1 1 0 0 80 0 .5 0 0 1
exec alienx/basebuild.scr::basebuild ( -2038.62 -1740.68 -1250.56 ) "static/cot.tik" 1 0 1 0 80 0 .5 0 0 1
// MG42
exec alienx/basebuild.scr::basebuild ( -2038.00 -1540.00 -1250.00 ) "statweapons/mg42_gun.tik" 1 1 0 0 80 0 .5 0 0 1
// Lift
exec alienx/basebuild.scr::basebuild ( -2038.00 -1820.00 -1250.00 ) "static/bathtub.tik" 1 0 1 1 100 0 .5 1 0 1
// Teleporter
exec alienx/basebuild.scr::basebuild ( -2282.13 -2050.76 -1284.49 ) "static/corona_orange.tik" 1 0 1 1 100 0 .5 0 1 1
// Allied crate
exec alienx/basebuild.scr::basebuild ( 1200.00 2300.00 -1370.00 ) "human/allied_pilot.tik" 1 1 1 0 80 0 .5 0 0 1
exec alienx/basebuild.scr::basebuild ( 750.00 2300.00 -1370.00 ) "static/heat_crate.tik" 1 0 0 1 80 0 .5 0 0 1
exec alienx/basebuild.scr::basebuild ( 600.00 2300.00 -1370.88 ) "static/sandbag_small_semicircle.tik" 1 1 1 0 80 0 .5 0 0 1
exec alienx/basebuild.scr::basebuild ( 538.60 2209.51 -1407.88 ) "static/bunkerbench.tik" 1 1 0 0 80 0 .5 0 0 1
exec alienx/basebuild.scr::basebuild ( 1677.98 2214.54 -1407.88 ) "static/cot.tik" 1 0 1 0 80 0 .5 0 0 1
// MG42
exec alienx/basebuild.scr::basebuild ( 1050.00 2300.00 -1370.00 ) "statweapons/mg42_gun.tik" 1 1 0 0 80 0 .5 0 0 1
// Lift
exec alienx/basebuild.scr::basebuild ( 900.00 2300.00 -1370.00 ) "static/bathtub.tik" 1 0 1 1 100 0 .5 1 0 1
// Teleporter
exec alienx/basebuild.scr::basebuild ( 1377.98 2214.54 -1407.88 ) "static/corona_orange.tik" 1 1 0 1 100 0 .5 0 1 1
so i put in the obj 1's and it should run with TDM
with watever map is in your rotation regardless if its obj or tdm if you want that certain map to be base builder use that and get coords for that certain map
ok.. i have coords for obj and tdm i want to MIX the maps together obj with tdm
dm/mohdm2 obj/obj_team2 dm/mohdm3 ect..
so just setup your rotation so it does that... and put ur base builder code in each of the map files in your ration, if it is a obj map above your basebuilder stuff put this line
setcvar "g_gametype" "4"
if it is a tdm then use this line
setcvar "g_gametype" "2"