Taking off eras.

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
GuitarMan
Command Sergeant Major
Command Sergeant Major
Posts: 268
Joined: Tue Jul 11, 2006 6:41 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Taking off eras.

Post by GuitarMan »

I was wondering if there was any way to take eras off of a mod? In other words is there any way to take the GCW or CW era off of the instant action menu? I tried messing with the addme but that only made it crash.
Rekubot
Jedi
Jedi
Posts: 1080
Joined: Wed Apr 05, 2006 12:34 pm
Projects :: No Mod project currently.
Games I'm Playing :: Shadow Complex
xbox live or psn: Rekubot
Location: UK

RE: Taking off eras.

Post by Rekubot »

Sure. Open up the addme.lua and remove either "era_g = 1," or "era_c = 1," depending on which era you wish to remove. (g is Galactic Civil War and c is the Clone Wars.) You don't have to remove anything else, just make sure you remove the comma at the end as well.
Pi314

Post by Pi314 »

You mean of maps you create yourself?
I haven't tried this but I think if you add .bak behind the .lua files of the maps you don't want.
???g_con.lua >>> ???g_con.lua.bak to disable civil war conquest in the map ???.

drat! my bro was distracting me so that reku got to post before me. T_T
MasterSkywalker
Major
Major
Posts: 501
Joined: Mon Apr 17, 2006 1:44 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by MasterSkywalker »

No, .bak files are back-up files of the original lua script included in the assets ;)

Soul
GuitarMan
Command Sergeant Major
Command Sergeant Major
Posts: 268
Joined: Tue Jul 11, 2006 6:41 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by GuitarMan »

Thanks guys, for your help. It worked, :) .
Pi314

Post by Pi314 »

MasterSkywalker wrote:No, .bak files are back-up files of the original lua script included in the assets ;)

Soul
Yes, but the ones unused are .bak as well. So I figure when there is no .lua the munger will not create that gametype. Could as well delete them. But seeing as the other way worked it doesn't matter.
Post Reply