Page 1 of 1

Server mod mission.lvl (for SWBF1)

Posted: Sat Aug 23, 2008 10:45 am
by BattleBelk
Tool for build original mission.lvl PC file

How to use:
go edit mission lua scripts and then press munge.bat for build mission.lvl and replace original mission.lvl located in Star Wars Battlefront\GameData\Data\_LVL_PC\ to yours

Folders structure:
scripts - mission lua scripts for maps
_lvl_pc - munged mission.lvl
bin - binaries tools from pandemic mod tool
munged - munged scripts
reqs - req files for wrap munged scripts in mission.lvl
addon - folders and files for buil mission.lvl (TATOOINE: JABBA)

DOWNLOAD

What it gives?
You can edit original mission lua scripts for your server

Some examples:

No jet server mod:
Hidden/Spoiler:
[code]ReadDataFile("SIDE\\rep.lvl",
"rep_fly_assault_dome",
"rep_inf_basic",
"rep_inf_jet_trooper",
"rep_inf_macewindu");[/code]
change for your map to
[code]ReadDataFile("SIDE\\rep.lvl",
"rep_fly_assault_dome",
"rep_inf_basic",
"rep_inf_macewindu");[/code]
and anyone who joined to your moded server will not be able to chose jet or u can chage jet to local side for example java on tatooine :mrgreen:
Hidden/Spoiler:
[code] -- Republic Stats
SetTeamName(REP, "Republic");
SetTeamIcon(REP, "rep_icon");
AddUnitClass(REP, "rep_inf_clone_trooper",11)
AddUnitClass(REP, "rep_inf_arc_trooper",3)
AddUnitClass(REP, "rep_inf_clone_pilot",4)
AddUnitClass(REP, "rep_inf_clone_sharpshooter",4)
AddUnitClass(REP, "tat_inf_jawa",3)
SetHeroClass(REP, "rep_inf_macewindu");[/code]
now who chosen jet will spawn as java (same thing for all local sides on planet: ewoks on endor, gamorrean on jabba etc.)

No vehicle server mod
Hidden/Spoiler:
[code] ReadDataFile("SIDE\\all.lvl",
"all_fly_snowspeeder",
"all_inf_basicsnow",
"all_inf_lukeskywalkersnow",
"all_inf_smugglersnow",
"all_walk_tauntaun")[/code]
remove speeders from Hoth!
[code] ReadDataFile("SIDE\\all.lvl",
"all_inf_basicsnow",
"all_inf_lukeskywalkersnow",
"all_inf_smugglersnow",
"all_walk_tauntaun")[/code]
Mix your side! Give DT to rebels, jet to CIS etc. I used this tool for call death regions in my antiglitch mod

Some limitation: you can't load side from other map (it will get crash for not modded clients) but you can do it just for fun singleplayer mod or simple others need also install it

Re: Server mod mission.lvl

Posted: Sat Aug 23, 2008 12:12 pm
by MasterFang1
:eek: Great job BattleBelk! I will definetly be using this :D !!

EDIT: This works online with people that don't have a modded mission.lvl right?

Re: Server mod mission.lvl

Posted: Sat Aug 23, 2008 12:26 pm
by BattleBelk
no jet, no vehcile and using local side works as server mod it means only server need installed it (normal server or dedicated server software), load side from other mission lua dosent work
and others things need simple test for example I changed bleeding for ESL 1on1 server mod