Pardon me for bumping an old topic but it has not been a month since the last person replied. I have messed with this a while and I got good progress at running the Rise of Empire levels on the Black Bag Ops server manager.
You should first you know how to re-create a custom mission.lvl using the asset/stock scripts - You can learn how at this site.
I will explain anyway, first go to Bf2 mod tools Assets\Scripts and copy all of the 3 letter folders. Paste them inside
Data_*** \ common \ scripts - where your Data_*** scripts are located.
Inside data_*** \ common , edit the mission.req so it looks like this:
- admins edit this post to hide the list of map codes
Next inside data_*** \ common \ scripts
Go to each folder , example COR and open cor1c_c.lua
This is where it becomes important. on each campaign lua script, remove these codes! some scripts will have more than 1 of these codes:
Code: Select all
SetMissionEndMovie("ingame.mvs", "cormon02")
ScriptCB_PlayInGameMovie("ingame.mvs","cormon01")
these are the 2 codes you need to remove from each _c.lua - they prevent the battlefrontii.exe from loading those levels in the server manager.
When you have done that, run the visualmunge inside data_***\ build
When visualmunge ends, go to data_*** \ lvl_pc - your mission.lvl is created and contains all the regular maps + the edited campaign lua scripts.
Put this file in your server's mission file location and replace.
When your server starts, (need 1 basic map to launch from) you can then go in game and use the admin login commands and run a campaign level /admin /changemap cor1c_c
How ever I said earlier not all levels work, and I also got a handful amount of bugs I can't fix regarding those levels.
Here is the list of problems I put together, and explains which levels work and don't
Bugs:
No jumping - you cannot jump - cannot fix this , pretty odd.
Players cannot enter vehicles - the space maps that work become useless hangar traps
The amount of ai bots cannot be controlled from server options
Geonosis training level - this level works until you are asked to "change to the engineer class"
- the engineer is not added to the CP - objectives becomes stuck
Players cannot fly - can't jump to fly anyway
Some times certain teams will look friendly but will be enemy - and you can still kill them
example: fel1c_c: Acklay appeared as blue but were red and could be killed
The last thing you need to know is that I have done various things to my campaign scripts to make levels work or that killed other levels , note that your outcomes may change from mine but what I gathered here is 80% accurate regarding which levels work without issues.
EDIT: I forgot an important part:
you MUST skip the game movies or the server times you out and will disconnect you.