How do you add a new Era/Mode to an existing map???

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
Sky_216
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2086
Joined: Mon Feb 13, 2006 3:28 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

How do you add a new Era/Mode to an existing map???

Post by Sky_216 »

Title says it all, really.
I've got a new script for Tantine 4, called it tan1e_con (rather than tan1g_con). How do I get it to show up in game, selectable from the 'eras' or 'modes' menues in instant action???
User avatar
Frisbeetarian
Jedi
Jedi
Posts: 1233
Joined: Wed Sep 12, 2007 3:13 pm

Re: How do you add a new Era/Mode to an existing map???

Post by Frisbeetarian »

Adding Hunt Mode- FAQ Tread wrote:6. Now navigate to "BF2_ModTools\data_***\Common"
7. Open Mission.req
8. Add this line:

Code: Select all

"***^ERA^_hunt" (With quotes)
Next to the other lines that look like this:

Code: Select all

"***g_con"
9. Navigate to "BF2_ModTools\data_***\addme"
10. Open addme.lua
11. Add

Code: Select all

mode_hunt_^ERA^ = 1,
right after

Code: Select all

mapluafile = "***%s_%s", era_g = 1, era_c = 1,
12. Go to the AddDownloadableContent section and a new line:

Code: Select all

AddDownloadableContent("***","***^ERA^_hunt",4)
Try that for a new mode.
Last edited by Frisbeetarian on Fri Aug 15, 2008 2:27 am, edited 1 time in total.
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: How do you add a new Era/Mode to an existing map???

Post by AQT »

Skyhammer_216, custom eras need to be coded in. Have you looked at this thread?:

UnOfficial v1.3 Patch - revision 25

If you look on the first page, you will see a section called "Expected Era Support" with a list of custom eras. It seems like E, as in the e in tan1e_con has already been taken by the Earth Era. Get a hold of [RDH]Zerted so he can assign a letter for your custom era. Once it has been implemented and released with a future revision of the UnOfficial v1.3 Patch, download and install it. Your custom era will then be supported. :)
User avatar
Sky_216
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2086
Joined: Mon Feb 13, 2006 3:28 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: How do you add a new Era/Mode to an existing map???

Post by Sky_216 »

Thanks AQT!!
Post Reply