Page 1 of 1
How to randomize heroes from a specific pool on a stock map?
Posted: Sun Jun 25, 2017 4:59 pm
by armyman12345
I'm new to the SWB2 mod community, and I really wanted to do something, on some maps, I want to randomize the heroes, but I want a specific pool, as in, in Geonosis, I want Jango Fett, General Grievous and Count Dooku to be possible heroes for the CIS each match, but only them, and no one else.
Any help would be appreciated
Re: How to randomize heroes from a specific pool on a stock
Posted: Sun Jun 25, 2017 9:13 pm
by ARCTroopaNate
Hi armyman!
Here is a link on how to do that, in the future, it usually pays of to check the modding FAQ or the search function, it can answer a lot of questions.
http://www.gametoast.com/viewtopic.php?f=27&t=19003
Welcome to gametoast!
Re: How to randomize heroes from a specific pool on a stock
Posted: Sun Jun 25, 2017 9:33 pm
by armyman12345
Thank you a lot for your link.
I have been spending the previous few hours trying to learn how to edit a mod, instead of making your own, but to no avail. The mod I want to edit in particular is the BFX mod, yet, I don't even know what files to open or how to open them, and most of the guides I've come across don't go too much into detail as to editing a mod instead of making one. Any help is wanted.
Re: How to randomize heroes from a specific pool on a stock
Posted: Mon Jun 26, 2017 2:41 am
by CT108
I think that you need the permission of the BFX creators to edit the mod, and as far as I know, there isn't any tool that can open the lvl files (Notepad ++ can open the lvl files, but it's impossible to edit something). But if you want to edit the stock map and the stock sides in the future, there's some good tutorials in the FAQ

Re: How to randomize heroes from a specific pool on a stock
Posted: Mon Jun 26, 2017 12:12 pm
by armyman12345
CT108 wrote:I think that you need the permission of the BFX creators to edit the mod, and as far as I know, there isn't any tool that can open the lvl files (Notepad ++ can open the lvl files, but it's impossible to edit something). But if you want to edit the stock map and the stock sides in the future, there's some good tutorials in the FAQ

IIRC, in the readme for the BFX assets, they said that you only need permission if you're uploading the edited mod to a site. Also, is there any way to unpack, edit a lvl file then repack it? I'm pretty sure that it's not impossible to edit those fully. I just want the mission.lvl open
Re: How to randomize heroes from a specific pool on a stock
Posted: Mon Jun 26, 2017 12:50 pm
by Teancum
Battlefront is different than your average game. Everything is compiled before being put into a .lvl container, so even extracted it's in a different format than the mod tools can use. You'd need to get the original scripts/assets from the author.
Re: How to randomize heroes from a specific pool on a stock
Posted: Mon Jun 26, 2017 2:39 pm
by armyman12345
Alright, I'm dumb, I found the original BFX assets and I have the LUA files. Sorry if I'm asking for a lot, but what now? How do I open or edit them and recompile them?
Re: How to randomize heroes from a specific pool on a stock
Posted: Mon Jun 26, 2017 4:33 pm
by CT108
armyman12345 wrote:
IIRC, in the readme for the BFX assets, they said that you only need permission if you're uploading the edited mod to a site.
Oh ok, I never knew it, sorry!
armyman12345 wrote:Alright, I'm dumb, I found the original BFX assets and I have the LUA files. Sorry if I'm asking for a lot, but what now? How do I open or edit them and recompile them?
Now you just have to create a new map, custom your sides and the lua file with the BFX assets, and add your new era to the stock maps. There's a lot of tutorials that can help you in the FAQ, now have fun !
Re: How to randomize heroes from a specific pool on a stock
Posted: Mon Jun 26, 2017 6:20 pm
by armyman12345
I've learned how to edit a LUA file and how to edit a shipped map, but what do I do now? How would I edit BFX itself so I can put my edits in the game?
Re: How to randomize heroes from a specific pool on a stock
Posted: Tue Jun 27, 2017 1:23 am
by CT108
Just replace your sides by the BFX sides

Re: How to randomize heroes from a specific pool on a stock
Posted: Tue Jun 27, 2017 9:31 pm
by armyman12345
Yeah, I don't get it. BFX doesn't have any files for any of the maps. I edited the scripts and just the scripts and i munged them. I just don't get it. I wanted to edit Geonosis, but still, do I have to replace everything in the scripts with GEO? I just want to edit the scripts for geonosis and I can't even edit the map for geonosis because again, the BFX folder doesn't have anything on it.
Can anyone just help me step by step? None of the faqs help me that much, since a lot of them don't go too much into detail
Re: How to randomize heroes from a specific pool on a stock
Posted: Wed Jun 28, 2017 4:38 am
by CT108
Alright there is 3 tutorials that might be usefull for you, here you go :
1) How to create a new era
http://www.gametoast.com/viewtopic.php? ... 96#p287596
2) How to add your side mod to a stock map (scroll down to the Zerted's post, and do the 4th method)
http://www.gametoast.com/viewtopic.php?f=27&t=15120
3) There's how to edit the addme
http://www.gametoast.com/viewtopic.php?f=27&t=16273
Re: How to randomize heroes from a specific pool on a stock
Posted: Wed Jun 28, 2017 11:22 am
by armyman12345
Followed instructions, still came up with errors along the way. Do I need to edit all maps at once?
Re: How to randomize heroes from a specific pool on a stock
Posted: Wed Jun 28, 2017 12:04 pm
by CT108
armyman12345 wrote:Followed instructions, still came up with errors along the way. Do I need to edit all maps at once?
What are the errors ?
Re: How to randomize heroes from a specific pool on a stock
Posted: Wed Jun 28, 2017 12:08 pm
by armyman12345
All the maps don't have the BFX era anymore except a new geonosis map, which crashes if you load it up.
Re: How to randomize heroes from a specific pool on a stock
Posted: Wed Jun 28, 2017 12:47 pm
by CT108
Do you have any error in your BFront2 log ? (C:\Program Files (x86)\SWBF2_location\Star Wars Battlefront II\GameData)
Re: How to randomize heroes from a specific pool on a stock
Posted: Wed Jun 28, 2017 4:02 pm
by Marth8880
Teancum wrote:Battlefront is different than your average game. Everything is compiled before being put into a .lvl container
Off-topic: Well, technically speaking that's actually how most games do it. Very few games load their assets as loose files (for legal reasons, naturally) - the only exception I can really think of is the Microsoft Flight Simulator games.
Re: How to randomize heroes from a specific pool on a stock
Posted: Thu Jun 29, 2017 9:18 pm
by armyman12345
CT108 wrote:Do you have any error in your BFront2 log ? (C:\Program Files (x86)\SWBF2_location\Star Wars Battlefront II\GameData)
I didn't save the log when it crashed, sorry.
All I'm changing is geo1a_con.lua and geo1b_con.lua . Can you help me do it with the BFX mod?
Re: How to randomize heroes from a specific pool on a stock
Posted: Thu Jun 29, 2017 10:01 pm
by ARCTroopaNate
Just play with the debug again and let it crash, it will generate a new log.
Re: How to randomize heroes from a specific pool on a stock
Posted: Mon Jul 03, 2017 1:31 am
by armyman12345
Can't, deleted the map