Gametype

Post your scripting questions / solutions here

Moderator: Moderators

Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

Bjarne BZR wrote:Cant you set the "g_gametype" setting? I think thats waht A.S.E. uses ( and the "g_gametype" is 4 )...
Oops :oops: ... copy-paste error. My post should be:
Bjarne BZR wrote:Cant you set the "g_gametypestring" setting? I think thats what A.S.E. uses ( and the "g_gametype" is 4 )...
...makes abit more sense that way, right ;)
Admin .MAP Forums
Image
Head above heels.
dcoshea
Colour Sergeant
Posts: 94
Joined: Thu Mar 04, 2004 3:00 am
Location: Sydney, Australia
Contact:

Post by dcoshea »

omniscient wrote:so in the script would it say set g_gametypestring "Capture the Flag"
It's a cvar, so:

Code: Select all

setcvar "g_gametypestring" "Capture the Flag"
I hope it works anyway :)

Regards,
David
omniscient
Major General
Posts: 694
Joined: Tue Sep 16, 2003 12:02 am

Post by omniscient »

it apears me and bjarne both had a little type skip there lol. thanks for the correction.
Image
dcoshea
Colour Sergeant
Posts: 94
Joined: Thu Mar 04, 2004 3:00 am
Location: Sydney, Australia
Contact:

Post by dcoshea »

Bjarne BZR wrote:Oops :oops: ... copy-paste error. My post should be:
Bjarne BZR wrote:Cant you set the "g_gametypestring" setting? I think thats what A.S.E. uses ( and the "g_gametype" is 4 )...
...makes abit more sense that way, right ;)
Yeah that makes more sense, but if you'd gotten it right I wouldn't have had the fun of looking through some more of the gamex86.dll disassembly some more :)

Regards,
David
kai0ty
Brigadier General
Posts: 507
Joined: Fri Mar 19, 2004 1:45 am

Post by kai0ty »

hehe typo = good. now ill slpel evretiyng wnrog
There are only 10 kinds of people in this world; those who know what binary is, and those who don't.
Post Reply