[Help] How do I add eras to maps from modpacks?

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
Sniggyfigbat
Posts: 1
Joined: Mon Dec 28, 2020 11:47 am
Projects :: No Mod project currently.
Games I'm Playing :: SWBFII2005
xbox live or psn: No gamertag set

[Help] How do I add eras to maps from modpacks?

Post by Sniggyfigbat »

I have installed the Conversion Pack, its 2.2 patch, the SWBF2 Remaster (1.5r2), and BattleFront Extreme 2.2. (And, as part of these, I'm 99% sure I've got Unofficial Patch 1.3r130 installed).

All these are now working and they're pretty cool. There's a problem, though: I can't use BattleFront Extreme's improved/overhauled eras in Conversion Pack maps.

I have a hex editor, an install of the mod tools with the vista patch, SleepKiller's Unmunge, and a dream. How do I add the BFX eras to the BFC maps? Overriding the original eras is fine if that's necessary; the BFE ones are better.

Could anyone walk me through this or even just point me in the right direction? I've spent many hours chasing this on google, and I've managed to successfully build an addme.script which will enable an era on a map in the mission selector, but then I get stuck; it crashes as soon as I try to launch it. The 1.3 how-to docs suggest I need to build mission lua scripts for each map, but I can't work out if that's correct or what I should put in the lua to match the BFX setup. I've also, in desperation, tried just overwriting the vanilla 'side' files with the BFX ones, and that (unsurprisingly) doesn't work and breaks things. It's all rather like banging my head against a wall.

Any help would be much appreciated! Hell, just pointing me at some source code for other mods might help; nobody seems to publish the pre-munged files for anything, and Unmunge is a little shakey.
User avatar
Kingpin
Jedi
Jedi
Posts: 1096
Joined: Fri Sep 13, 2013 7:09 pm
Projects :: The Sith Wars II
Location: Denver, CO
Contact:

Re: [Help] How do I add eras to maps from modpacks?

Post by Kingpin »

Hi, here's some info on creating new era support:
http://www.gametoast.com/viewtopic.php? ... 96#p287596
There is always helpful information in the FAQ thread, which I linked here:
viewtopic.php?f=27&t=13806
Your best bet is recreating missions for each map/era you want, and just load BFX units instead of convo pack units. I don't think you would be able to release this without the BFX and Convo Pack creator's permission, but should be fine for personal use. You can download the BFX assets and convo pack assets too here, if you want to edit them more:
http://www.gametoast.com/viewtopic.php?f=64&t=9450
http://www.gametoast.com/viewtopic.php?f=64&t=17397
Hope this helps!
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: [Help] How do I add eras to maps from modpacks?

Post by Anakin »

Sniggyfigbat wrote:
Mon Dec 28, 2020 3:39 pm
[...]
I have a hex editor, an install of the mod tools with the vista patch, SleepKiller's Unmunge, and a dream.
[...]
i like your style :funny2:

Kingpin already pointed out the correct positions to search in and the legal part. For personal usage, no problem.

Easiest way is, you get the ConVo mission scripts. But i don't think you'll get them. So you need to recreate them. You can assume, that they are pretty much the default once. So create a new custom map and use that mission as template. Next you need to find out map specific things. Those are cp names for example. You can find them out using your hex editor. I did the same years ago with the SWBF1 converted maps for my RC mod. Was a pain until Marvel4 send me his missions :wink:
But unmunge should make things easier.

So to conclude:
- only personal usage
- learn about how to make era mods (Kingpin's links)
- make a custom era mod and get it working on a testmap first.
- You need to find out the names of the BFx units (Unmunge should help here a lot)
- recreate the mission for one ConVo Map, first and get it working.
- proceed with the other maps
Post Reply