CP Capture problems and 1.1/1.0 compatibility problems

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
User avatar
ArkAngel
Rebel Sergeant
Rebel Sergeant
Posts: 215
Joined: Fri Nov 13, 2009 10:00 am

CP Capture problems and 1.1/1.0 compatibility problems

Post by ArkAngel »

Hello GT, long time no see :)

For whatever reason, I decided to finish my map, battle of the bridge http://www.gametoast.com/forums/viewtop ... 29&t=23357
I never got around to finishing it due to personal issues, but now with school out I guess I'll actually finish it :)

Anyways, I've encountered a couple problems. First, I seem to be able to play my map in 1.0, but when I try in 1.1 I get a crash as soon as I spawn.

In addition, my fourth CP seems to be set up correctly, yet it I cannot capture it. I have the capture region set up, the paths set and the CP itself, all properly linked together. On my map, I initially deleted the fourth CP but decided to add it back, and now that I have it doesn't seem capturable.

I'm sorry if these questions seem silly, its been like 2 years since I've done this last so I forgot almost everything :(

here's my error log: http://freetexthost.com/265ax4wo0v

EDIT
sorry for double post, but I ran out of room (No excuses when there are workarounds. -Staff)

here are my LUA's
Hidden/Spoiler:
--
-- Copyright (c) 2005 Pandemic Studios, LLC. All rights reserved.
--

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

-- REP Attacking (attacker is always #1)
REP = 1;
CIS = 2;
-- These variables do not change
ATT = REP;
DEF = CIS;


function ScriptPostLoad()


panel = OnObjectKill(
function(object, killer)
if GetEntityName(object) == "panel" then
SetProperty("bridge", "CurHealth", 0)
end
end
)

panel1 = OnObjectKill(
function(object, killer)
if GetEntityName(object) == "panel1" then
SetProperty("platform", "CurHealth", 0)
end
end
)

--This defines the CPs. These need to happen first
cp1 = CommandPost:New{name = "cp1"}
cp2 = CommandPost:New{name = "cp2"}
cp3 = CommandPost:New{name = "cp3"}
cp4 = CommandPost:New{name = "cp4"}


--This sets up the actual objective. This needs to happen after cp's are defined
conquest = ObjectiveConquest:New{teamATT = ATT, teamDEF = DEF,
textATT = "game.modes.con",
textDEF = "game.modes.con2",
multiplayerRules = true}

--This adds the CPs to the objective. This needs to happen after the objective is set up
conquest:AddCommandPost(cp1)
conquest:AddCommandPost(cp2)
conquest:AddCommandPost(cp3)
conquest:AddCommandPost(cp4)

conquest:Start()

EnableSPHeroRules()

end






---------------------------------------------------------------------------
-- 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.
---------------------------------------------------------------------------
function ScriptInit()

ReadDataFile("ingame.lvl")


SetMaxFlyHeight(30)
SetMaxPlayerFlyHeight (200)

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

ReadDataFile("sound\\yav.lvl;yav1cw")
ReadDataFile("SIDE\\rep.lvl",
"rep_inf_ep3_officer",
"rep_hover_fightertank",
"rep_hero_anakin")

ReadDataFile("dc:SIDE\\rep.lvl",
"rep_inf_ep3_rifleman",
"rep_inf_ep3_sniper",
"rep_inf_ep3_rocketeer",
"rep_inf_ep3_jettrooper",
"rep_inf_clone_assassin",
"rep_inf_arf_trooper",
"rep_inf_pilot",
"rep_hover_barcspeeder",
"rep_walk_atte")

ReadDataFile("SIDE\\cis.lvl",
"cis_inf_officer",
"cis_inf_droideka",
"cis_hero_darthmaul",
"cis_hover_stap")

ReadDataFile("dc:SIDE\\cis.lvl",
"cis_inf_rifleman",
"cis_inf_rocketdroid",
"cis_inf_rocketeer",
"cis_inf_sniper",
"cis_inf_engineer",
"cis_inf_bxcommando")


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_pilot",1, 4},
sniper = { "rep_inf_ep3_sniper",1, 4},
officer = {"rep_inf_clone_assassin",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_rocketdroid",1, 4},
special = { "cis_inf_bxcommando",1, 4},

}
}

SetHeroClass(CIS, "cis_hero_darthmaul")
SetHeroClass(REP, "rep_inf_arf_trooper")


-- Level Stats
-- ClearWalkers()
AddWalkerType(0, 4) -- special -> droidekas
AddWalkerType(1, 0) -- 1x2 (1 pair of legs)
AddWalkerType(2, 0) -- 2x2 (2 pairs of legs)
AddWalkerType(3, 1) -- 3x2 (3 pairs of legs)
local weaponCnt = 1024
SetMemoryPoolSize("CommandWalker", 1)
SetMemoryPoolSize("EntityWalker", 9)
SetMemoryPoolSize("Aimer", 75)
SetMemoryPoolSize("AmmoCounter", weaponCnt)
SetMemoryPoolSize("BaseHint", 1024)
SetMemoryPoolSize("EnergyBar", weaponCnt)
SetMemoryPoolSize("EntityCloth", 32)
SetMemoryPoolSize("EntityFlyer", 32)
SetMemoryPoolSize("EntityHover", 32)
SetMemoryPoolSize("EntityLight", 200)
SetMemoryPoolSize("EntitySoundStream", 4)
SetMemoryPoolSize("EntitySoundStatic", 32)
SetMemoryPoolSize("MountedTurret", 32)
SetMemoryPoolSize("Navigator", 128)
SetMemoryPoolSize("Obstacle", 1024)
SetMemoryPoolSize("PathNode", 1024)
SetMemoryPoolSize("SoundSpaceRegion", 64)
SetMemoryPoolSize("TreeGridStack", 1024)
SetMemoryPoolSize("UnitAgent", 128)
SetMemoryPoolSize("UnitController", 128)
SetMemoryPoolSize("Weapon", weaponCnt)

SetSpawnDelay(10.0, 0.25)
--ReadDataFile("dc:BOB\\BOB.lvl", "BOB_conquest")
ReadDataFile("dc:BOB\\BOB.lvl", "BOB_conquest")
SetDenseEnvironment("false")




-- Sound

SetSoundEffect("ScopeDisplayZoomIn", "binocularzoomin")
SetSoundEffect("ScopeDisplayZoomOut", "binocularzoomout")

voiceSlow = OpenAudioStream("sound\\global.lvl", "rep_unit_vo_slow")
AudioStreamAppendSegments("sound\\global.lvl", "cis_unit_vo_slow", voiceSlow)
AudioStreamAppendSegments("sound\\global.lvl", "global_vo_slow", voiceSlow)

voiceQuick = OpenAudioStream("sound\\global.lvl", "rep_unit_vo_quick")
AudioStreamAppendSegments("sound\\global.lvl", "cis_unit_vo_quick", voiceQuick)

OpenAudioStream("sound\\global.lvl", "cw_music")
-- OpenAudioStream("sound\\global.lvl", "global_vo_quick")
-- OpenAudioStream("sound\\global.lvl", "global_vo_slow")
OpenAudioStream("sound\\yav.lvl", "yav1")
OpenAudioStream("sound\\yav.lvl", "yav1")
OpenAudioStream("sound\\yav.lvl", "yav1_emt")

SetBleedingVoiceOver(REP, REP, "rep_off_com_report_us_overwhelmed", 1)
SetBleedingVoiceOver(REP, CIS, "rep_off_com_report_enemy_losing", 1)
SetBleedingVoiceOver(CIS, REP, "cis_off_com_report_enemy_losing", 1)
SetBleedingVoiceOver(CIS, CIS, "cis_off_com_report_us_overwhelmed", 1)

SetOutOfBoundsVoiceOver(2, "cisleaving")
SetOutOfBoundsVoiceOver(1, "repleaving")

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)

