>>DEV ONLY<< This is the integration pack of the RCM Side mod. It gives you the possibility to add the RCM sides to your personal map/mod.
>>DEV ONLY<<
This is the integration pack of the RCM Side mod. It gives you the possibility to add the RCM sides to your personal map/mod. For the side mod itselfe please visit it's mod thread: Moddb.com
Installation:
1. Put the "RC" folder in your "..\addon\XXX\data\_LVL_PC" folder.
2. Edit your setup_teams.lua.
Find this
local typeList = { "soldier", "pilot", "assault", "sniper", "marine", "engineer", "officer", "special" }
and change it to
local typeList = { "soldier", "pilot", "assault", "sniper", "marine", "engineer", "officer", "special", "commander", "general" }
3. Edit your XXXr_con.lua.
Find this
ScriptCB_DoFile("ObjectiveConquest")
ScriptCB_DoFile("setup_teams")
and change it to
ReadDataFile("dc:RC\\addme.lvl")
ScriptCB_DoFile("ObjectiveConquest")
ScriptCB_DoFile("setup_teams")
ScriptCB_DoFile("RepublicCommandoSides")
ScriptCB_DoFile("addAmbMusic") <= optional (see 4.)
Replace the Teamsetup
ReadDataFile("SIDE\\rep.lvl",
"rep_inf_ep3_rifleman",
...)
ReadDataFile("SIDE\\cis.lvl",
"cis_inf_rifleman",
...)
SetupTeams{
rep = {
team = REP,
units = 20,
reinforcements = 150,
soldier = { "rep_inf_ep3_rifleman",9, 25},
assault = { "rep_inf_ep3_rocketeer",1, 4},
engineer = { "rep_inf_ep3_engineer",1, 4},
sniper = { "rep_inf_ep3_sniper",1, 4},
officer = {"rep_inf_ep3_officer",1, 4},
special = { "rep_inf_ep3_jettrooper",1, 4},
},
cis = {
team = CIS,
units = 20,
reinforcements = 150,
soldier = { "cis_inf_rifleman",9, 25},
assault = { "cis_inf_rocketeer",1, 4},
engineer = { "cis_inf_engineer",1, 4},
sniper = { "cis_inf_sniper",1, 4},
officer = {"cis_inf_officer",1, 4},
special = { "cis_inf_droideka",1, 4},
}
}
with this function call.
RepublicCommandoSides(rfmRep, unitsRep, rfmCis, unitsCis, cisType)
rfmRep: republic reinforcements
unitsRep: republic units
rfmCis: cis reinforcements
unitsCis: cis units
cisType:
1 = Mandelorain
2 = Trandoshaner
3 = Geonosian
123 = random choose 1 or 2 or 3
12 = random choose 1 or 2
13 = random choose 1 or 3
23 = random choose 2 or 3.
RepublicCommandoSides(150, 20, 150, 20, 123)
Tip:
If the loadscreen first shows the stock SWBFII common load screen instead of the new RC Loadscreen,
add this
ReadDataFile("dc:RC\\Load\\RCM_Load.lvl")
at the first line after
function ScriptInit()
4. Setup Background music (optional)
Make sure you have REP and CIS defined.
Replace this from your lua.
SetAmbientMusic(REP, 1.0, "rep_yav_amb_start", 0,1)
SetAmbientMusic(REP, 0.8, "rep_yav_amb_middle", 1,1)
SetAmbientMusic(REP, 0.2, "rep_yav_amb_end", 2,1)
SetAmbientMusic(CIS, 1.0, "cis_yav_amb_start", 0,1)
SetAmbientMusic(CIS, 0.8, "cis_yav_amb_middle", 1,1)
SetAmbientMusic(CIS, 0.2, "cis_yav_amb_end", 2,1)
with this
addAmbMusic()
5. Setup the Era Icon.
You are also allowed to use the era Icon.
You need to add the shell to your addme. The Icon name is called rcm.
ReadDataFile("..\\..\\addon\\XXX\\data\\_LVL_PC\\RC\\shell\\rc_mod_icon.lvl")
Credits:
Anakin for this integration pack
and all the others that are credit in the mod.