Page 1 of 1
mod for aa
Posted: Tue Sep 13, 2005 8:14 pm
by ViPER
my mod has been developed in spearhead and i am working to make it aa friendly - i didnt realize they were so different.
my main problem now is running the obj maps - my mod is a team match mod and uses the obj maps (in sh they run in tdm)
i find if you add the map name "obj/obj_team1" to the maplist it will run. but you cant call it with console or a mixed cfg in tdm unless gametype is 4 ??
is there a script I can use that will allow obj map call in tdm for AA?
Posted: Tue Sep 13, 2005 9:43 pm
by Elgan
just temp set the gametype to 4, If your obj script isnt setting TDM it wont run as tdm anyway.
Posted: Tue Sep 13, 2005 10:25 pm
by ViPER
what do you mean temp set?
it is working in tdm if "obj/obj_team1" for example, is in my sv maplist.
just cant call it with console or use mixed cfg
Posted: Tue Sep 13, 2005 11:57 pm
by lizardkid
temporarily, as for gametype i believe you can set, in the maps script or server config, this line..
set g_gametype 4
server config is probably better, but the script will do it (i think)
Posted: Wed Sep 14, 2005 12:06 am
by ViPER
hmmm! confusion. my mod is a tdm mod. setting gametype to 4 in the config or even in the map script would disable most of my mod as it is designed to function as stock script when off.
when on however and functioning in gt 2 - is there no other way to call obj maps other than sv_maplist? via console ?
Posted: Wed Sep 14, 2005 12:10 am
by Master-Of-Fungus-Foo-D
so you want to load a OBJ map, but you cant when the gmaetype is 2... ok
set g_gametype to 4 in the map's script (say.. mohdm7) jsut before it changes to the obj one, and in the next map's script (the obj_team1.scr) set g_gametype to 2 before the prespawn
Posted: Wed Sep 14, 2005 12:19 am
by ViPER
ty, yes that would work but would be confusing - should be more automated or people wont get it.
the best i got now is that if you use an svmaplist in gametypet 2 the obj maps will load if my mod is on - just cant call them with console.
if you use a mixed config and my mod is on - map will load and switch the gametype to 2 - just cant use vstr command. LOL