Server mod mission.lvl (for SWBF1)

Releasing the source files for your mod or map? Post em' here. (Applies to both SWBF1 & SWBF2)

Moderator: Moderators

Post Reply
BattleBelk
Private First Class
Posts: 77
Joined: Thu Jun 28, 2007 7:08 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Russia
Contact:

Server mod mission.lvl (for SWBF1)

Post 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
Last edited by BattleBelk on Wed Jul 15, 2009 5:50 pm, edited 1 time in total.
MasterFang1
Corporal
Corporal
Posts: 144
Joined: Sat Apr 05, 2008 4:30 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Server mod mission.lvl

Post 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?
BattleBelk
Private First Class
Posts: 77
Joined: Thu Jun 28, 2007 7:08 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Russia
Contact:

Re: Server mod mission.lvl

Post 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
Post Reply