Custom Command Post Layout for Hero Assault on Kashyyyk?

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Custom Command Post Layout for Hero Assault on Kashyyyk?

Post by modmaster13 »

Hey guys, I'm looking to get Assault working for the stock Kashyyyk map, but I would like to use a custom command post layout that isn't in any of the other game modes on the map. However I'm having some troubles because it's not letting me spawn in the world. I'm looking to do this by creating a layer for the game to read (that's from my addon BF2 folder)

kas2g_eli:
Hidden/Spoiler:
--
-- Copyright (c) 2005 Pandemic Studios, LLC. All rights reserved.
--

-- load the gametype script
ScriptCB_DoFile("setup_teams")
ScriptCB_DoFile("ObjectiveTDM")

-- Empire Attacking (attacker is always #1)
ALL = 1
IMP = 2
-- These variables do not change
ATT = 1
DEF = 2

---------------------------------------------------------------------------
-- FUNCTION: ScriptInit
-- PURPOSE: This function is only run once
-- INPUT:
-- OUTPUT:
-- NOTES: The name, 'ScriptInit' is a chosen convention, and each
-- mission script must contain a version of this function, as
-- it is called from C to start the mission.
---------------------------------------------------------------------------

--PostLoad, this is all done after all loading, etc.
function ScriptPostLoad()

ReadDataFile("dc:SIDE\\kas2.lvl", "kas2g_eli")

SetProperty("CP3CON", "Team", "1")
SetProperty("CP5CON", "Team", "2")
SetProperty("CP1CON", "CaptureRegion", "nil")
SetProperty("CP3CON", "CaptureRegion", "nil")
SetProperty("CP4CON", "CaptureRegion", "nil")
SetProperty("CP5CON", "CaptureRegion", "nil")
SetProperty("CP1CON", "HUDIndexDisplay", "")
SetProperty("CP3CON", "HUDIndexDisplay", "")
SetProperty("CP4CON", "HUDIndexDisplay", "")
SetProperty("CP5CON", "HUDIndexDisplay", "")
SetProperty("woodl", "Team", 0)
SetProperty("woodr", "Team", 0)
SetProperty("woodc", "Team", 0)
SetProperty("gatepanel", "Team", 0)
SetClassProperty("com_bldg_major_controlzone", "SwitchClassRadius", 5.0)

-- This is the actual objective setup
TDM = ObjectiveTDM:New{teamATT = 1, teamDEF = 2,
multiplayerScoreLimit = 100,
textATT = "game.modes.tdm",
textDEF = "game.modes.tdm2", multiplayerRules = true, isCelebrityDeathmatch = true}
TDM:Start()

AddAIGoal(1, "Deathmatch", 100)
AddAIGoal(2, "Deathmatch", 100)

EnableSPHeroRules()


--Gate Stuff --
BlockPlanningGraphArcs("seawall1")
BlockPlanningGraphArcs("woodl")
BlockPlanningGraphArcs("woodc")
BlockPlanningGraphArcs("woodr")
DisableBarriers("disableme");

SetProperty("woodl", "MaxHealth", 15000)
SetProperty("woodl", "CurHealth", 15000)
SetProperty("woodr", "MaxHealth", 15000)
SetProperty("woodr", "CurHealth", 15000)
SetProperty("woodc", "MaxHealth", 15000)
SetProperty("woodc", "CurHealth", 15000)
SetProperty("gatepanel", "MaxHealth", 1000)
SetProperty("gatepanel", "CurHealth", 1000)


OnObjectKillName(PlayAnimDown, "gatepanel");
OnObjectRespawnName(PlayAnimUp, "gatepanel");
OnObjectKillName(woodl, "woodl");
OnObjectKillName(woodc, "woodc");
OnObjectKillName(woodr, "woodr");
OnObjectRespawnName(woodlr, "woodl");
OnObjectRespawnName(woodcr, "woodc");
OnObjectRespawnName(woodrr, "woodr");
end

function PlayAnimDown()
PauseAnimation("thegateup");
RewindAnimation("thegatedown");
PlayAnimation("thegatedown");
ShowMessageText("level.kas2.objectives.gateopen",1)
ScriptCB_SndPlaySound("KAS_obj_13")
SetProperty("gatepanel", "MaxHealth", 2200)
-- SetProperty("gatepanel", "CurHealth", 50000)
-- PlayAnimation("gatepanel");
--SetProperty("gatepanel", "MaxHealth", 1e+37)
--SetProperty("gatepanel", "CurHealth", 1e+37)


-- Allowing AI to run under gate
UnblockPlanningGraphArcs("seawall1");
DisableBarriers("seawalldoor1");
DisableBarriers("vehicleblocker");

end

function PlayAnimUp()
PauseAnimation("thegatedown");
RewindAnimation("thegateup");
PlayAnimation("thegateup");


-- Allowing AI to run under gate
BlockPlanningGraphArcs("seawall1");
EnableBarriers("seawalldoor1");
EnableBarriers("vehicleblocker");
SetProperty("gatepanel", "MaxHealth", 1000)
SetProperty("gatepanel", "CurHealth", 1000)

end

function woodl()
UnblockPlanningGraphArcs("woodl");
DisableBarriers("woodl");
SetProperty("woodl", "MaxHealth", 1800)
-- SetProperty("woodl", "CurHealth", 15)
end

function woodc()
UnblockPlanningGraphArcs("woodc");
DisableBarriers("woodc");
SetProperty("woodc", "MaxHealth", 1800)
-- SetProperty("woodc", "CurHealth", 15)
end

function woodr()
UnblockPlanningGraphArcs("woodr");
DisableBarriers("woodr");
SetProperty("woodr", "MaxHealth", 1800)
-- SetProperty("woodr", "CurHealth", 15)
end

function woodlr()
BlockPlanningGraphArcs("woodl")
EnableBarriers("woodl")
SetProperty("woodl", "MaxHealth", 15000)
SetProperty("woodl", "CurHealth", 15000)
end

function woodcr()
BlockPlanningGraphArcs("woodc")
EnableBarriers("woodc")
SetProperty("woodc", "MaxHealth", 15000)
SetProperty("woodc", "CurHealth", 15000)
end

function woodrr()
BlockPlanningGraphArcs("woodr")
EnableBarriers("woodr")
SetProperty("woodr", "MaxHealth", 15000)
SetProperty("woodr", "CurHealth", 15000)
end

function ScriptInit()
-- Designers, these two lines *MUST* be first!
StealArtistHeap(900 * 1024)
SetPS2ModelMemory(3550000)
ReadDataFile("ingame.lvl")

SetMemoryPoolSize ("ClothData",20)
SetMemoryPoolSize ("Combo",50) -- should be ~ 2x number of jedi classes
SetMemoryPoolSize ("Combo::State",650) -- should be ~12x #Combo
SetMemoryPoolSize ("Combo::Transition",650) -- should be a bit bigger than #Combo::State
SetMemoryPoolSize ("Combo::Condition",650) -- should be a bit bigger than #Combo::State
SetMemoryPoolSize ("Combo::Attack",550) -- should be ~8-12x #Combo
SetMemoryPoolSize ("Combo::DamageSample",6000) -- should be ~8-12x #Combo::Attack
SetMemoryPoolSize ("Combo::Deflect",100) -- should be ~1x #combo

SetMaxFlyHeight(70)

ReadDataFile("sound\\tat.lvl;tat2gcw")

ReadDataFile("SIDE\\all.lvl",
"all_hero_luke_jedi",
"all_hero_hansolo_tat",
"all_hero_leia",
"all_hero_chewbacca")

ReadDataFile("SIDE\\imp.lvl",
"imp_hero_darthvader",
"imp_hero_emperor",
"imp_hero_bobafett")

ReadDataFile("SIDE\\rep.lvl",
"rep_hero_yoda",
"rep_hero_macewindu",
"rep_hero_anakin",
"rep_hero_aalya",
"rep_hero_kiyadimundi",
"rep_hero_obiwan")

ReadDataFile("SIDE\\cis.lvl",
"cis_hero_grievous",
"cis_hero_darthmaul",
"cis_hero_countdooku",
"cis_hero_jangofett")

-- ReadDataFile("SIDE\\wok.lvl",
-- "wok_inf_basic")

ReadDataFile("SIDE\\tur.lvl",
"tur_bldg_beam",
"tur_bldg_recoilless_kas")

SetupTeams{
hero = {
team = ALL,
units = 12,
reinforcements = -1,
soldier = { "all_hero_hansolo_tat",1,2},
assault = { "all_hero_chewbacca", 1,2},
engineer= { "all_hero_luke_jedi", 1,2},
sniper = { "rep_hero_obiwan", 1,2},
officer = { "rep_hero_yoda", 1,2},
special = { "rep_hero_macewindu", 1,2},
},
}

AddUnitClass(ALL,"all_hero_leia", 1,2)
AddUnitClass(ALL,"rep_hero_aalya", 1,2)
AddUnitClass(ALL,"rep_hero_kiyadimundi",1,2)

SetupTeams{
villain = {
team = IMP,
units = 12,
reinforcements = -1,
soldier = { "imp_hero_bobafett", 1,2},
assault = { "imp_hero_darthvader",1,2},
engineer= { "cis_hero_darthmaul", 1,2},
sniper = { "cis_hero_jangofett", 1,2},
officer = { "cis_hero_grievous", 1,2},
special = { "imp_hero_emperor", 1,2},

},
}
AddUnitClass(IMP, "rep_hero_anakin",1,2)
AddUnitClass(IMP, "cis_hero_countdooku",1,2)

SetTeamAsEnemy(ATT,3)

SetTeamAsFriend(DEF,3)

-- Level Stats
ClearWalkers()
AddWalkerType(0, 0) -- 8 droidekas (special case: 0 leg pairs)
AddWalkerType(1, 0) --
AddWalkerType(2, 3) -- 2 spider walkers with 2 leg pairs each
AddWalkerType(3, 0) -- 2 attes with 3 leg pairs each

SetMemoryPoolSize("Aimer", 100)
SetMemoryPoolSize("BaseHint", 250)
SetMemoryPoolSize("EntityLight", 44)
SetMemoryPoolSize("EntityHover", 10)
SetMemoryPoolSize("EntitySoundStream", 3)
SetMemoryPoolSize("FlagItem", 2)
SetMemoryPoolSize("EntityFlyer", 6)
SetMemoryPoolSize("MountedTurret", 20)
SetMemoryPoolSize("Obstacle", 300)
SetMemoryPoolSize("ShieldEffect", 0)
SetMemoryPoolSize("TentacleSimulator", 12)
SetMemoryPoolSize("TreeGridStack", 300)
SetMemoryPoolSize("Weapon", 265)

SetSpawnDelay(10.0, 0.25)
ReadDataFile("dc:bf2\\kas2.lvl", "kas2_eli")
ReadDataFile("KAS\\kas2.lvl", "kas2_con")
SetDenseEnvironment("false")
SetMaxFlyHeight(65)
SetMaxPlayerFlyHeight(65)

-- Birdies
SetNumBirdTypes(1)
SetBirdType(0,1.0,"bird")

-- Fishies
SetNumFishTypes(1)
SetFishType(0,0.8,"fish")

-- Local Stats
-- SetTeamName(3, "locals")
-- SetTeamIcon(3, "all_icon")
-- AddUnitClass(3, "wok_inf_warrior", 3)
-- AddUnitClass(3, "wok_inf_rocketeer", 2)
-- AddUnitClass(3, "wok_inf_mechanic", 2)
-- SetUnitCount(3, 7)
-- SetTeamAsEnemy(3,ATT)
-- SetTeamAsFriend(3,DEF)

-- Sound Stats

ScriptCB_EnableHeroMusic(0)
ScriptCB_EnableHeroVO(0)

voiceSlow = OpenAudioStream("sound\\global.lvl", "all_unit_vo_slow")
AudioStreamAppendSegments("sound\\global.lvl", "imp_unit_vo_slow", voiceSlow)
AudioStreamAppendSegments("sound\\global.lvl", "global_vo_slow", voiceSlow)

voiceQuick = OpenAudioStream("sound\\global.lvl", "all_unit_vo_quick")
AudioStreamAppendSegments("sound\\global.lvl", "imp_unit_vo_quick", voiceQuick)

OpenAudioStream("sound\\global.lvl", "gcw_music")
OpenAudioStream("sound\\tat.lvl", "tat2")
OpenAudioStream("sound\\tat.lvl", "tat2")
-- OpenAudioStream("sound\\global.lvl", "global_vo_quick")
-- OpenAudioStream("sound\\global.lvl", "global_vo_slow")

SetBleedingVoiceOver(ALL, ALL, "all_off_com_report_us_overwhelmed", 1)
SetBleedingVoiceOver(ALL, IMP, "all_off_com_report_enemy_losing", 1)
SetBleedingVoiceOver(IMP, ALL, "imp_off_com_report_enemy_losing", 1)
SetBleedingVoiceOver(IMP, IMP, "imp_off_com_report_us_overwhelmed", 1)

SetLowReinforcementsVoiceOver(ALL, ALL, "all_off_defeat_im", .1, 1)
SetLowReinforcementsVoiceOver(ALL, IMP, "all_off_victory_im", .1, 1)
SetLowReinforcementsVoiceOver(IMP, IMP, "imp_off_defeat_im", .1, 1)
SetLowReinforcementsVoiceOver(IMP, ALL, "imp_off_victory_im", .1, 1)

SetOutOfBoundsVoiceOver(1, "Allleaving")
SetOutOfBoundsVoiceOver(2, "Impleaving")

SetAmbientMusic(ALL, 1.0, "gen_amb_celebDeathmatch", 0,1)
-- SetAmbientMusic(ALL, 0.9, "all_tat_amb_middle", 1,1)
-- SetAmbientMusic(ALL, 0.1, "all_tat_amb_end", 2,1)
SetAmbientMusic(IMP, 1.0, "gen_amb_celebDeathmatch", 0,1)
-- SetAmbientMusic(IMP, 0.9, "imp_tat_amb_middle", 1,1)
-- SetAmbientMusic(IMP, 0.1, "imp_tat_amb_end", 2,1)

SetVictoryMusic(ALL, "all_tat_amb_victory")
SetDefeatMusic (ALL, "all_tat_amb_defeat")
SetVictoryMusic(IMP, "imp_tat_amb_victory")
SetDefeatMusic (IMP, "imp_tat_amb_defeat")

SetSoundEffect("ScopeDisplayZoomIn", "binocularzoomin")
SetSoundEffect("ScopeDisplayZoomOut", "binocularzoomout")
--SetSoundEffect("WeaponUnableSelect", "com_weap_inf_weaponchange_null")
--SetSoundEffect("WeaponModeUnableSelect", "com_weap_inf_modechange_null")
SetSoundEffect("SpawnDisplayUnitChange", "shell_select_unit")
SetSoundEffect("SpawnDisplayUnitAccept", "shell_menu_enter")
SetSoundEffect("SpawnDisplaySpawnPointChange", "shell_select_change")
SetSoundEffect("SpawnDisplaySpawnPointAccept", "shell_menu_enter")
SetSoundEffect("SpawnDisplayBack", "shell_menu_exit")
SetAttackingTeam(ATT)

--Kas2 Docks
--Wide beach shot
AddCameraShot(0.977642, -0.052163, -0.203414, -0.010853, 66.539520, 21.864969, 168.598495);
AddCameraShot(0.969455, -0.011915, 0.244960, 0.003011, 219.552948, 21.864969, 177.675674);
AddCameraShot(0.995040, -0.013447, 0.098558, 0.001332, 133.571289, 16.216759, 121.571236);
AddCameraShot(0.350433, -0.049725, -0.925991, -0.131394, 30.085188, 32.105236, -105.325264);



-- GOOD SHOTS --
-- Gate to Right


--Kinda Cool --

AddCameraShot(0.163369, -0.029669, -0.970249, -0.176203, 85.474831, 47.313362, -156.345627);
AddCameraShot(0.091112, -0.011521, -0.987907, -0.124920, 97.554062, 53.690968, -179.347076);
AddCameraShot(0.964953, -0.059962, 0.254988, 0.015845, 246.471008, 20.362143, 153.701050);



end
kas.req:
Hidden/Spoiler:
ucft
{
REQN
{
"config"
}

REQN
{
"texture"
}
REQN
{
"path"
}
REQN
{
"congraph"
"kas"
}
REQN
{
"envfx"
}
REQN
{
"world"
"kas2_veh"
}
REQN
{
"prop"
}
REQN
{
"class"
}
REQN
{
"config"
}
REQN
{
"lvl"
"kas2_eli"
}
}
kas2_eli.lyr:
Hidden/Spoiler:
Version(3);
SaveType(0);

Camera("camera")
{
Rotation(1.000, 0.000, 0.000, 0.000);
Position(0.000, 0.000, 0.000);
FieldOfView(55.400);
NearPlane(1.000);
FarPlane(5000.000);
ZoomFactor(1.000);
Bookmark(0.000, 0.000, 0.000, 1.000, 0.000, 0.000, 0.000);
Bookmark(0.000, 0.000, 0.000, 1.000, 0.000, 0.000, 0.000);
Bookmark(0.000, 0.000, 0.000, 1.000, 0.000, 0.000, 0.000);
Bookmark(0.000, 0.000, 0.000, 1.000, 0.000, 0.000, 0.000);
Bookmark(0.000, 0.000, 0.000, 1.000, 0.000, 0.000, 0.000);
Bookmark(0.000, 0.000, 0.000, 1.000, 0.000, 0.000, 0.000);
Bookmark(0.000, 0.000, 0.000, 1.000, 0.000, 0.000, 0.000);
Bookmark(0.000, 0.000, 0.000, 1.000, 0.000, 0.000, 0.000);
Bookmark(0.000, 0.000, 0.000, 1.000, 0.000, 0.000, 0.000);
Bookmark(0.000, 0.000, 0.000, 1.000, 0.000, 0.000, 0.000);
}
LightName("kas2_eli.LGT");
ControllerManager("StandardCtrlMgr");

WorldExtents()
{
Min(0.000000, 0.000000, 0.000000);
Max(0.000000, 0.000000, 0.000000);
}

NextSequence(-558862);

Object("eli_cp1", "com_bldg_controlzone_CTF", 981257074)
{
ChildRotation(-1.000, 0.000, 0.000, 0.000);
ChildPosition(158.061, 13.881, -65.034);
SeqNo(981257074);
Team(2);
NetworkId(-1);
Layer(13);
CaptureRegion("");
ControlRegion("");
SpawnPath("eli_cp1_spawn");
TurretPath("");
AllyPath("");
AllyCount("65536");
Radius("0.0");
ValueBleed_Alliance("0");
ValueBleed_CIS("0");
ValueBleed_Empire("0");
ValueBleed_Republic("0");
ValueBleed_Neutral("0");
ValueBleed_Locals("0");
Value_ATK_Alliance("0");
Value_ATK_CIS("0");
Value_ATK_Empire("0");
Value_ATK_Republic("0");
Value_ATK_Locals("0");
Value_DEF_Alliance("0");
Value_DEF_CIS("0");
Value_DEF_Empire("0");
Value_DEF_Republic("0");
Value_DEF_Locals("0");
VO_All_AllCapture("all_off_com_report_captured_commandpost");
VO_All_AllLost("all_off_com_report_lost_commandpost");
VO_All_AllInDispute("");
VO_All_AllSaved("");
VO_All_AllInfo("");
VO_All_ImpCapture("all_off_com_report_enemyCaptured_commandpost");
VO_All_ImpLost("");
VO_All_ImpInDispute("");
VO_All_ImpSaved("");
VO_All_ImpInfo("");
VO_Imp_AllCapture("imp_off_com_report_enemyCaptured_commandpost");
VO_Imp_AllLost("");
VO_Imp_AllInDispute("");
VO_Imp_AllSaved("");
VO_Imp_AllInfo("");
VO_Imp_ImpCapture("imp_off_com_report_captured_commandpost");
VO_Imp_ImpLost("imp_off_com_report_lost_commandpost");
VO_Imp_ImpInDispute("");
VO_Imp_ImpSaved("");
VO_Imp_ImpInfo("");
VO_Rep_RepCapture("rep_off_com_report_captured_commandpost");
VO_Rep_RepLost("rep_off_com_report_lost_commandpost");
VO_Rep_RepInDispute("");
VO_Rep_RepSaved("");
VO_Rep_RepInfo("");
VO_Rep_CISCapture("rep_off_com_report_enemyCaptured_commandpost");
VO_Rep_CISLost("");
VO_Rep_CISInDispute("");
VO_Rep_CISSaved("");
VO_Rep_CISInfo("");
VO_CIS_RepCapture("cis_off_com_report_enemyCaptured_commandpost");
VO_CIS_RepLost("");
VO_CIS_RepInDispute("");
VO_CIS_RepSaved("");
VO_CIS_RepInfo("");
VO_CIS_CISCapture("cis_off_com_report_captured_commandpost");
VO_CIS_CISLost("cis_off_com_report_lost_commandpost");
VO_CIS_CISInDispute("");
VO_CIS_CISSaved("");
VO_CIS_CISInfo("");
SoldierBan("");
HoverBan("");
SmallBan("");
MediumBan("");
HugeBan("");
FlyerBan("");
AISpawnWeight("");
HUDIndex("");
HUDIndexDisplay("0");
}

Object("eli_cp5", "com_bldg_controlzone_CTF", 1464566016)
{
ChildRotation(-1.000, 0.000, 0.000, 0.000);
ChildPosition(116.308, 30.828, 168.761);
SeqNo(1464566016);
Team(2);
NetworkId(-1);
Layer(13);
CaptureRegion("");
ControlRegion("");
SpawnPath("eli_cp5_spawn");
TurretPath("");
AllyPath("");
AllyCount("65536");
Radius("0.0");
ValueBleed_Alliance("0");
ValueBleed_CIS("0");
ValueBleed_Empire("0");
ValueBleed_Republic("0");
ValueBleed_Neutral("0");
ValueBleed_Locals("0");
Value_ATK_Alliance("0");
Value_ATK_CIS("0");
Value_ATK_Empire("0");
Value_ATK_Republic("0");
Value_ATK_Locals("0");
Value_DEF_Alliance("0");
Value_DEF_CIS("0");
Value_DEF_Empire("0");
Value_DEF_Republic("0");
Value_DEF_Locals("0");
VO_All_AllCapture("all_off_com_report_captured_commandpost");
VO_All_AllLost("all_off_com_report_lost_commandpost");
VO_All_AllInDispute("");
VO_All_AllSaved("");
VO_All_AllInfo("");
VO_All_ImpCapture("all_off_com_report_enemyCaptured_commandpost");
VO_All_ImpLost("");
VO_All_ImpInDispute("");
VO_All_ImpSaved("");
VO_All_ImpInfo("");
VO_Imp_AllCapture("imp_off_com_report_enemyCaptured_commandpost");
VO_Imp_AllLost("");
VO_Imp_AllInDispute("");
VO_Imp_AllSaved("");
VO_Imp_AllInfo("");
VO_Imp_ImpCapture("imp_off_com_report_captured_commandpost");
VO_Imp_ImpLost("imp_off_com_report_lost_commandpost");
VO_Imp_ImpInDispute("");
VO_Imp_ImpSaved("");
VO_Imp_ImpInfo("");
VO_Rep_RepCapture("rep_off_com_report_captured_commandpost");
VO_Rep_RepLost("rep_off_com_report_lost_commandpost");
VO_Rep_RepInDispute("");
VO_Rep_RepSaved("");
VO_Rep_RepInfo("");
VO_Rep_CISCapture("rep_off_com_report_enemyCaptured_commandpost");
VO_Rep_CISLost("");
VO_Rep_CISInDispute("");
VO_Rep_CISSaved("");
VO_Rep_CISInfo("");
VO_CIS_RepCapture("cis_off_com_report_enemyCaptured_commandpost");
VO_CIS_RepLost("");
VO_CIS_RepInDispute("");
VO_CIS_RepSaved("");
VO_CIS_RepInfo("");
VO_CIS_CISCapture("cis_off_com_report_captured_commandpost");
VO_CIS_CISLost("cis_off_com_report_lost_commandpost");
VO_CIS_CISInDispute("");
VO_CIS_CISSaved("");
VO_CIS_CISInfo("");
SoldierBan("");
HoverBan("");
SmallBan("");
MediumBan("");
HugeBan("");
FlyerBan("");
AISpawnWeight("");
HUDIndex("");
HUDIndexDisplay("0");
}

Object("eli_cp4", "com_bldg_controlzone_CTF", 1534132762)
{
ChildRotation(-0.998, -0.060, 0.000, 0.000);
ChildPosition(35.000, 11.058, 60.000);
SeqNo(1534132762);
Team(1);
NetworkId(-1);
Layer(13);
CaptureRegion("");
ControlRegion("");
SpawnPath("eli_cp4_spawn");
TurretPath("");
AllyPath("");
AllyCount("65536");
Radius("0.0");
ValueBleed_Alliance("0");
ValueBleed_CIS("0");
ValueBleed_Empire("0");
ValueBleed_Republic("0");
ValueBleed_Neutral("0");
ValueBleed_Locals("0");
Value_ATK_Alliance("0");
Value_ATK_CIS("0");
Value_ATK_Empire("0");
Value_ATK_Republic("0");
Value_ATK_Locals("0");
Value_DEF_Alliance("0");
Value_DEF_CIS("0");
Value_DEF_Empire("0");
Value_DEF_Republic("0");
Value_DEF_Locals("0");
VO_All_AllCapture("all_off_com_report_captured_commandpost");
VO_All_AllLost("all_off_com_report_lost_commandpost");
VO_All_AllInDispute("");
VO_All_AllSaved("");
VO_All_AllInfo("");
VO_All_ImpCapture("all_off_com_report_enemyCaptured_commandpost");
VO_All_ImpLost("");
VO_All_ImpInDispute("");
VO_All_ImpSaved("");
VO_All_ImpInfo("");
VO_Imp_AllCapture("imp_off_com_report_enemyCaptured_commandpost");
VO_Imp_AllLost("");
VO_Imp_AllInDispute("");
VO_Imp_AllSaved("");
VO_Imp_AllInfo("");
VO_Imp_ImpCapture("imp_off_com_report_captured_commandpost");
VO_Imp_ImpLost("imp_off_com_report_lost_commandpost");
VO_Imp_ImpInDispute("");
VO_Imp_ImpSaved("");
VO_Imp_ImpInfo("");
VO_Rep_RepCapture("rep_off_com_report_captured_commandpost");
VO_Rep_RepLost("rep_off_com_report_lost_commandpost");
VO_Rep_RepInDispute("");
VO_Rep_RepSaved("");
VO_Rep_RepInfo("");
VO_Rep_CISCapture("rep_off_com_report_enemyCaptured_commandpost");
VO_Rep_CISLost("");
VO_Rep_CISInDispute("");
VO_Rep_CISSaved("");
VO_Rep_CISInfo("");
VO_CIS_RepCapture("cis_off_com_report_enemyCaptured_commandpost");
VO_CIS_RepLost("");
VO_CIS_RepInDispute("");
VO_CIS_RepSaved("");
VO_CIS_RepInfo("");
VO_CIS_CISCapture("cis_off_com_report_captured_commandpost");
VO_CIS_CISLost("cis_off_com_report_lost_commandpost");
VO_CIS_CISInDispute("");
VO_CIS_CISSaved("");
VO_CIS_CISInfo("");
SoldierBan("");
HoverBan("");
SmallBan("");
MediumBan("");
HugeBan("");
FlyerBan("");
AISpawnWeight("");
HUDIndex("");
HUDIndexDisplay("0");
}

Object("eli_cp3", "com_bldg_controlzone_CTF", -1487579845)
{
ChildRotation(-0.999, 0.000, 0.000, -0.050);
ChildPosition(199.470, 5.204, 37.413);
SeqNo(-1487579845);
Team(1);
NetworkId(-1);
Layer(13);
CaptureRegion("");
ControlRegion("");
SpawnPath("eli_cp3_spawn");
TurretPath("");
AllyPath("");
AllyCount("65536");
Radius("0.0");
ValueBleed_Alliance("0");
ValueBleed_CIS("0");
ValueBleed_Empire("0");
ValueBleed_Republic("0");
ValueBleed_Neutral("0");
ValueBleed_Locals("0");
Value_ATK_Alliance("0");
Value_ATK_CIS("0");
Value_ATK_Empire("0");
Value_ATK_Republic("0");
Value_ATK_Locals("0");
Value_DEF_Alliance("0");
Value_DEF_CIS("0");
Value_DEF_Empire("0");
Value_DEF_Republic("0");
Value_DEF_Locals("0");
VO_All_AllCapture("all_off_com_report_captured_commandpost");
VO_All_AllLost("all_off_com_report_lost_commandpost");
VO_All_AllInDispute("");
VO_All_AllSaved("");
VO_All_AllInfo("");
VO_All_ImpCapture("all_off_com_report_enemyCaptured_commandpost");
VO_All_ImpLost("");
VO_All_ImpInDispute("");
VO_All_ImpSaved("");
VO_All_ImpInfo("");
VO_Imp_AllCapture("imp_off_com_report_enemyCaptured_commandpost");
VO_Imp_AllLost("");
VO_Imp_AllInDispute("");
VO_Imp_AllSaved("");
VO_Imp_AllInfo("");
VO_Imp_ImpCapture("imp_off_com_report_captured_commandpost");
VO_Imp_ImpLost("imp_off_com_report_lost_commandpost");
VO_Imp_ImpInDispute("");
VO_Imp_ImpSaved("");
VO_Imp_ImpInfo("");
VO_Rep_RepCapture("rep_off_com_report_captured_commandpost");
VO_Rep_RepLost("rep_off_com_report_lost_commandpost");
VO_Rep_RepInDispute("");
VO_Rep_RepSaved("");
VO_Rep_RepInfo("");
VO_Rep_CISCapture("rep_off_com_report_enemyCaptured_commandpost");
VO_Rep_CISLost("");
VO_Rep_CISInDispute("");
VO_Rep_CISSaved("");
VO_Rep_CISInfo("");
VO_CIS_RepCapture("cis_off_com_report_enemyCaptured_commandpost");
VO_CIS_RepLost("");
VO_CIS_RepInDispute("");
VO_CIS_RepSaved("");
VO_CIS_RepInfo("");
VO_CIS_CISCapture("cis_off_com_report_captured_commandpost");
VO_CIS_CISLost("cis_off_com_report_lost_commandpost");
VO_CIS_CISInDispute("");
VO_CIS_CISSaved("");
VO_CIS_CISInfo("");
SoldierBan("");
HoverBan("");
SmallBan("");
MediumBan("");
HugeBan("");
FlyerBan("");
AISpawnWeight("");
HUDIndex("");
HUDIndexDisplay("0");
}
kas2_eli.mrq:
Hidden/Spoiler:
ucft
{
REQN
{
"congraph"
"kas2_eli"
}
REQN
{
"world"
"kas2_eli"
}
}
kas2_eli.pth:
Hidden/Spoiler:
Version(10);
PathCount(4);

Path("eli_cp1_spawn")
{
Data(0);
PathType(0);
PathSpeedType(0);
PathTime(0.000000);
OffsetPath(0);
Layer(13);
SplineType("Hermite");

Properties(0)
{
}

Nodes(6)
{
Node()
{
Position(163.090561, 15.774540, -67.244347);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(164.007294, 15.774540, -63.568565);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(158.065735, 15.774540, -56.584873);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(157.814407, 15.774540, -69.906914);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(150.254379, 15.774540, -68.770348);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(152.533234, 15.774540, -74.563011);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Properties(0)
{
}
}

}

}

Path("eli_cp5_spawn")
{
Data(0);
PathType(0);
PathSpeedType(0);
PathTime(0.000000);
OffsetPath(0);
Layer(13);
SplineType("Hermite");

Properties(0)
{
}

Nodes(7)
{
Node()
{
Position(78.893272, 31.860001, 224.638168);
Knot(0.000000);
Data(1);
Time(1.000000);
PauseTime(0.000000);
Rotation(-0.334361, 0.000000, -0.942445, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(66.631828, 32.994549, 216.520996);
Knot(0.000000);
Data(1);
Time(1.000000);
PauseTime(0.000000);
Rotation(-0.462580, 0.000000, -0.886578, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(83.720741, 31.956285, 202.857300);
Knot(0.000000);
Data(1);
Time(1.000000);
PauseTime(0.000000);
Rotation(-0.371673, 0.000000, -0.928364, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(116.772278, 41.929176, 218.112000);
Knot(0.000000);
Data(1);
Time(1.000000);
PauseTime(0.000000);
Rotation(-0.209362, 0.000000, -0.977838, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(135.759491, 42.718853, 197.942978);
Knot(0.000000);
Data(1);
Time(1.000000);
PauseTime(0.000000);
Rotation(0.109079, 0.000000, -0.994033, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(91.600784, 31.958984, 184.086777);
Knot(0.000000);
Data(1);
Time(1.000000);
PauseTime(0.000000);
Rotation(-0.219101, 0.000000, -0.975702, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(127.904892, 31.755398, 179.541199);
Knot(0.000000);
Data(1);
Time(1.000000);
PauseTime(0.000000);
Rotation(0.049068, 0.000000, -0.998796, 0.000000);
Properties(0)
{
}
}

}

}

Path("eli_cp3_spawn")
{
Data(0);
PathType(0);
PathSpeedType(0);
PathTime(0.000000);
OffsetPath(0);
Layer(13);
SplineType("Hermite");

Properties(0)
{
}

Nodes(7)
{
Node()
{
Position(233.255280, 13.766212, 28.289200);
Knot(0.000000);
Data(1);
Time(1.000000);
PauseTime(0.000000);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(219.343582, 6.760491, 25.430895);
Knot(0.000000);
Data(1);
Time(1.000000);
PauseTime(0.000000);
Rotation(0.724776, 0.000000, -0.688985, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(217.435669, 4.062906, 16.315487);
Knot(0.000000);
Data(1);
Time(1.000000);
PauseTime(0.000000);
Rotation(0.789054, 0.000000, -0.614324, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(224.364197, 3.591810, -4.001991);
Knot(0.000000);
Data(1);
Time(1.000000);
PauseTime(0.000000);
Rotation(0.939328, 0.000000, -0.343021, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(197.372620, 6.463264, 43.042576);
Knot(0.000000);
Data(1);
Time(1.000000);
PauseTime(0.000000);
Rotation(0.831043, 0.000000, -0.556207, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(201.852066, 3.147435, 22.065956);
Knot(0.000000);
Data(1);
Time(1.000000);
PauseTime(0.000000);
Rotation(0.813814, 0.000000, -0.581126, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(200.948273, 12.229185, 65.310654);
Knot(0.000000);
Data(1);
Time(1.000000);
PauseTime(0.000000);
Rotation(0.488889, 0.000000, -0.872346, 0.000000);
Properties(0)
{
}
}

}

}

Path("eli_cp4_spawn")
{
Data(0);
PathType(0);
PathSpeedType(0);
PathTime(0.000000);
OffsetPath(0);
Layer(13);
SplineType("Hermite");

Properties(0)
{
}

Nodes(8)
{
Node()
{
Position(9.185713, 45.161449, 77.935303);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(-0.408744, 0.000000, -0.912649, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(15.314439, 27.957909, 106.507011);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(-0.324948, 0.000000, -0.945732, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(74.945801, 14.455188, 84.921822);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(-0.286613, 0.000000, -0.958046, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(51.756607, 15.076336, 90.614677);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(-0.315138, 0.000000, -0.949046, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(14.725230, 7.680788, 45.174217);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(0.724776, 0.000000, 0.688985, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(18.216845, 11.819518, 59.040672);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(0.531754, 0.000000, 0.846899, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(38.126141, 28.646818, 100.972855);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(-0.228819, 0.000000, -0.973469, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(59.996498, 30.317238, 109.383728);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(-0.209362, 0.000000, -0.977838, 0.000000);
Properties(0)
{
}
}

}

}
How do I get a custom CP layout to work?
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Custom Command Post Layout for Hero Assault on Kashyyyk?

Post by Marth8880 »

I only took a quick peek, but you could try removing the "kas2_con" argument here:

Code: Select all

ReadDataFile("KAS\\kas2.lvl", "kas2_con")
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Re: Custom Command Post Layout for Hero Assault on Kashyyyk?

Post by modmaster13 »

Marth8880 wrote:I only took a quick peek, but you could try removing the "kas2_con" argument here:

Code: Select all

ReadDataFile("KAS\\kas2.lvl", "kas2_con")
Everytime I take that code out of the LUA, it crashes the game. :cpu:
Post Reply