mod for aa

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
ViPER
General
Posts: 1058
Joined: Fri Jan 14, 2005 5:48 pm
Location: California
Contact:

mod for aa

Post 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?
Elgan
Lieutenant General
Posts: 890
Joined: Tue Apr 13, 2004 10:43 pm
Location: uk
Contact:

Post by Elgan »

just temp set the gametype to 4, If your obj script isnt setting TDM it wont run as tdm anyway.
User avatar
ViPER
General
Posts: 1058
Joined: Fri Jan 14, 2005 5:48 pm
Location: California
Contact:

Post 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
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post 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)
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
User avatar
ViPER
General
Posts: 1058
Joined: Fri Jan 14, 2005 5:48 pm
Location: California
Contact:

Post 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 ?
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post 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
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
User avatar
ViPER
General
Posts: 1058
Joined: Fri Jan 14, 2005 5:48 pm
Location: California
Contact:

Post 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
Post Reply