Page 1 of 1

Mode Question

Posted: Mon Mar 27, 2006 8:19 pm
by SBF_Dann_Boeing
ok i have a question, how do you add a mode to a game,

like if I made a map only for conquest and I wanted to add eli mode, how do i do that? I added the lua for the mode from teh backup to scripts but that doesnt do it. is this possible to do?

Posted: Mon Mar 27, 2006 8:39 pm
by -_-
you need to add the line to the .req file

Posted: Mon Mar 27, 2006 10:42 pm
by SBF_Dann_Boeing
kthx

Posted: Mon Apr 03, 2006 7:40 pm
by SBF_Dann_Boeing
i tried that but it still doesn't work, i added the g_eli lua also, here is my req:
ucft
{
REQN
{
"config"
"ingame_movies"
}

REQN
{
"script"
"setup_teams"
"gametype_conquest"
"gametype_capture"
"Objective"
"MultiObjectiveContainer"
"ObjectiveCTF"
"ObjectiveAssault"
"ObjectiveSpaceAssault"
"ObjectiveConquest"
"ObjectiveTDM"
"ObjectiveOneFlagCTF"
"SoundEvent_ctf"
"ObjectiveGoto"
"LinkedShields"
"LinkedDestroyables"
"LinkedTurrets"
"Ambush"
"PlayMovieWithTransition"
}

REQN
{
"lvl"
"CAGg_con"
"CAGc_con"
"CAGg_eli"
}
}

Posted: Mon Apr 03, 2006 9:21 pm
by [RDH]Zerted
To add a mode you need to make changes to the addme.lua, .req files, generate the mode's luas, and assign a layers to the mode in ZeroEdit.

Posted: Wed Apr 05, 2006 8:07 pm
by SBF_Dann_Boeing
still doesnt work

Posted: Wed Apr 05, 2006 9:31 pm
by Teancum
You also have to add a mode req. Look in data_[mapname]/common/mission for an example.

Posted: Thu Apr 06, 2006 7:22 pm
by SBF_Dann_Boeing
ook still doesnt work...

Posted: Thu Apr 06, 2006 8:21 pm
by Teancum
Did you add both mode_eli_g = 1 and the AddDownloadableContent? (or whatever it is, search for _con -- you'll see it at the bottom of addme.lua)

Essentially you have to

1-add it to mission.req
2-do both steps in addme.lua
3-create a new req in common/mission

Posted: Thu Apr 06, 2006 9:36 pm
by SBF_Dann_Boeing
aha i forgot to add mode_eli_g = 1. ill test in a min

Posted: Thu Apr 06, 2006 10:07 pm
by SBF_Dann_Boeing
it works, thx

Posted: Thu Apr 06, 2006 10:48 pm
by MasterDoson
What is a req file?

Seached through all of the documentation, didn't say a word, seached through these forums, didn't find anythinng, along with OPTION files. If anyone could tell me what these are thanks.

Posted: Thu Apr 06, 2006 11:00 pm
by SBF_Dann_Boeing
ask in another topic.

Posted: Thu Apr 06, 2006 11:03 pm
by MasterDoson
You mean make a whole brand new topic just to find out what a single file is? I don't think so. Waste of forum space.

Posted: Thu Apr 06, 2006 11:14 pm
by SBF_Dann_Boeing
well ur not supposed to go off topic