Need help wih addind an era-mod

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
CdtFox
2nd Lieutenant
2nd Lieutenant
Posts: 379
Joined: Wed Feb 17, 2016 8:51 am
Projects :: BUC and Designated Days
Games I'm Playing :: SWBF2+EAW+Subnautica
xbox live or psn: No gamertag set
Location: France
Contact:

Need help wih addind an era-mod

Post by CdtFox »

Hey there,

I'm trying (for the first time... :faint: ) to add a new era to some/all stocks maps following this tutorial: http://www.gametoast.com/viewtopic.php? ... 96#p287596 (I want to add a new era to the Felucia map).

So first question, do I have to use the files of Zerted's 1.3 patch r117 (lite version as Sky_216 said)? I don't think so...but I'm not sure normally I can just copy the stocks scripts I need, directly from the 'assets' folder no?

After that I followed step 2 and 3 sucessfuly.

But I'm stuck with step 6:
6) Go to your 'mission'.req file (in the 'common' folder in your map) and edit the script files it says. It should have something along the lines of 'XXXc_con', 'XXXg_con' (where XXX is your maps three letter id). Add the name of the script you modified. So if you added era 'a' to mygeeto conquest, add 'myg1a_con' to your mission req.
WHY he is talking about "era a"??? He didn't speak about that before: (the little I know about this is that each era mod have his own letter...but correct me if i'm wrong)
So if you added era 'a' to mygeeto conquest, add 'myg1a_con' to your mission req.
What I've done:
Image

I've understood step 7 because it's the same process for just adding units...etc

According to step 8 I've changed my addme lua:
Image

and now when I want to munge i got this:
Image
Image

I checked my felucia script and I found the "unexpected symbol" near '(' I corrected it.

But I can't find a solution for the 2 next errors! The game can't even start! :runaway:

Thanks for the help GT :D
Samee3
First Lance Corporal
First Lance Corporal
Posts: 123
Joined: Sun Jul 05, 2015 5:07 pm
Projects :: BF2 Refresh Mod
Games I'm Playing :: Empire at War
xbox live or psn: VaporousFern310
Location: California, USA

Re: Need help wih addind an era-mod

Post by Samee3 »

1. Yes, you will need the 1.3 patch to get custom era mods to work properly.

2. The 'unexpected symbol' error produces the next two errors. If you have fixed the 'unexpected symbol', try munging again. If you still get the errors after that, try cleaning. If you STILL get the errors, post your 'addme.lua', and your 'mission.req'. Then we will see.

Hope this helps,
Sam
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: Need help wih addind an era-mod

Post by Anakin »

You can use the asset scripts. But you need the 1.3 patch installed.
The a is an example for the era code. You remember my thread, where I asked for used codes??
Your c is a bad choose, since it is stock clone wars.

Your unexpected symbol seams to be the * as an era code in your addme.

And you'll need the addme from the 1.3 files.
CdtFox
2nd Lieutenant
2nd Lieutenant
Posts: 379
Joined: Wed Feb 17, 2016 8:51 am
Projects :: BUC and Designated Days
Games I'm Playing :: SWBF2+EAW+Subnautica
xbox live or psn: No gamertag set
Location: France
Contact:

Re: Need help wih addind an era-mod

Post by CdtFox »

1. Yes, you will need the 1.3 patch to get custom era mods to work properly.
Yes, of course I have the lastest version of the 1.3 patch (r129) in order to play a lot of mods... :D
You can use the asset scripts.
Thanks that's what I want to know, I can't find the files located with the patch... :s
You remember my thread, where I asked for used codes??
Your c is a bad choose, since it is stock clone wars.
Yes, I remember your post...In ths case I'll use the letter 'U' for Ultimate Republic. But the reason why I didn't modified the stock name of the script is because I don't know when Sky_216 did that in his tutorial....Between step 5 and 6 maybe?
Your unexpected symbol seams to be the * as an era code in your addme.
Hum, in this case I should replace the * by the letter 'u'...ok

Thanks Samee3 & Anakin :)
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: Need help wih addind an era-mod

Post by Anakin »

You're welcome :D

For more information take a look at C:\Program Files (x86)\LucasArts\Star Wars Battlefront II\GameData\addon\AAA-v1.3patch\docs\howtos\ if you have the docs installed.
CdtFox
2nd Lieutenant
2nd Lieutenant
Posts: 379
Joined: Wed Feb 17, 2016 8:51 am
Projects :: BUC and Designated Days
Games I'm Playing :: SWBF2+EAW+Subnautica
xbox live or psn: No gamertag set
Location: France
Contact:

Re: Need help wih addind an era-mod

Post by CdtFox »

CdtFox wrote: Hum, in this case I should replace the * by the letter 'u'...ok
Someone know what letter Xavious used for his own mod 'Ultimate battlefront'? Unfortunately I think he used the letter 'u' no?
Anakin wrote:You're welcome :D

For more information take a look at C:\Program Files (x86)\LucasArts\Star Wars Battlefront II\GameData\addon\AAA-v1.3patch\docs\howtos\ if you have the docs installed.
Many thanks man :D It's very helpful!
Post Reply