05.01.2008, 22:51:15
This is nearly done - I just need to test it. However there is something else I am thinking about implementing which could do with some input...
At the moment, whenever a mod is installed/uninstalled the 'game mode and map index' are reset (i.e. the selected game mode and map for Skirmish, Network and Internet games are set to the first ones in the list). This prevents AI players being left on the roster for non-AI game modes, prevents a game mode/map being selected that might not exist, and ensures that the selected map is compatible with the selected game mode.
However, this does assume that game mode 1 / map 0 are compatible for every mod.
What I am thinking about doing is remembering the selected game mode/map index for each mod. And also allowing authors to specify what the default game mode/map index are for first time launch.
The problem with this idea is that AI players could be left on the roster for non-AI modes.
Two options here: one would be to strip AI players from the roster but I can see that being annoying. The other would be to remember the roster for each mod too. If remembering the roster for each mod, then that leads me to wonder if the other settings (super weapons, short game, etc) should be remembered per mod too? However this is a lot of settings to save.
Thoughts?
At the moment, whenever a mod is installed/uninstalled the 'game mode and map index' are reset (i.e. the selected game mode and map for Skirmish, Network and Internet games are set to the first ones in the list). This prevents AI players being left on the roster for non-AI game modes, prevents a game mode/map being selected that might not exist, and ensures that the selected map is compatible with the selected game mode.
However, this does assume that game mode 1 / map 0 are compatible for every mod.
What I am thinking about doing is remembering the selected game mode/map index for each mod. And also allowing authors to specify what the default game mode/map index are for first time launch.
The problem with this idea is that AI players could be left on the roster for non-AI modes.
Two options here: one would be to strip AI players from the roster but I can see that being annoying. The other would be to remember the roster for each mod too. If remembering the roster for each mod, then that leads me to wonder if the other settings (super weapons, short game, etc) should be remembered per mod too? However this is a lot of settings to save.
Thoughts?
Ever wondered what the hell is going on?
Believe me friend you're not the only one.
--Lysdexia
Check out Launch Base for RA2/YR - http://marshall.strategy-x.com
Also home to the Purple Alert mod, 1.002 UMP, and the YR Playlist Manager.
Believe me friend you're not the only one.
--Lysdexia
Check out Launch Base for RA2/YR - http://marshall.strategy-x.com
Also home to the Purple Alert mod, 1.002 UMP, and the YR Playlist Manager.