Uber mode/ adding modes

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Uber mode/ adding modes

Post 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.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Uber mode/ adding modes

Post by DarthD.U.C.K. »

well you seemed to have been succesfull since you can choose ubermode in the menu :P
atleast as far as i know fatal crashes arent caused by the addme.lua
kinetosimpetus
Imperial Systems Expert
Imperial Systems Expert
Posts: 2381
Joined: Wed Mar 25, 2009 4:15 pm
Projects :: A secret project
Games I'm Playing :: Warframe STO

Re: Uber mode/ adding modes

Post by kinetosimpetus »

Did you edit mission.req and add a req for the lua? Should find them in data_abc\Common
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Uber mode/ adding modes

Post 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.
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Uber mode/ adding modes

Post 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.
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Uber mode/ adding modes

Post 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.
User avatar
skelltor
Sith
Sith
Posts: 1431
Joined: Fri Dec 11, 2009 6:24 pm
Projects :: BFSM
Games I'm Playing :: SWBFII
xbox live or psn: skelltor95
Location: minisnowta
Contact:

Re: Uber mode/ adding modes

Post by skelltor »

i wouldent have hurt to check the darktimes fourm :wink: http://www.gametoast.com/forums/viewtop ... 74&t=18253
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Uber mode/ adding modes

Post by THEWULFMAN »

skelltor wrote:i wouldent have hurt to check the darktimes fourm :wink: http://www.gametoast.com/forums/viewtop ... 74&t=18253
:oops: :quotes: im not a noob :quotes: , 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
User avatar
skelltor
Sith
Sith
Posts: 1431
Joined: Fri Dec 11, 2009 6:24 pm
Projects :: BFSM
Games I'm Playing :: SWBFII
xbox live or psn: skelltor95
Location: minisnowta
Contact:

Re: Uber mode/ adding modes

Post by skelltor »

no problem :) i am just glad to help
User avatar
sim-al2
2nd Lieutenant
2nd Lieutenant
Posts: 412
Joined: Mon Jul 06, 2009 10:26 pm
Projects :: Mapping on occasion
Games I'm Playing :: SWBFII + MW4 + SC4
Location: In the cockpit of some vehicle...

Re: Uber mode/ adding modes

Post 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.
Last edited by sim-al2 on Sat Sep 04, 2010 10:06 pm, edited 1 time in total.
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Uber mode/ adding modes

Post 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).
MrCrayon
Jedi Knight
Jedi Knight
Posts: 554
Joined: Sat Apr 17, 2010 8:15 pm
Projects :: Coruscant map Want to help PM me
Games I'm Playing :: Battlefront 3
Location: Buried in homework, but getting better

Re: Uber mode/ adding modes

Post by MrCrayon »

You know what helps? Turn off shadows! They take up a lot of the cpu power for something nobody cares about.
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Uber mode/ adding modes

Post 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. :cpu:
Post Reply