SetVictoryMusic(REP, "rep_yav_amb_victory")
SetDefeatMusic (REP, "rep_yav_amb_defeat")
SetVictoryMusic(CIS, "cis_yav_amb_victory")
SetDefeatMusic (CIS, "cis_yav_amb_defeat")

SetSoundEffect("ScopeDisplayZoomIn", "binocularzoomin")
SetSoundEffect("ScopeDisplayZoomOut", "binocularzoomout")
--SetSoundEffect("BirdScatter", "birdsFlySeq1")
--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")


--OpeningSateliteShot
AddCameraShot(0.908386, -0.209095, -0.352873, -0.081226, -45.922508, -19.114113, 77.022636);

AddCameraShot(-0.481173, 0.024248, -0.875181, -0.044103, 14.767292, -30.602322, -144.506851);
AddCameraShot(0.999914, -0.012495, -0.004416, -0.000055, 1.143253, -33.602314, -76.884430);
AddCameraShot(0.839161, 0.012048, -0.543698, 0.007806, 19.152437, -49.802273, 24.337317);
AddCameraShot(0.467324, 0.006709, -0.883972, 0.012691, 11.825212, -49.802273, -7.000720);
AddCameraShot(0.861797, 0.001786, -0.507253, 0.001051, -11.986043, -59.702248, 23.263165);
AddCameraShot(0.628546, -0.042609, -0.774831, -0.052525, 20.429928, -48.302277, 9.771714);
AddCameraShot(0.765213, -0.051873, 0.640215, 0.043400, 57.692474, -48.302277, 16.540724);
AddCameraShot(0.264032, -0.015285, -0.962782, -0.055734, -16.681797, -42.902290, 129.553268);
AddCameraShot(-0.382320, 0.022132, -0.922222, -0.053386, 20.670977, -42.902290, 135.513001);
end
Hidden/Spoiler:
--
-- Copyright (c) 2005 Pandemic Studios, LLC. All rights reserved.
--

