Welcome to myself, I guess.
I was actually wondering, is there a way, or more realistically, a mod to make heroes playable in SWBF?
Any suggestions welcome.
There most definitely is! I believe there's a couple mods around here already that make heroes playable. If you're looking to do it yourself, check out the thread here:
http://www.swbfgamers.com/index.php?topic=979.0
It's a guide to understanding the LUA. That's the file you'll need to edit to make heroes playable in any map you make.
What this requires is something called a "mission.lvl" mod. It is my favorite thing to mod for SWBF1 and also the easiest.
I will show you how this is done for one map, and you can change the others if you want.
First, you need this download:
http://www.swbfgamers.com/index.php?action=downloads;sa=view;down=319
Download file, extract it (you may need to get the 7zip extractor), go into the scripts folder, then BES folder, and open BES1a.lua with notepad.
You will see a section like this:
-- Alliance Stats
SetTeamName(ALL, "Alliance")
SetTeamIcon(ALL, "all_icon")
AddUnitClass(ALL, "all_inf_soldierurban",11)
AddUnitClass(ALL, "all_inf_vanguard",5)
AddUnitClass(ALL, "all_inf_pilot",5)
AddUnitClass(ALL, "all_inf_marksman",4)
AddUnitClass(ALL, "all_inf_smuggler",3)
SetHeroClass(ALL, "all_inf_lukeskywalker")
-- Imperial Stats
SetTeamName(IMP, "Empire")
SetTeamIcon(IMP, "imp_icon")
AddUnitClass(IMP, "imp_inf_storm_trooper",11)
AddUnitClass(IMP, "imp_inf_shock_trooper",5)
AddUnitClass(IMP, "imp_inf_pilottie",5)
AddUnitClass(IMP, "imp_inf_scout_trooper",4)
AddUnitClass(IMP, "imp_inf_dark_trooper",3)
SetHeroClass(IMP, "imp_inf_darthvader")
Now, make it look like this:
-- Alliance Stats
SetTeamName(ALL, "Alliance")
SetTeamIcon(ALL, "all_icon")
AddUnitClass(ALL, "all_inf_lukeskywalker",11)
AddUnitClass(ALL, "all_inf_vanguard",5)
AddUnitClass(ALL, "all_inf_pilot",5)
AddUnitClass(ALL, "all_inf_marksman",4)
AddUnitClass(ALL, "all_inf_smuggler",3)
SetHeroClass(ALL, "all_inf_lukeskywalker")
-- Imperial Stats
SetTeamName(IMP, "Empire")
SetTeamIcon(IMP, "imp_icon")
AddUnitClass(IMP, "imp_inf_darthvader",11)
AddUnitClass(IMP, "imp_inf_shock_trooper",5)
AddUnitClass(IMP, "imp_inf_pilottie",5)
AddUnitClass(IMP, "imp_inf_scout_trooper",4)
AddUnitClass(IMP, "imp_inf_dark_trooper",3)
SetHeroClass(IMP, "imp_inf_darthvader")
save the file, and double click on "munge.bat" then look in the folder LVL_PC.
replace your "mission.lvl" file with the newly created "mission.lvl" file in LVL_PC.
(back up your original mission.lvl file before over-writing it)
Now, start your game and for BES1a map (platforms, I think) you can select a soldier unit to play, but it will really be a hero.
Easy as that! :cheers: