jweigelt/swbf2admin

Adding modded maps with custom sides and gamemodes

Opened this issue · 3 comments

Hello, I am trying to run a modded dedicated server however I am running into issues importing the modded maps into the SQL database. How do i learn the ID's for the custom gamemodes? I know you have a tool included that lets you calculate but how do I deal with custom game modes? Do i have to get documentation from the mod developers?
If it helps I'm trying to use Battlefront 3 legacy which has custom BF3 GCW and CW sides and a custom Orbital Assault mode

I can set the map and gamemode id's now but there's no way for me to use the custom sides letter X, the app only allows stock side letters

After some thinking an easy way to hack allowing this would be letting you edit the launch args before launching BF2.exe, that way if I know my map data is CN3x_Seige for example I could manually enter that.

The easiest way to add custom maps directly into the rotation is just to edit ServerRotation.cfg in the settings folder. This file is read by the game on launch as well as parsed by WebAdmin. Just add /addmap CN3x_Seige to the end of the file.

You can also edit maps.html and maps.js and add whatever custom modes and eras you want.