ScriptCB_DoFile("setup_teams")
ScriptCB_DoFile("ObjectiveConquest")

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

function ScriptPostLoad()

panel = OnObjectKill(
function(object, killer)
if GetEntityName(object) == "panel" then
SetProperty("bridge", "CurHealth", 0)
end
end
)


--This defines the CPs. These need to happen first
cp1 = CommandPost:New{name = "cp1"}
cp2 = CommandPost:New{name = "cp2"}
cp3 = CommandPost:New{name = "cp3"}
cp4 = CommandPost:New{name = "cp4"}


--This sets up the actual objective. This needs to happen after cp's are defined
conquest = ObjectiveConquest:New{teamATT = ATT, teamDEF = DEF,
textATT = "game.modes.con",
textDEF = "game.modes.con2",
multiplayerRules = true}

--This adds the CPs to the objective. This needs to happen after the objective is set up
conquest:AddCommandPost(cp1)
conquest:AddCommandPost(cp2)
conquest:AddCommandPost(cp3)
conquest:AddCommandPost(cp4)

conquest:Start()

EnableSPHeroRules()

end


---------------------------------------------------------------------------
-- 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.
---------------------------------------------------------------------------

function ScriptInit()

ReadDataFile("ingame.lvl")



SetMaxFlyHeight(40)
SetMaxPlayerFlyHeight(40)


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


ReadDataFile("sound\\tat.lvl;tat2gcw")
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",
"imp_hover_speederbike")

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")

-- Level Stats
ClearWalkers()
AddWalkerType(0, 0) -- special -> droidekas
AddWalkerType(1, 0) -- 1x2 (1 pair of legs)
AddWalkerType(2, 0) -- 2x2 (2 pairs of legs)
AddWalkerType(3, 0) -- 3x2 (3 pairs of legs)

