uber mode in space?

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
Ergonomics

uber mode in space?

Post by Ergonomics »

there may already be a thread about this, delete this if there is, but i was wandering if its possible for uber mode in space. i can get many more fighters to spawn, but never over 32 pilots/marines a team. i can get uber mode on land battles. jus thinkin can it be done on space assault
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

RE: uber mode in space?

Post by [RDH]Zerted »

Did you remember to increase unit counts and unit limits in the lua? Did you remember to increase the bots for assualt in the options?
Tohron

Re: RE: uber mode in space?

Post by Tohron »

[RDH]Zerted wrote:Did you remember to increase unit counts and unit limits in the lua? Did you remember to increase the bots for assualt in the options?
I don't see why you would need to increase the bots in the options section. However, a note: changing the bot count for Assault does nothing - you have to change the bot count under general options to make a difference.
User avatar
jangoisbaddest
Lieutenant General
Lieutenant General
Posts: 661
Joined: Mon Feb 27, 2006 12:10 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: All Along The Watchtower

RE: Re: RE: uber mode in space?

Post by jangoisbaddest »

I'm also curious - the options only allows up to 32 bots, and never needs to be changed to have more than that on the map anyway. Perhaps one needs to put the SetUberMode command line in a specific place? Oh, and a small observation:

pilot = { "all_inf_pilot",26},

There is no min/max - apparently you just tell it to have that many units of that class, without any room for deviation. Anyway, I changed this to a higher count, as did I with the unit = xx line, and still nothing. What gives?
Ergonomics

RE: Re: RE: uber mode in space?

Post by Ergonomics »

yeah thats exactly my problem, im trying to figure out where exactly to put the setubermode(1) command in the lua. in ground conquest ins under the cps regions or something like that, but its obviously different in space assualt. and yeah i do change the number of bots in the options, but max 32.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

RE: Re: RE: uber mode in space?

Post by Teancum »

For Assault, you'll probably need to put itn the _cmn.lua
Ergonomics

RE: Re: RE: uber mode in space?

Post by Ergonomics »

where abouts? if you know. coz i know if its in the rong place even by a small amount the entire map will not load
Ergonomics

RE: Re: RE: uber mode in space?

Post by Ergonomics »

ive figured out how to do it now, pretty much anyway. i read the thread on how to get conquest mode in space (http://www.gametoast.com/index.php?name ... pic&t=3707) and now i know where to put the setubermode(1), you put it just 1 line above the conquest:Start() line. it should work then.
sorry to double post, should make space battles a bit more interesting.
wazmol
High General
High General
Posts: 892
Joined: Sat Sep 02, 2006 6:47 pm
Projects :: Thinking...
Games I'm Playing :: Black Ops
Location: London
Contact:

RE: Re: RE: uber mode in space?

Post by wazmol »

WARNING- Huge Bump and i am sorry but i though their was no point in making A Topic that already exists

anyway now i have gotten that over and done with i have a question. how on earth do you get Uber mode to work in space i tried your method Ergonomics but my map just loaded with no one in game other than just me.

sorry guys just though there was no point in making a new topic.
Kyross

RE: Re: RE: uber mode in space?

Post by Kyross »

I did it before, just place uber mode in thespace lua in the same place you would in a conquest. I don' mean thatactully. In the same place relatingto what's around it. In the spaceluaits much farther down.

Go halwafway down the file in the _cmn lua and add it in where I have it:


---------------------------------------------------------------------------
-- FUNCTION: ScriptInit
-- PURPOSE: This function is only run once
-- INPUT:
-- OUTPUT:
-- NOTES: The name, 'ScriptInit' is a chosen convention, and each
-- mission script must contain a version of this function, as
-- it is called from C to start the mission.
---------------------------------------------------------------------------
function ScriptInit()

-- Designers, this line *MUST* be first!

SetUberMode(1); <---------THERE IT BE!

ReadDataFile("ingame.lvl")

SetMinFlyHeight(-1800)
SetMaxFlyHeight(1800)
SetMinPlayerFlyHeight(-1800)
SetMaxPlayerFlyHeight(1800)
SetAIVehicleNotifyRadius(100)
wazmol
High General
High General
Posts: 892
Joined: Sat Sep 02, 2006 6:47 pm
Projects :: Thinking...
Games I'm Playing :: Black Ops
Location: London
Contact:

RE: Re: RE: uber mode in space?

Post by wazmol »

OMG it worked thanks alot Kyross
Linus

RE: Re: RE: uber mode in space?

Post by Linus »

I guess I should try this later this day... Kyross, many thanks to you !...

- Linus
Post Reply