Forums Index >> Modding >> Game Types



Page : <1> :


Yeah, I was curious as to how you make new "gameTypes". I noticed for ArtCrazies CTF script, you had to make a whole new folder located in your gamefolder.
So, doing so. The Script for your new game-type would start out something like this?:

 

                                        
if ($Game::TeamGame)//So when I host my game, for either TS or TBM it will perform my game-type?
{
$Server::MissionType != "My mission here";
}
(rest of script here)

 

I've tried that, and it doesnt seem to work. Any suggestions?

 

Last edited: Thursday, March 10, 2005 at 5:50:28 PM

Thursday, March 10, 2005 at 5:49:21 PM

Well all you need is one code line. Put it above Object Write Begin in your mission file you want to use. It will change the gametype name on the server list.

$Server::MissionType = "NameOfYourNewCoolGameType";

You don't have to let go of one rope before grabbing the other. But you'll have to let go of one if you want to swing forward.

Friday, March 11, 2005 at 6:24:31 AM
Cho

$Game::MissionType = "NewGameType";

That actually doesnt just change the name but changes the gametype alltogether so if u score in scrum u dont get a point and so on, it maybe useful for you.

Friday, March 11, 2005 at 7:15:13 AM

 

 

$Game::MissionType = "NewGameType";

That actually doesnt just change the name but changes the gametype alltogether so if u score in scrum u dont get a point and so on, it maybe useful for you.

 

Lol, no it doesn't.

Friday, March 11, 2005 at 1:37:47 PM

Hmm it does, it doesnt change the part in the Server list, but the goals etc use that preference to check if the game is that type they want :P


Friday, March 11, 2005 at 2:48:22 PM

Page : <1> :

insert quote insert url insert email insert image bold italic underline superscript subscript horizontal rule : : Help on using forum codes

Add comment:

HTML is disabled within comments, but ZBB Code is enabled.

Back to the top

Web site designed, maintained and funded by -z- and Dan MacDonald