local weaponCnt = 1024
SetMemoryPoolSize("Aimer", 75)
SetMemoryPoolSize("AmmoCounter", weaponCnt)
SetMemoryPoolSize("BaseHint", 1024)
SetMemoryPoolSize("EnergyBar", weaponCnt)
SetMemoryPoolSize("EntityCloth", 32)
SetMemoryPoolSize("EntityFlyer", 32)
SetMemoryPoolSize("EntityHover", 32)
SetMemoryPoolSize("EntityLight", 200)
SetMemoryPoolSize("EntitySoundStream", 4)
SetMemoryPoolSize("EntitySoundStatic", 32)
SetMemoryPoolSize("MountedTurret", 32)
SetMemoryPoolSize("Navigator", 128)
SetMemoryPoolSize("Obstacle", 1024)
SetMemoryPoolSize("PathNode", 1024)
SetMemoryPoolSize("SoundSpaceRegion", 64)
SetMemoryPoolSize("TreeGridStack", 1024)
SetMemoryPoolSize("UnitAgent", 128)
SetMemoryPoolSize("UnitController", 128)
SetMemoryPoolSize("Weapon", weaponCnt)

SetSpawnDelay(10.0, 0.25)
ReadDataFile("dc:BOB\\BOB.lvl", "BOB_conquest")
SetDenseEnvironment("false")


-- Sound Stats

