3 Menu Questions

Making or wanting help making your own asset? Check in here
Post Reply
mft004
Posts: 33
Joined: 2017-12-14 17:37

3 Menu Questions

Post by mft004 »

Hello there,

I have 3 random questions for a wizard out there, on game settings chosen prior to a battle.

1) Currently, when I click on the 'Multiplayer' tab, the first sub-tab loaded up is 'Join Local'. Is there a way to change that so that clicking on 'Multiplayer' will bring up 'Create Local' first?

2) When I click the 'Create Local' sub-tab, the first battle type I see listed is 'Conquest'. Is there a way to change that to bring up 'Coop' battle types first?

3) Is there a way to change the default team loaded at the start of an SP (coop) round? At the moment it will put me on the US forces team, to choose a US kit/spawnpoint etc. Is there a way of starting out, by default, with the MEC team?

Many thanks for any help from wizards.
User avatar
Mineral
Retired PR Developer
Posts: 8534
Joined: 2012-01-02 12:37
Location: Belgium

Re: 3 Menu Questions

Post by Mineral »

The first 2 questions are flash menu related I think, and that cannot be modded. You basically would have to make a new menu (or edit the BF2 one). We don't hand out our menu flash source files.
Image
AlonTavor
PR:BF2 Developer
Posts: 2991
Joined: 2009-08-10 18:58

Re: 3 Menu Questions

Post by AlonTavor »

3 can be done through python by listening to onConnect and setting team to whatever you want.
Remember that the order of registering events counts, and if you register it before the autobalance then the autobalance will fire after switching.
Arab
PR:BF2 Developer
Posts: 2898
Joined: 2012-05-18 03:37

Re: 3 Menu Questions

Post by Arab »

Alternatively for 3, you would need to edit the init.con file in the level, and for most cases it's a line like init_usmc.con.

That is in the 16, 32, 64, 128 GamePlayObjects.con files. You switch team 1 or team2 with the team you would like.

Abbreviations can be found in faction_init.con.

Canadian = cf
British = gb
Militias = chinsurgents

Though if you want the voices to be different than the ones set in the main init, edit the init.con with the desired faction and remove any entry in the GPO.
Image
mft004
Posts: 33
Joined: 2017-12-14 17:37

Re: 3 Menu Questions

Post by mft004 »

That's the sweet stuff Arab, I'll get to work on those level files, many thanks again :)
Post Reply

Return to “PR:BF2 Community Modding”