Page 1 of 1
Removing missions from instant action
Posted: Sat Sep 05, 2020 2:37 pm
by Sporadia
I'm trying to take stock missions away from the instant action mission select screen. Is there an easy way to do that?
eg. I want to remove
dea1c_con and
dea1c_1flag from singleplayer instant action (make them unselectable).
Can I do that with the
addme? Does it require interface modding? I'm using Zerted's patch.
More Info:
Re: Removing missions from instant action
Posted: Sat Sep 05, 2020 7:39 pm
by Benoz
Era mods exist because they are intended not to mess with vanilla content so players can enjoy games on both the modded and the vanilla version of the map.
Why don't you just create two new eras? It's the same process with just another letter than 'c'. I'm not even sure if you can get rid of the stock era missions at all. If it is possible it would probably work like a regular mission removal in the addme.
Re: Removing missions from instant action
Posted: Sun Sep 06, 2020 7:11 am
by Sporadia
I don't have any issue with messing up vanilla content since you can always just remove the mod. That might be a personal preference but still.
As for the addme, I don't know how to remove missions with lua. I know how to add extra missions and alter existing missions. But the normal way of removing missions is just not adding the missions in the first place. Can't do that with stock.
Edit: The addme makes changes to sp_missionselect_listbox_contents, I'm wondering if there's some way of manipulating that to remove missions from the mission select.
Edit2: To be honest I might take this advice, rename the stock era to "Vanilla Clone Wars" then leave them in. Plus it looks like era_c and era_g are at the top of the list no matter what. So at least one of my modded eras is always below GCW. I'm not sure I'll be able to sort this out the way I would like to without sinking way too much time into it.