Re: Unofficial Star Wars Battlefront II 1.2 Patch
Posted: Thu Dec 27, 2007 2:56 pm
Get more from your games!
http://www.gametoast.com/
Hmm, I won't modify the shell for this. I was modifying it for Rhen Var. I have zerted's shell now, and I'll probably use that. a BFX mode o.O that'd be awesome. Don't you have to go in and write all new luas though? I've been working on MeshEx lately, either that or modeling. I'll try and think up some more fun modes to add, if feasible.Teancum wrote:Hey Rep, I'd really like to work with you to make certain that the Unofficial 1.2 Patch and the SWBF Conversion Pack (1.9.1 and up) don't conflict. Right now we're only looking at one issue, and that's shell.lvl. Once I get my shell 'side' updated I'd like to integrate your new game modes in, as well as add support for _bfx (Battlefront Extreme) and _123a, _123b (+123) game modes so that they can be compatible. We can package shell.lvl with both mods, just to make sure no matter what it's installed.
Man, with both those mods installed together + support for other mods as gametypes the universe will be ours! :emp:
Code: Select all
SetMemoryPoolSize ("Combo::Deflect",100) -- should be ~1x #combo
-- SetMemoryPoolSize("ParticleTransformer::SizeTransformer", 1980)
-- SetMemoryPoolSize("ParticleTransformer::ColorTransformer", 1980)
ReadDataFile("sound\\yav.lvl;yav1cw")
ReadDataFile("dc:PlugIns\\SidePlugin.lvl")
ScriptCB_DoFile("SideLoad")
SideLoad("CloneWarsAceCampaign")
Code: Select all
function SideLoad(EraDefins)
if EraDefins == "CloneWarsAceNormal" then
--/////////////////////////////////////////////////////
--//////////////////////////Normal CW//////////////////
--/////////////////////////////////////////////////////
RandomLegion()
ReadDataFile("SIDE\\cis.lvl",
"cis_inf_rifleman",
"cis_inf_rocketeer",
"cis_inf_engineer",
"cis_inf_sniper",
"cis_inf_officer",
"cis_inf_droideka",
"cis_hero_darthmaul",
"cis_fly_droidfighter_sc",
"cis_hover_aat")
ReadDataFile("dc:SIDE\\Civilians.lvl",
"ace_inf_civilianFemaleBlue")
ReadDataFile("SIDE\\tur.lvl",
"tur_bldg_laser",
"tur_bldg_tower")
ReadDataFile("dc:SIDE\\GroundDroidFighter.lvl",
"cis_fly_droidfighter")
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 = { "ace_inf_civilianFemaleBlue",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},
}
}
SetHeroClass(CIS, "cis_hero_darthmaul")
SetHeroClass(REP, "rep_hero_anakin")
elseif EraDefins == "CloneWarsAceCampaign" then
--/////////////////////////////////////////////////////
--//////////////////////////Campaign CW////////////////
--/////////////////////////////////////////////////////
RandomLegion()
ReadDataFile("SIDE\\cis.lvl",
"cis_inf_rifleman",
"cis_inf_rocketeer",
"cis_inf_engineer",
"cis_inf_sniper",
"cis_inf_officer",
"cis_inf_droideka",
"cis_hero_darthmaul",
"cis_fly_droidfighter_sc",
"cis_hover_aat")
ReadDataFile("SIDE\\tur.lvl",
"tur_bldg_laser",
"tur_bldg_tower")
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},
},
atm = {
team = ATM,
units = 50,
reinforcements = 200,
soldier = { "cis_inf_rifleman", 15, 15},
assault = { "cis_inf_rocketeer",10, 10},
engineer = { "cis_inf_engineer", 5, 5},
sniper = { "cis_inf_sniper",10, 10},
officer = {"cis_inf_officer", 5, 5},
special = { "cis_inf_droideka",5, 5},
}
}
SetHeroClass(CIS, "cis_hero_darthmaul")
SetHeroClass(REP, "rep_hero_anakin")
ReadDataFile("dc:SIDE\\FieldCommander.lvl",
"rep_inf_fieldcommander")
--ReadDataFile("dc:ACE\\ACE.lvl", "ACE_campaigncw")
-- ReadDataFile("SIDE\\vehicles.lvl",
-- "cis_fly_fanblade")
--AddUnitClass (1, "rep_inf_fieldcommander",1,1)
SetTeamName (3, "arctroops")
AddUnitClass (3, "rep_inf_ep2_rocketeer",2,4)
AddUnitClass (3, "rep_inf_ep2_rocketeer_chaingun", 1,3)
SetUnitCount (3, 7)
AddAIGoal(3, "Deathmatch", 100)
SetTeamAsFriend(ATT,3)
SetTeamAsFriend(3,ATT)
SetTeamAsEnemy(DEF,3)
SetTeamAsEnemy(3,DEF)
SetTeamName(ATM, CIS)
SetTeamAsFriend(ATM, CIS)
SetTeamAsFriend(CIS, ATM)
SetTeamAsEnemy(ATM, REP)
SetTeamAsEnemy(REP, ATM)
ClearAIGoals(ATM)
AddAIGoal(ATM, "Conquest", 100)
elseif EraDefins == "GalacticCivilWarAceNormal" then
--/////////////////////////////////////////////////////
--//////////////////////////Normal GCW/////////////////
--/////////////////////////////////////////////////////
ReadDataFile("SIDE\\all.lvl",
"all_inf_rifleman",
"all_inf_rocketeer",
"all_inf_sniper",
"all_inf_engineer",
"all_inf_officer",
"all_inf_wookiee",
"all_hero_hansolo_tat")
ReadDataFile("SIDE\\imp.lvl",
"imp_inf_rifleman",
"imp_inf_rocketeer",
"imp_inf_engineer",
"imp_inf_sniper",
"imp_inf_officer",
"imp_inf_dark_trooper",
"imp_hero_bobafett",
"imp_fly_destroyer_dome" )
ReadDataFile("SIDE\\tur.lvl",
"tur_bldg_tat_barge",
"tur_bldg_laser")
SetupTeams{
all = {
team = ALL,
units = 20,
reinforcements = 150,
soldier = { "all_inf_rifleman",9, 25},
assault = { "all_inf_rocketeer",1,4},
engineer = { "all_inf_engineer",1,4},
sniper = { "all_inf_sniper",1,4},
officer = { "all_inf_officer",1,4},
special = { "all_inf_wookiee",1,4},
},
imp = {
team = IMP,
units = 20,
reinforcements = 150,
soldier = { "imp_inf_rifleman",9, 25},
assault = { "imp_inf_rocketeer",1,4},
engineer = { "imp_inf_engineer",1,4},
sniper = { "imp_inf_sniper",1,4},
officer = { "imp_inf_officer",1,4},
special = { "imp_inf_dark_trooper",1,4},
}
}
SetHeroClass(ALL, "all_hero_hansolo_tat")
SetHeroClass(IMP, "imp_hero_bobafett")
elseif EraDefins == "CloneWarsRace" then
--Loading Rep Classes, their textures and mshs are used
ReadDataFile("SIDE\\rep.lvl",
"rep_inf_ep3_pilot",
"rep_inf_ep2_pilot",
"rep_inf_ep3_engineer",
"rep_hover_barcspeeder")
--Loading Allinace Engineer, its textures and mshs are used
ReadDataFile("SIDE\\all.lvl",
"all_inf_engineer")
--Modded side, odf changes only to above loaded units.
ReadDataFile("dc:SIDE\\Racer.lvl",
"ace_inf_racerRepEng",
"ace_inf_racerRepEp3Eng",
"ace_inf_racerRepPilot",
"ace_inf_racerAllEng")
ReadDataFile("dc:SIDE\\racespeeder.lvl",
"ace_hover_racespeeder")
ReadDataFile("SIDE\\tur.lvl",
"tur_bldg_laser",
"tur_bldg_tower")
ReadDataFile("DC:\SIDE\\AcesWing.lvl",
"ace_hover_Wing")
SetupTeams{
rep = {
team = REP,
units = 20,
reinforcements = 150,
soldier = {"ace_inf_racerRepEng",9, 25},
assault = {"ace_inf_racerRepEp3Eng",1, 4},
engineer = {"ace_inf_racerRepPilot",1, 4},
officer = {"ace_inf_racerAllEng",1,4},
},
cis = {
team = CIS,
units = 20,
reinforcements = 150,
soldier = {"rep_inf_ep3_engineer",9, 25},
assault = { "rep_inf_ep2_pilot",1, 4},
engineer = {"rep_inf_ep3_pilot",1, 4},
}
}
else
print("Era or mode set:"..EraDefins.." not found!")
end
end--end of entire function
Code: Select all
ucft
{
REQN
{
"script"
"SideLoad"
}
}