CTF game mode still being munged after being removed

Started by garbo, November 04, 2026, 09:42:30 AM

Previous topic - Next topic
Hi,
I created a new map (ABC with Conquest and CTF game modes, as a tutorial), edited the map and stuff, then tried to remove the CTF mode.
However, when munged, the game mode still appears listed. I have also noticed that data_ABC/_BUILD/Common/MUNGED/PC has the .lvl and .script files of the ctf mode (even when I remove them manually and then remunge).
This is what I tried:
- removing gamemodes and layers from the zeroeditor (gamemodes -> configure -> remove + update req and mrq)
- reviewing all of the .wld, .req and .ldx. I see no reference to the ctf layer.
- munge ABC
- clean all, then munge all
- manual clean (then munge), as stated https://www.swbfgamers.com/index.php?topic=3036.0
- manually removing the ABC folder from the addon folder
Do you have any clue on that?
Many thanks!

I am not too experienced with SWBF2 but it should be the same process as in SWBF1.

Did you try modifying the addme? `data_ABC\addme\addme.lua`

Perhaps removing `mode_ctf_g = 1, mode_ctf_c = 1` or changing the values to `0` does what you want.

...
sp_missionselect_listbox_contents[sp_n+1] = { isModLevel = 1, mapluafile = "ABC%s_%s", era_g = 1, era_c = 1, mode_con_g = 1, mode_con_c  = 1, mode_ctf_g = 1, mode_ctf_c  = 1, mode_1flag_g = 1, mode_1flag_c  = 1, mode_eli_g = 1,}
...

You may want to checkout the Gametoast discord server.
There is a bunch of helpful people.