From fbf8263ba282a1637f830d8437b907719b045425 Mon Sep 17 00:00:00 2001 From: Justin Marshall Date: Tue, 21 Jul 2020 21:04:46 -0700 Subject: [PATCH] Internal editor can now save out multiplayer maps. --- code/redalert/mapeddlg.cpp | 5 ++++- code/redalert/scenario.cpp | 2 +- missions.pkt | 3 +++ mplayer.ini | 30 ++++++++++++++++++++++++++++++ 4 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 missions.pkt create mode 100644 mplayer.ini diff --git a/code/redalert/mapeddlg.cpp b/code/redalert/mapeddlg.cpp index a60c307..11a678c 100644 --- a/code/redalert/mapeddlg.cpp +++ b/code/redalert/mapeddlg.cpp @@ -93,10 +93,13 @@ int MapEditClass::New_Scenario(void) player = SCEN_PLAYER_GREECE; break; - default: case HOUSE_USSR: player = SCEN_PLAYER_USSR; break; + + default: + player = SCEN_PLAYER_MPLAYER; + break; } } diff --git a/code/redalert/scenario.cpp b/code/redalert/scenario.cpp index ab02ae5..a2ef4f5 100644 --- a/code/redalert/scenario.cpp +++ b/code/redalert/scenario.cpp @@ -3650,7 +3650,7 @@ void Disect_Scenario_Name(char const * name, int & scenario, ScenarioPlayerType /* ** Fetch the scenario player (side). */ - player = SCEN_PLAYER_GREECE; + player = SCEN_PLAYER_MPLAYER; if (name[2] == HouseTypeClass::As_Reference(HOUSE_SPAIN).Prefix) { player = SCEN_PLAYER_SPAIN; } diff --git a/missions.pkt b/missions.pkt new file mode 100644 index 0000000..057aca5 --- /dev/null +++ b/missions.pkt @@ -0,0 +1,3 @@ +[Missions] +SCM22EA.INI=A Path Beyond (Lg) + diff --git a/mplayer.ini b/mplayer.ini new file mode 100644 index 0000000..6367abc --- /dev/null +++ b/mplayer.ini @@ -0,0 +1,30 @@ +[Aftermath] +NewUnitsEnabled=1 +EngineerDamage=33% +EngineerCaptureLevel=66% + +[General] +GapRegenInterval=.9 + +[GUN] +Cost=800 +Power=-55 + +[TurretGun] +Damage=60 +ROF=35 +Speed=50 + +[Recharge] +IronCurtain=5 + +[BRIK] +Cost=50 + +[GAP] +Strength=700 +Power=-90 + +[TSLA] +Strength=600 +