Page 1 of 1
Limits:
Posted: Sat Jun 20, 2015 10:32 am
by ARC1778
Hello, I do not have BF2 for PC just yet, I was a sony girl, so it was PS2 BF for me!

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?
Re: Limits:
Posted: Sat Jun 20, 2015 11:40 am
by MileHighGuy
Re: Limits:
Posted: Sat Jun 20, 2015 1:07 pm
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
Re: Limits:
Posted: Sun Jun 21, 2015 8:28 am
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?
Re: Limits:
Posted: Sun Jun 21, 2015 11:34 am
by hunpeter12
I think only the weapons of the auto-turrets will be the same, not the models.
Re: Limits:
Posted: Sun Jun 21, 2015 11:39 am
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.
Re: Limits:
Posted: Sun Jun 21, 2015 2:22 pm
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?
Re: Limits:
Posted: Sun Jun 21, 2015 5:27 pm
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.)
Re: Limits:
Posted: Sun Jun 21, 2015 7:30 pm
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.
Re: Limits:
Posted: Tue Jun 23, 2015 12:23 am
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.
Re: Limits:
Posted: Tue Jun 23, 2015 2:39 am
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.
Re: Limits:
Posted: Wed Jun 24, 2015 3:57 am
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.

Re: Limits:
Posted: Mon Jul 13, 2015 1:00 am
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.
Re: Limits:
Posted: Fri Jul 24, 2015 12:47 am
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?
Re: Limits:
Posted: Fri Jul 24, 2015 9:52 am
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
Re: Limits:
Posted: Fri Jul 24, 2015 4:55 pm
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?
Re: Limits:
Posted: Sat Jul 25, 2015 1:31 am
by Eaol
Yeah, I don't have it for any other platform.