voiceSlow = OpenAudioStream("sound\\global.lvl", "all_unit_vo_slow")
AudioStreamAppendSegments("sound\\global.lvl", "imp_unit_vo_slow", voiceSlow)
AudioStreamAppendSegments("sound\\global.lvl", "des_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(2, "Allleaving")
SetOutOfBoundsVoiceOver(1, "Impleaving")

SetAmbientMusic(ALL, 1.0, "all_tat_amb_start", 0,1)
SetAmbientMusic(ALL, 0.8, "all_tat_amb_middle", 1,1)
SetAmbientMusic(ALL, 0.2, "all_tat_amb_end", 2,1)
SetAmbientMusic(IMP, 1.0, "imp_tat_amb_start", 0,1)
SetAmbientMusic(IMP, 0.8, "imp_tat_amb_middle", 1,1)
SetAmbientMusic(IMP, 0.2, "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")

-- Camera Stats
--Tat2 Mos Eisley
AddCameraShot(0.974338, -0.222180, 0.035172, 0.008020, -82.664650, 23.668301, 43.955681);
AddCameraShot(0.390197, -0.089729, -0.893040, -0.205362, 23.563562, 12.914885, -101.465561);
AddCameraShot(0.169759, 0.002225, -0.985398, 0.012916, 126.972809, 4.039628, -22.020613);
AddCameraShot(0.677453, -0.041535, 0.733016, 0.044942, 97.517807, 4.039628, 36.853477);
AddCameraShot(0.866029, -0.156506, 0.467299, 0.084449, 7.685640, 7.130688, -10.895234);
end
Last edited by ArkAngel on Wed May 30, 2012 10:04 pm, edited 1 time in total.
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: CP Capture problems and 1.1/1.0 compatibility problems

Post by lucasfart »

No idea about the 1.1 problem. With your cp problem, the best thing I can suggest is a manual clean and munge, and if there's no difference, delete cp4 and everything to do with it and add it again. If it still doesn't work, you're most likely setting it up wrong.
User avatar
Locutus
1st Lieutenant
1st Lieutenant
Posts: 420
Joined: Fri Jun 04, 2010 10:08 am
Projects :: Stargate Battlefront Pegasus
Location: Germany
Contact:

Re: CP Capture problems and 1.1/1.0 compatibility problems

Post by Locutus »

Had a similar problem with a cp before. Later on I realized I mistakenly added a space character in ZE after the name. As lucasfart suggested, try redoing your cp.

I'd also recommend to add SetMemoryPoolSize("SoldierAnimation", 500) to your scripts.
User avatar
ArkAngel
Rebel Sergeant
Rebel Sergeant
Posts: 215
Joined: Fri Nov 13, 2009 10:00 am

Re: CP Capture problems and 1.1/1.0 compatibility problems

Post by ArkAngel »

alright, I've done a manual clean and I've deleted the old CP/everything connected to it, and I've redone it, but it's still not working. I took a couple screenshots of the CP, the region and the paths

CP (cp4) - http://i.imgur.com/DIabh.jpg
Region (cp4_capture) - http://imgur.com/jhusN
Spawn path (cp4_spawn) - http://imgur.com/DofRD

From what I remember, that along with the LUA is all that is required for adding a CP I think(I consulted fierfek's guide as well)
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: CP Capture problems and 1.1/1.0 compatibility problems

Post by lucasfart »

yeah, that's all you should need for a new cp. Could you post your BOB_conquest.lyr in your world1 folder? As locotus said, you're probably just naming something slightly wrong (with a capital letter or extra space or something like that).
User avatar
ArkAngel
Rebel Sergeant
Rebel Sergeant
Posts: 215
Joined: Fri Nov 13, 2009 10:00 am

Re: CP Capture problems and 1.1/1.0 compatibility problems

Post by ArkAngel »

alright here's the bob_conquest.lyr
Hidden/Spoiler:
Version(3);
SaveType(0);

Camera("camera")
{
Rotation(-0.181, -0.049, -0.948, 0.256);
Position(-446.963, 74.615, -201.931);
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(-371.994, 18.345, -351.780, -0.285, -0.049, -0.943, 0.162);
}
LightName("BOB_conquest.LGT");
ControllerManager("StandardCtrlMgr");

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

NextSequence(-1364532);

Object("cp3", "com_bldg_controlzone", -786076975)
{
ChildRotation(1.000, 0.000, 0.000, 0.000);
ChildPosition(-405.000, -1.000, -315.000);
SeqNo(-786076975);
Team(0);
NetworkId(-1);
Layer(1);
CaptureRegion("cp3_capture");
ControlRegion("");
SpawnPath("cp3_spawn");
TurretPath("");
AllyPath("");
AllyCount("65536");
SpawnRegion("");
Radius("0.0");
ValueBleed_Alliance("10");
ValueBleed_CIS("10");
ValueBleed_Empire("10");
ValueBleed_Republic("10");
ValueBleed_Neutral("0");
ValueBleed_Locals("0");
Value_ATK_Alliance("10");
Value_ATK_CIS("10");
Value_ATK_Empire("10");
Value_ATK_Republic("10");
Value_ATK_Locals("10");
Value_DEF_Alliance("10");
Value_DEF_CIS("10");
Value_DEF_Empire("10");
Value_DEF_Republic("10");
Value_DEF_Locals("10");
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("1");
}

Object("cp4", "com_bldg_controlzone", -1244524830)
{
ChildRotation(1.000, 0.000, 0.000, 0.000);
ChildPosition(-366.000, 10.000, -331.000);
SeqNo(-1244524830);
Team(0);
NetworkId(-1);
Label("cp4");
Layer(1);
CaptureRegion("cp4_capture");
ControlRegion("");
SpawnPath("cp4_spawn");
TurretPath("");
AllyPath("");
AllyCount("65536");
SpawnRegion("");
Radius("0.0");
ValueBleed_Alliance("10");
ValueBleed_CIS("10");
ValueBleed_Empire("10");
ValueBleed_Republic("10");
ValueBleed_Neutral("0");
ValueBleed_Locals("0");
Value_ATK_Alliance("10");
Value_ATK_CIS("10");
Value_ATK_Empire("10");
Value_ATK_Republic("10");
Value_ATK_Locals("10");
Value_DEF_Alliance("10");
Value_DEF_CIS("10");
Value_DEF_Empire("10");
Value_DEF_Republic("10");
Value_DEF_Locals("10");
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("1");
}

Object("cp1", "com_bldg_controlzone", 1413701337)
{
ChildRotation(1.000, 0.000, 0.000, 0.000);
ChildPosition(-408.000, 0.000, -453.000);
SeqNo(1413701337);
Team(1);
NetworkId(-1);
Layer(1);
CaptureRegion("cp1_capture");
ControlRegion("cp1_control");
SpawnPath("cp1_spawn");
TurretPath("");
AllyPath("");
AllyCount("65536");
SpawnRegion("");
Radius("0.0");
ValueBleed_Alliance("10");
ValueBleed_CIS("10");
ValueBleed_Empire("10");
ValueBleed_Republic("10");
ValueBleed_Neutral("0");
ValueBleed_Locals("0");
Value_ATK_Alliance("10");
Value_ATK_CIS("10");
Value_ATK_Empire("10");
Value_ATK_Republic("10");
Value_ATK_Locals("10");
Value_DEF_Alliance("10");
Value_DEF_CIS("10");
Value_DEF_Empire("10");
Value_DEF_Republic("10");
Value_DEF_Locals("10");
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("1");
}

Object("cp2", "com_bldg_controlzone", 1195634002)
{
ChildRotation(1.000, 0.000, 0.000, 0.000);
ChildPosition(-417.000, 0.000, -170.000);
SeqNo(1195634002);
Team(2);
NetworkId(-1);
Layer(1);
CaptureRegion("cp2_capture");
ControlRegion("");
SpawnPath("cp2_spawn");
TurretPath("");
AllyPath("");
AllyCount("65536");
SpawnRegion("");
Radius("0.0");
ValueBleed_Alliance("10");
ValueBleed_CIS("10");
ValueBleed_Empire("10");
ValueBleed_Republic("10");
ValueBleed_Neutral("0");
ValueBleed_Locals("0");
Value_ATK_Alliance("10");
Value_ATK_CIS("10");
Value_ATK_Empire("10");
Value_ATK_Republic("10");
Value_ATK_Locals("10");
Value_DEF_Alliance("10");
Value_DEF_CIS("10");
Value_DEF_Empire("10");
Value_DEF_Republic("10");
Value_DEF_Locals("10");
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("1");
}

Object("com_item_vehicle_spawn", "com_item_vehicle_spawn", 530179735)
{
ChildRotation(0.831, 0.000, 0.556, 0.000);
ChildPosition(-282.000, 1.000, -223.000);
SeqNo(530179735);
Team(0);
NetworkId(-1);
Layer(1);
ControlZone("cp1");
SpawnCount("1");
SpawnTime("30");
ExpireTimeEnemy("60");
ExpireTimeField("60");
DecayTime("10000");
ClassNeutral("");
ClassAllATK("imp_hover_speederbike");
ClassCISATK("cis_hover_stap");
ClassImpATK("imp_hover_speederbike");
ClassRepATK("rep_hover_barcspeeder");
ClassLocATK("");
ClassHisATK("");
ClassAllDEF("imp_hover_speederbike");
ClassCISDEF("cis_hover_stap");
ClassImpDEF("imp_hover_speederbike");
ClassRepDEF("rep_hover_barcspeeder");
ClassLocDEF("");
ClassHisDEF("");
ClassLocals("");
}

Object("myg1_prop_energy_collector_shield", "myg1_prop_energy_collector_shield", 1237079390)
{
ChildRotation(1.000, 0.000, 0.000, 0.000);
ChildPosition(-404.000, -1.000, -433.000);
SeqNo(1237079390);
Team(0);
NetworkId(-1);
Layer(1);
}

Object("com_item_vehicle_spawn1", "com_item_vehicle_spawn", 1255071234)
{
ChildRotation(0.815, 0.000, 0.580, 0.000);
ChildPosition(-286.000, 1.000, -212.000);
SeqNo(1255071234);
Team(0);
NetworkId(-1);
Layer(1);
ControlZone("cp1");
SpawnCount("1");
SpawnTime("30");
ExpireTimeEnemy("60");
ExpireTimeField("60");
DecayTime("10000");
ClassNeutral("");
ClassAllATK("imp_hover_speederbike");
ClassCISATK("cis_hover_stap");
ClassImpATK("imp_hover_speederbike");
ClassRepATK("rep_hover_barcspeeder");
ClassLocATK("");
ClassHisATK("");
ClassAllDEF("imp_hover_speederbike");
ClassCISDEF("cis_hover_stap");
ClassImpDEF("imp_hover_speederbike");
ClassRepDEF("rep_hover_barcspeeder");
ClassLocDEF("");
ClassHisDEF("");
ClassLocals("");
}

Object("com_item_vehicle_spawn3", "com_item_vehicle_spawn", 1363895187)
{
ChildRotation(0.826, 0.000, 0.564, 0.000);
ChildPosition(-275.000, 1.000, -207.000);
SeqNo(1363895187);
Team(0);
NetworkId(-1);
Layer(1);
ControlZone("cp1");
SpawnCount("1");
SpawnTime("30");
ExpireTimeEnemy("60");
ExpireTimeField("60");
DecayTime("10000");
ClassNeutral("");
ClassAllATK("imp_hover_speederbike");
ClassCISATK("cis_hover_stap");
ClassImpATK("imp_hover_speederbike");
ClassRepATK("rep_hover_barcspeeder");
ClassLocATK("");
ClassHisATK("");
ClassAllDEF("imp_hover_speederbike");
ClassCISDEF("cis_hover_stap");
ClassImpDEF("imp_hover_speederbike");
ClassRepDEF("rep_hover_barcspeeder");
ClassLocDEF("");
ClassHisDEF("");
ClassLocals("");
}

Object("com_item_vehicle_spawn4", "com_item_vehicle_spawn", 1727226167)
{
ChildRotation(0.771, 0.000, 0.636, 0.000);
ChildPosition(-197.000, 0.263, -171.000);
SeqNo(1727226167);
Team(0);
NetworkId(-1);
Layer(1);
ControlZone("cp1");
SpawnCount("1");
SpawnTime("30");
ExpireTimeEnemy("60");
ExpireTimeField("60");
DecayTime("100000");
ClassNeutral("");
ClassAllATK("imp_hover_speederbike");
ClassCISATK("cis_hover_stap");
ClassImpATK("imp_hover_speederbike");
ClassRepATK("rep_walk_atte");
ClassLocATK("");
ClassHisATK("");
ClassAllDEF("imp_hover_speederbike");
ClassCISDEF("cis_hover_stap");
ClassImpDEF("imp_hover_speederbike");
ClassRepDEF("rep_walk_atte");
ClassLocDEF("");
ClassHisDEF("");
ClassLocals("");
}

Object("com_item_vehicle_spawn2", "com_item_vehicle_spawn", -1654491749)
{
ChildRotation(0.826, 0.000, 0.563, 0.000);
ChildPosition(-271.000, 1.000, -218.000);
SeqNo(-1654491749);
Team(0);
NetworkId(-1);
Layer(1);
ControlZone("cp1");
SpawnCount("1");
SpawnTime("30");
ExpireTimeEnemy("60");
ExpireTimeField("60");
DecayTime("10000");
ClassNeutral("");
ClassAllATK("imp_hover_speederbike");
ClassCISATK("cis_hover_stap");
ClassImpATK("imp_hover_speederbike");
ClassRepATK("rep_hover_barcspeeder");
ClassLocATK("");
ClassHisATK("");
ClassAllDEF("imp_hover_speederbike");
ClassCISDEF("cis_hover_stap");
ClassImpDEF("imp_hover_speederbike");
ClassRepDEF("rep_hover_barcspeeder");
ClassLocDEF("");
ClassHisDEF("");
ClassLocals("");
}
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: CP Capture problems and 1.1/1.0 compatibility problems

Post by lucasfart »

That all looks ok. I have no idea what it might be. sorry. :?
Post Reply