Limits:

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
ARC1778
Sergeant Major
Sergeant Major
Posts: 230
Joined: Sat Jun 20, 2015 7:44 am
Projects :: WARFRONT + Various Mods for Other Games
Games I'm Playing :: SWBF2+RC+RTW MTW NTW
xbox live or psn: AlexisVixie
Location: Glasgow, tumblr.

Limits:

Post by ARC1778 »

Hello, I do not have BF2 for PC just yet, I was a sony girl, so it was PS2 BF for me! :P But i have some experience modding Napoleon, Rome, and Medieval 2 total war , and I was wondering, what are the hard limit's for the game?

How many unit's can one have on one side?
Is it hard to add new modes?
How many modes can we have?
What is the max number of units?
How many vehicles can be on one map?
MileHighGuy
Jedi
Jedi
Posts: 1194
Joined: Fri Dec 19, 2008 7:58 pm

Re: Limits:

Post by MileHighGuy »

http://www.gametoast.com/viewtopic.php?f=27&t=13034

I think you can have 32 vehicles?
User avatar
Lorul1
Rebel Colonel
Rebel Colonel
Posts: 562
Joined: Wed Apr 24, 2013 10:34 pm
Projects :: Assault on Theed
Games I'm Playing :: Battlegrounds
xbox live or psn: No gamertag set
Location: Your House

Re: Limits:

Post by Lorul1 »

