Page 1 of 1
Uber mode/ adding modes
Posted: Thu Sep 02, 2010 1:03 pm
by THEWULFMAN
I am trying to add Uber mode to my map, so i copied the RYBc_con.lua and renamed it to RYBc_uber.lua, then I changed the unit count inside the lua after adding the line; SetUberMode(1); then I added the these lines to my addme
sp_missionselect_listbox_contents[sp_n+1] = { isModLevel = 1, mapluafile = "RYB%s_%s", era_c = 1, mode_con_c = 1,mode_uber_c = 1,}
mp_n = table.getn(mp_missionselect_listbox_contents)
mp_missionselect_listbox_contents[mp_n+1] = sp_missionselect_listbox_contents[sp_n+1]
-- associate this mission name with the current downloadable content directory
-- (this tells the engine which maps are downloaded, so you need to include all new mission lua's here)
-- first arg: mapluafile from above
-- second arg: mission script name
-- third arg: level memory modifier. the arg to LuaScript.cpp: DEFAULT_MODEL_MEMORY_PLUS(x)
AddDownloadableContent("RYB","RYBc_con",4)
AddDownloadableContent("RYB","RYBc_uber",4)
I then munged my common, opened up bf2 and the Uber mode was there, however when I try to play it I get a FATAL error
Could not open MISSION\RYBc_uber.lvl
I tried to add this without any knowlege of how to add modes , so I am not too surprised it didnt work.
Can someone tell me what step I missed. Thanks in advance.
Re: Uber mode/ adding modes
Posted: Thu Sep 02, 2010 2:12 pm
by DarthD.U.C.K.
well you seemed to have been succesfull since you can choose ubermode in the menu
atleast as far as i know fatal crashes arent caused by the addme.lua
Re: Uber mode/ adding modes
Posted: Thu Sep 02, 2010 3:39 pm
by kinetosimpetus
Did you edit mission.req and add a req for the lua? Should find them in data_abc\Common
Re: Uber mode/ adding modes
Posted: Thu Sep 02, 2010 3:54 pm
by THEWULFMAN
kinetosimpetus wrote:Did you edit mission.req and add a req for the lua? Should find them in data_abc\Common
I edited the mission.req(forgot to mention), but did not add a req for the new lua. please elaborate. thanks in advance.
Re: Uber mode/ adding modes
Posted: Thu Sep 02, 2010 3:59 pm
by AQT
In the data_***\Common\mission folder, that's where the REQ for your LUA should go. Look at the other REQs in the same folder to see how your LUA's REQ should be set up.
Re: Uber mode/ adding modes
Posted: Fri Sep 03, 2010 1:26 pm
by THEWULFMAN
AQT wrote:In the data_***\Common\mission folder, that's where the REQ for your LUA should go. Look at the other REQs in the same folder to see how your LUA's REQ should be set up.
thanks, ive got uber mode, and 2-flag up and running.
new question, remember the three part mod, Rebel Ops (Aquilaris: Deep Sea,The Big "L", and Bakura: Rogue Assault), ok lets face it tthis is the best mod ever, that Maveritchell made. you all know it, love it cherish it...
ok enough sucking up to Mav
Mav, added The Dark Time to all three of his maps, ( and KOTOR), I remember hearing about a tutorial
on how to add the Dark Times to your map, but have never seen it anywhere.
if someone could enlighten me, it would be easier if Maveritchell told me himself, but hes a busy guy so if anyone else knoes about this please spill.
ps, if Maveritchell doesnt want anyone to know how or whatever, thats fine, i wiil apologize, for asking.
Thanks in advance.
Re: Uber mode/ adding modes
Posted: Fri Sep 03, 2010 1:47 pm
by skelltor
Re: Uber mode/ adding modes
Posted: Fri Sep 03, 2010 3:02 pm
by THEWULFMAN

im not a noob

, i probably got another point or two on my noob factor didnt I. Sorry for your time. again thanks thou
Please do not exceed 3 smilies per post. Excessive smilies removed -Staff
Re: Uber mode/ adding modes
Posted: Fri Sep 03, 2010 3:13 pm
by skelltor
no problem

i am just glad to help
Re: Uber mode/ adding modes
Posted: Fri Sep 03, 2010 4:02 pm
by sim-al2
THEWULFMAN wrote:
im not a noob , i probably got another point or two on my noob factor didnt I. Sorry for your time. again thanks thou
I wouldn't worry too much about it. Everyone has to be a least a semi-noob at one point.

BTW you can only have 3 smilies per post.
Re: Uber mode/ adding modes
Posted: Sat Sep 04, 2010 3:02 pm
by THEWULFMAN
sim-al2 wrote:
I wouldn't worry too much about it. Everyone has to be a least a semi-noob at one point.

BTW you can only have 3 smilies per post.
Yeah, but I feel like because I started late evrone will think I'm an idiot, when the main reason i haven't been doing this for years is because I only just got a cpu with just enough power to play BF2.
Hope I can prove my worth eventually ( if I only would stop making stupid mistakes).
Re: Uber mode/ adding modes
Posted: Sun Sep 05, 2010 2:04 pm
by MrCrayon
You know what helps? Turn off shadows! They take up a lot of the cpu power for something nobody cares about.
Re: Uber mode/ adding modes
Posted: Sun Sep 05, 2010 2:30 pm
by THEWULFMAN
MrCrayon wrote:You know what helps? Turn off shadows! They take up a lot of the cpu power for something nobody cares about.
Shadows: off
Texture quality: low
lighting quality: low
light bloom: off
you get the idea, my cpu still lags sometimes.
