An extremely Important announcement!

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
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

An extremely Important announcement!

Post by jangoisbaddest »

I just got 64 units per side on my conquest map! Not only do you need to make sure your "unit = xx" and "soldier = (blahblah, min, max)" is where you want it, but here is the key to allowing more units to work:

conquest:Start()

SetUberMode(1);

EnableSPHeroRules()

end

The SetUberMode(1); line must be added in between those two lines. Then save and test!
Kyross

RE: An extremely Important announcement!

Post by Kyross »

What are you talking about?

And getting more units is easy. Doing it the way you're supposed to I have 100 units on one team and 150 on another...
Gunjak

RE: An extremely Important announcement!

Post by Gunjak »

wahooooo thanks add this to the everything u need sticky!
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: An extremely Important announcement!

Post by jangoisbaddest »

Sorry Kyros but everyone on this site said that the Unit = xx thing doesn't work in conquest mode. I assumed that sharing how to make it work would be helpful, because simply changing that variable and the mins and maxes for the AI class spawns isn't enough.
Qdin
Old School Staff
Posts: 2059
Joined: Wed Feb 23, 2005 9:54 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

RE: An extremely Important announcement!

Post by Qdin »

didn't you look at Kyross's message? :o

it might be easier to just do it the 'old fashion way' instead of UBerMode :roll:
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: An extremely Important announcement!

Post by jangoisbaddest »

What do u mean "old fasion way?"
Kyross

RE: An extremely Important announcement!

Post by Kyross »

Who really knows. qeofjfpjtmv3t[v4ugmeu3e4g
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: An extremely Important announcement!

Post by jangoisbaddest »

So there IS another way to sucessfully add bots on the field without using ubermode? I was under the impression that this was not the case.
Gunjak

RE: An extremely Important announcement!

Post by Gunjak »

Do it the way jango said its so easy and it works, i have like 60 units per side running around on the field
Mikey_bizzle441

RE: An extremely Important announcement!

Post by Mikey_bizzle441 »

Yes!!!!! Battlefront Earth isnt going to be a barren waste anymore! :)
Kyross

RE: An extremely Important announcement!

Post by Kyross »

Way back in the day we just had to set unit and reinforcement ccounts and how many of each unit would spawn. You kids and your confangled minimums and maximums and ubermodes...
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: An extremely Important announcement!

Post by [RDH]Zerted »

So we have
Method 1: SetUberMode(1); (I don't think you need the ';')
What is method 2?
Kyross

RE: An extremely Important announcement!

Post by Kyross »

ThERE IS NO METHOD 2 >:O
BF2-Master
Captain
Captain
Posts: 469
Joined: Thu Mar 02, 2006 7:08 pm

RE: An extremely Important announcement!

Post by BF2-Master »

Somebody add pics please!
Riser

Post by Riser »

Uber mode is awesome - worked striaght away :D

My Mygeeto is starting to look better now
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

Post by Teancum »

Why do you need pics? It's not showing off a mod.
forresal

Post by forresal »

Why do you need pics? It's not showing off a mod.

You beat me to it, Tean!!
drummerzoid1

Post by drummerzoid1 »

ok sorry to revive this but after i used uber mode it won't let me play as the CIS, can anyone help? sorry to hijack it too but didn't want to start a new one and i also think it may have to do with the earlier posted ';'

SetUbermode(1);

is what i have.
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

Post by jangoisbaddest »

That shouldn't make any difference - the first time I tried that, it worked fine.
As a matter of fact, if you figure out what is stopping you from spawning as that team, tell me! Because I wanted to inhibit human players to play on one team for one of my mods and never figured out how.
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:

Post by [RDH]Zerted »

The following lua code will kill any human spawning on the attacking side. Put it inside the ScriptPostLoad() function. There are many ways to do what you ask, this is just one of them.
--every time a human spawns as the attacking team, kill it.
spawning = OnCharacterSpawnTeam(
function(character)
if IsCharacterHuman(character) then
--message to tell human why he/she died
ShowMessageText( "message.wrongside", ATT )
KillObject(GetCharacterUnit(character))
end
end, ATT
)
Post Reply