its not hard to add (or rename) modes (:


if your thinking of modding with us you might want to start here

viewtopic.php?f=27&t=13806

and if you click the link below that might answer some of your limitation questions

http://www.gametoast.com/viewtopic.php?f=27&t=13034
ARC1778
Sergeant Major
Sergeant Major
Posts: 230
Joined: Sat Jun 20, 2015 7:44 am
Projects :: WARFRONT + Various Mods for Other Games
Games I'm Playing :: SWBF2+RC+RTW MTW NTW
xbox live or psn: AlexisVixie
Location: Glasgow, tumblr.

Re: Limits:

Post by ARC1778 »

Ah, excelent! Thank you both!

Futher question not answered in the limits thread:

Only one deployable turret can exist per game, my question is, need can they look different for each side?
hunpeter12
Command Sergeant Major
Command Sergeant Major
Posts: 260
Joined: Mon Apr 18, 2011 2:53 pm
Projects :: Underground City The Complex [WIP]
Games I'm Playing :: SWBF2

Re: Limits:

Post by hunpeter12 »

I think only the weapons of the auto-turrets will be the same, not the models.
Bob
Brigadier General
Brigadier General
Posts: 633
Joined: Thu May 27, 2010 4:28 am
Location: at home

Re: Limits:

Post by Bob »

You actually can have completely different autoturrets, they just need their own parent class each instead of a common one. It's weird, but remember what engine we are talking about here.
ARC1778
Sergeant Major
Sergeant Major
Posts: 230
Joined: Sat Jun 20, 2015 7:44 am
Projects :: WARFRONT + Various Mods for Other Games
Games I'm Playing :: SWBF2+RC+RTW MTW NTW
xbox live or psn: AlexisVixie
Location: Glasgow, tumblr.

Re: Limits:

Post by ARC1778 »

Bob wrote:You actually can have completely different autoturrets, they just need their own parent class each instead of a common one. It's weird, but remember what engine we are talking about here.
Do you think you could link me to the code?
hunpeter12
Command Sergeant Major
Command Sergeant Major
Posts: 260
Joined: Mon Apr 18, 2011 2:53 pm
Projects :: Underground City The Complex [WIP]
Games I'm Playing :: SWBF2

Re: Limits:

Post by hunpeter12 »

Open com_weap_inf_autoturret.odf in sides/Common/odf, duplicate and rename it. Now find the ..._weap_inf_autoturret.odf in whichever side's folder you're editing and duplicate that too and rename it. Open the newly created odf and change the ClassParent to the name of the other file in the Common/odf folder, which you mad earlier. You have to do this for each different autoturret class. (At least this is how I'd do it.)
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: Limits:

Post by [RDH]Zerted »

Without v1.3 it was impossible to have new game modes show up as new game modes (you could still create them). v1.3 adds a bunch of different game mode ids and lets you rename them. This gives the illusion of supporting an unlimited number of game modes (and eras). Game modes are coded in Lua and you have complete control to do anything the game supports. You aren't limited to the rules of a specific game mode.

However users are limited to 400 missions. You should be able to get around this limitation by having a generic map load some other missions based off a saved user state or some selection from a new shell control, but that won't work for online games unless you take extreme care in creating the switching missions.
ARC1778
Sergeant Major
Sergeant Major
Posts: 230
Joined: Sat Jun 20, 2015 7:44 am
Projects :: WARFRONT + Various Mods for Other Games
Games I'm Playing :: SWBF2+RC+RTW MTW NTW
xbox live or psn: AlexisVixie
Location: Glasgow, tumblr.

Re: Limits:

Post by ARC1778 »

Sorry for being a N00B but might you explain what a Mission is defined as to me? Also there's no limit to eras?

Thank you gentlmen.
User avatar
AnthonyBF2
Sith
Sith
Posts: 1255
Joined: Wed Aug 21, 2013 3:55 pm
Projects :: PS2+PSP Overhaul

Re: Limits:

Post by AnthonyBF2 »

A mission is any single map/mode/era script.

Example: Mos Eisley Assault is 1 mission.
Each mission loads a world, characters, assigns characters to sides, adds game mode objective, etc.
ARC1778
Sergeant Major
Sergeant Major
Posts: 230
Joined: Sat Jun 20, 2015 7:44 am
Projects :: WARFRONT + Various Mods for Other Games
Games I'm Playing :: SWBF2+RC+RTW MTW NTW
xbox live or psn: AlexisVixie
Location: Glasgow, tumblr.

Re: Limits:

Post by ARC1778 »

Is it possible to have factions to have different rates of spawn, like 50% for regulars for one faction, and 10% for another?

Also can the "follow me function from the first game be re-implemented? Where you just hit and four guys link up with you? and can it be increased to 9 men? and can the type of trooper that will follow you be pre-determined?

Also is it possible to fill a map with water without units taking damage? I.e. an underwater level? Would it need special classes where they all count as vehicles? OR where there is only the "look" of water but no coding for it present? Sort of like an environmental effect?

Thank you for you further help. :)
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: Limits:

Post by [RDH]Zerted »

Originally the game only had two era codes. v1.3 added a lot more (see its readme). It also enabled you to rename an era for you map, so that gives the illusion of unlimited eras. You can only use a valid era code, but you can change that era's name to whatever you want so it seems like a completely new era. The original game didn't let you rename eras or game modes on a per map basis.

There is a function to adjust the AI spawn rates of each time. I don't remember that name offhand. It's in the docs and all the scripts.

That follow me function exists in single-player only. The F# commands don't work in multiplayer. You can hack in a very limited version of it, but it wouldn't scale to more than a few human players. If it's a SP only map than that isn't a problem. If it's a MP map than it probably wouldn't be useful unless the command was limited to a unit classes that only had 1-3 spawned units and it'd be difficult to code. This part of the discussion is continued in your other topic.

I believe there are underwater maps with faked water. Go look at how they did it.
Eaol
Major
Major
Posts: 510
Joined: Fri Jul 31, 2009 5:49 pm
Games I'm Playing :: SWBF2 and Warframe
Location: Everywhere.

Re: Limits:

Post by Eaol »

[RDH]Zerted wrote:That follow me function exists in single-player only. The F# commands don't work in multiplayer. You can hack in a very limited version of it, but it wouldn't scale to more than a few human players. If it's a SP only map than that isn't a problem. If it's a MP map than it probably wouldn't be useful unless the command was limited to a unit classes that only had 1-3 spawned units and it'd be difficult to code. This part of the discussion is continued in your other topic.
Wait, if you're talking about the "Follow Me, Move Out" button, I've been playing both singleplayer and multiplayer with friends and we're all able to use the follow me in multiplayer to form our own little squads (usually 2 people but it depends on your rank in the career section in the main menu - I think) simultaneously. It's the same controls for multiplayer as in singleplayer. Are we not talking about this?
JazzMaster
Master Sergeant
Master Sergeant
Posts: 166
Joined: Sun Mar 31, 2013 2:56 pm
Projects :: Cato Neimoidia- Invasion
Games I'm Playing :: Battlefront 2
xbox live or psn: No gamertag set

Re: Limits:

Post by JazzMaster »

I'm not sure about ground vehicles, but you can have up to around 100 flyers on a map. you'll just have issues like engine effects missing and engine sounds not loading
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: Limits:

Post by [RDH]Zerted »

Eaol wrote:Wait, if you're talking about the "Follow Me, Move Out" button, I've been playing both singleplayer and multiplayer with friends and we're all able to use the follow me in multiplayer to form our own little squads (usually 2 people but it depends on your rank in the career section in the main menu - I think) simultaneously. It's the same controls for multiplayer as in singleplayer. Are we not talking about this?
Is this on the PC?
Eaol
Major
Major
Posts: 510
Joined: Fri Jul 31, 2009 5:49 pm
Games I'm Playing :: SWBF2 and Warframe
Location: Everywhere.

Re: Limits:

Post by Eaol »

Yeah, I don't have it for any other platform. :P
Post Reply