New Map Error

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

User avatar
Ant
Chief Warrant Officer
Chief Warrant Officer
Posts: 326
Joined: Sat Sep 29, 2012 8:16 am
Projects :: The Clone Wars Mod
Games I'm Playing :: Battlefront Series
Contact:

Re: New Map Error

Post by Ant »

Awesome! Okay I moved up the nodes and now they are all in the map..but they still aren't spawning at the registered command post! :cpu:
JimmyAngler
High General
High General
Posts: 837
Joined: Mon Nov 04, 2013 10:37 am
Projects :: Battlefront Halation
Games I'm Playing :: SWBF 1-2-2015
xbox live or psn: none
Location: Area 51

Re: New Map Error

Post by JimmyAngler »

sooo where are they spawning?
User avatar
Ant
Chief Warrant Officer
Chief Warrant Officer
Posts: 326
Joined: Sat Sep 29, 2012 8:16 am
Projects :: The Clone Wars Mod
Games I'm Playing :: Battlefront Series
Contact:

Re: New Map Error

Post by Ant »

The Heroes spawn over at the Villains CP, and the Villians spawn over at the Heroes. The AI do not follow the Nodes I set for the either, they just all run up against the closest wall. :(
JimmyAngler
High General
High General
Posts: 837
Joined: Mon Nov 04, 2013 10:37 am
Projects :: Battlefront Halation
Games I'm Playing :: SWBF 1-2-2015
xbox live or psn: none
Location: Area 51

Re: New Map Error

Post by JimmyAngler »

do you have the cp's numbered correctly for team 1 and team 2?
User avatar
Cleb
Lieutenant General
Lieutenant General
Posts: 711
Joined: Sun Jun 17, 2012 10:12 pm
Projects :: Learning how to use 3DS Max
Games I'm Playing :: BF2 CIV4 MC
xbox live or psn: ˙. ˙. ˙. ˙. ˙. ˙
Location: Somewhere
Contact:

Re: New Map Error

Post by Cleb »

Ant wrote:The AI do not follow the Nodes I set for the either, they just all run up against the closest wall. :(
You need pathing and barriers for that. For pathing ("corridors" that the AI will follow), go to the pathing tab and place hubs around corners and CPs and use connections to connect them. Barriers are simply invisible walls that the AI will not go into, but the player will never be able to tell they're there. These are useful if there are obstacles such as cliffs and pillars. :wink:
More on that: http://www.gametoast.com/forums/viewtop ... 27&t=20144
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: New Map Error

Post by Marth8880 »

Cleb wrote:
Ant wrote:The AI do not follow the Nodes I set for the either, they just all run up against the closest wall. :(
You need pathing and barriers for that. For pathing ("corridors" that the AI will follow), go to the pathing tab and place hubs around corners and CPs and use connections to connect them. Barriers are simply invisible walls that the AI will not go into, but the player will never be able to tell they're there. These are useful if there are obstacles such as cliffs and pillars. :wink:
More on that: http://www.gametoast.com/forums/viewtop ... 27&t=20144
Just thought I'd point out that it's called "planning," not "pathing." ;)
User avatar
Ant
Chief Warrant Officer
Chief Warrant Officer
Posts: 326
Joined: Sat Sep 29, 2012 8:16 am
Projects :: The Clone Wars Mod
Games I'm Playing :: Battlefront Series
Contact:

Re: New Map Error

Post by Ant »

Okay. So now I got everything working so far..thanks!
Last edited by Ant on Mon Jan 06, 2014 3:47 pm, edited 3 times in total.
User avatar
Cleb
Lieutenant General
Lieutenant General
Posts: 711
Joined: Sun Jun 17, 2012 10:12 pm
Projects :: Learning how to use 3DS Max
Games I'm Playing :: BF2 CIV4 MC
xbox live or psn: ˙. ˙. ˙. ˙. ˙. ˙
Location: Somewhere
Contact:

Re: New Map Error

Post by Cleb »

Marth8880 wrote:Just thought I'd point out that it's called "planning," not "pathing." ;)
Whoops, wrote that in a rush and didn't notice it :oops:
User avatar
Ant
Chief Warrant Officer
Chief Warrant Officer
Posts: 326
Joined: Sat Sep 29, 2012 8:16 am
Projects :: The Clone Wars Mod
Games I'm Playing :: Battlefront Series
Contact:

Re: New Map Error

Post by Ant »

I want to add a Conquest mode to my map + Zero Editor. Currently it only has Assault. How would I be able to do this?
JimmyAngler
High General
High General
Posts: 837
Joined: Mon Nov 04, 2013 10:37 am
Projects :: Battlefront Halation
Games I'm Playing :: SWBF 1-2-2015
xbox live or psn: none
Location: Area 51

Re: New Map Error

Post by JimmyAngler »

weeelll originally that would have been done by the munger when you first started. I think you could just add one through the readme Lua found here : C:\BF2_ModTools\data_SKN\addme
Hidden/Spoiler:
Add this under the one that looks like it : AddDownloadableContent("ABC","ABCc_con",4) or ABCg_con depending on your era.

sp_missionselect_listbox_contents[sp_n+1] = { isModLevel = 1, mapluafile = "ABC%s_%s", era_c = 1, mode_con_c = 1, era_(c or g) = 1, mode_con_(c or g) = 1, add the stuff in red
And stick this in your scripts/ABC file as a new LUA.
This is a clone wars era one.
Change ABC with our map name.
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()


--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 (30)

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_rifleman",
"rep_inf_ep3_rocketeer",
"rep_inf_ep3_sniper",
"rep_inf_ep3_engineer",
"rep_inf_ep3_officer",
"rep_inf_ep3_jettrooper",
"rep_hero_anakin")





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



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},
}
}

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

-- 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, 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:ABC\\ABC.lvl", "ABC_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
And add this into : C:\BF2_ModTools\data_SKN\Common\mission
Hidden/Spoiler:
ucft
{
REQN
{


"script"
"ABC(g or c)_con"
}
}

and save it as a ABC(g or c)_con.req file

In the Mission req found here: C:\BF2_ModTools\data_SKN\Common

put the stuff in red in
Hidden/Spoiler:
ucft
{
REQN
{
"config"
"ingame_movies"
}

REQN
{
"script"
"setup_teams"
"gametype_conquest"
"gametype_capture"
"Objective"
"MultiObjectiveContainer"
"ObjectiveCTF"
"ObjectiveAssault"
"ObjectiveSpaceAssault"
"ObjectiveConquest"
"ObjectiveTDM"
"ObjectiveOneFlagCTF"
"SoundEvent_ctf"
"ObjectiveGoto"
"LinkedShields"
"LinkedDestroyables"
"LinkedTurrets"
"Ambush"
"PlayMovieWithTransition"
}

REQN
{
"lvl"
"ABC(g or c)_con"

}

}
I don't know If all this is exactly right, someone correct me if it's false.
@ANT it's worth a try though.
User avatar
Ant
Chief Warrant Officer
Chief Warrant Officer
Posts: 326
Joined: Sat Sep 29, 2012 8:16 am
Projects :: The Clone Wars Mod
Games I'm Playing :: Battlefront Series
Contact:

Re: New Map Error

Post by Ant »

Okay thanks...before I try it though, you keept saying (c or g)...how would you do both?
JimmyAngler
High General
High General
Posts: 837
Joined: Mon Nov 04, 2013 10:37 am
Projects :: Battlefront Halation
Games I'm Playing :: SWBF 1-2-2015
xbox live or psn: none
Location: Area 51

Re: New Map Error

Post by JimmyAngler »

just do It all over again using the other letter and changing some stuff in the lua to galactic conquest. Try clone wars first and then I'll type up a galactic lua for you.


EDIT
well if you add the cps under base it just adds them to all the layers. try that while I *runs off to find out how to add another layer to ZE. :D

Edit2:

sooo in order to add the layer thingy go here : C:\BF2_ModTools\data_ABC\Worlds\ABC\world1

look for a notepad file with the extension of .REQ

open it up and scroll to the bottom.

should look something like this:
Hidden/Spoiler:
REQN
{
"lvl"
"ABC_assault"
"ABC_conquest"
}
}
stuff in red should be added.

now look for files with these names:

ABC_assault.HNT
ABC_assault.LGT
and copy and paste them so there are two. rename the copied ones to
ABC_conquest.HNT
ABC_conquest.LGT

delete everything inside of them using notepad.

make a file (or copy the assault one and rename it) named ABC_conquest.LYR
Inside of it delete the original and put in this:
Hidden/Spoiler:
Version(3);
SaveType(0);

Camera("camera")
{
Rotation(0.998, 0.071, 0.000, 0.000);
Position(-213.920, 10.453, -194.930);
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(-24.000, 55.608, -140.280, 0.524, 0.446, -0.552, 0.471);
}
LightName("SKN_conquest.LGT");
ControllerManager("StandardCtrlMgr");

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

NextSequence(-231420622);

Object("cp3", "com_bldg_controlzone", -786076975)
{
ChildRotation(1.000, 0.000, 0.000, 0.000);
ChildPosition(-136.000, 0.000, -24.000);
SeqNo(-786076975);
Team(2);
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", -2069063496)
{
ChildRotation(1.000, 0.000, 0.000, 0.000);
ChildPosition(-128.000, 0.000, -248.000);
SeqNo(-2069063496);
Team(0);
NetworkId(-1);
Layer(1);
CaptureRegion("cp4_capture");
ControlRegion("cp4_control");
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(-216.000, 0.000, -136.000);
SeqNo(1413701337);
Team(1);
NetworkId(-1);
Layer(1);
CaptureRegion("cp1_capture");
ControlRegion("");
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(-32.000, 0.000, -144.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");
}
This part I am not quite sure about so *cross fingers*

Make (copy and rename) a file called: ABC_conquest.MRQ and in it goes:
Hidden/Spoiler:
ucft
{
REQN
{
"congraph"
"SKN_conquest"
}
REQN
{
"world"
"SKN_conquest"
}
}
Make (or copy and rename) file called ABC_conquest.PTH and in it goes:
Hidden/Spoiler:
Version(10);
PathCount(6);

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

Properties(0)
{
}

Nodes(7)
{
Node()
{
Position(-146.318207, 0.000000, -255.450806);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(0.990219, 0.000000, 0.139519, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(-133.122055, 0.000000, -247.494858);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(-129.927917, 0.000000, -242.423294);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(-123.184158, 0.000000, -242.671844);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(-121.390610, 0.000000, -247.350266);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(-123.959389, 0.000000, -254.751144);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(-151.097672, 0.000000, -256.234192);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Properties(0)
{
}
}

}

}

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

Properties(0)
{
}

Nodes(7)
{
Node()
{
Position(-219.075775, 0.000001, -138.052322);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(-217.810364, 0.000000, -132.688995);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(-212.316940, 0.000000, -132.301834);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(-210.024048, 0.000000, -137.652100);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(-212.640991, 0.000000, -142.226410);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(-217.696594, 0.000000, -143.272980);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(-219.155151, 0.000000, -142.566879);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Properties(0)
{
}
}

}

}

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

Properties(0)
{
}

Nodes(7)
{
Node()
{
Position(-36.616894, 0.000000, -147.452515);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(-36.001389, 0.000000, -141.893707);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(-30.414846, 0.000000, -138.878433);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(-26.373993, 0.000000, -144.084381);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(-28.269371, 0.000000, -151.616241);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(-32.507515, 0.000000, -152.644257);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(-34.607220, 0.000000, -150.577866);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Properties(0)
{
}
}

}

}

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

Properties(0)
{
}

Nodes(8)
{
Node()
{
Position(-140.661880, -0.000001, -28.330135);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(-140.012283, 0.000000, -21.444180);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(-134.722717, 0.000000, -18.277287);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(-131.381104, 0.000000, -22.424557);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(-130.907654, 0.000000, -28.226040);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(-134.790833, 0.000000, -32.370003);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(-137.831299, 0.000000, -31.538876);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(-139.973206, 0.000000, -29.567764);
Knot(0.000000);
Data(1);
Time(1.000000);
PauseTime(0.000000);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Properties(0)
{
}
}

}

}

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

Properties(0)
{
}

Nodes(4)
{
Node()
{
Position(-133.980591, 0.000000, -253.342285);
Knot(0.000000);
Data(1);
Time(1.000000);
PauseTime(0.000000);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(-137.819382, 0.000000, -251.984818);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(-139.988495, 0.000000, -256.611633);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Properties(0)
{
}
}

Node()
{
Position(-127.014160, 0.000000, -251.563232);
Knot(0.000000);
Data(0);
Time(1.000000);
PauseTime(0.000000);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Properties(0)
{
}
}

}

}

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

Properties(0)
{
}

Nodes(0)
{
}

}
Make (you know what now) file called ABC_conquest.RGN and in it goes:
Hidden/Spoiler:
Version(1);
RegionCount(6);

Region("cp1_capture", 2)
{
Layer(1);
Position(-216.015289, 4.629235, -135.871857);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Size(6.000000, 6.000000, 6.000000);
Name("cp1_capture");
}

Region("cp2_capture", 2)
{
Layer(1);
Position(-31.967234, 4.812834, -143.943726);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Size(6.000000, 6.000000, 6.000000);
Name("cp2_capture");
}

Region("cp3_capture", 2)
{
Layer(1);
Position(-136.091614, 4.001449, -24.010523);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Size(6.000000, 6.000000, 6.000000);
Name("cp3_capture");
}

Region("cp4_capture", 2)
{
Layer(1);
Position(-128.005005, 4.267767, -247.931778);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Size(8.091904, 6.000000, 10.708191);
Name("cp4_capture");
}

Region("cp4_control", 0)
{
Layer(1);
Position(-128.103470, 7.488062, -246.980957);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Size(72.172478, 27.710453, 49.073959);
Name("cp4_control");
}

Region("cp2_control", 0)
{
Layer(1);
Position(-32.492752, 3.131184, -145.559631);
Rotation(1.000000, 0.000000, 0.000000, 0.000000);
Size(18.382029, 13.773665, 20.437164);
Name("cp2_control");
}
Then hold ya breath and hope all goes well.
(Dang I hope this is all correct)
User avatar
Nedarb7
Lieutenant General
Lieutenant General
Posts: 676
Joined: Sat Sep 22, 2012 3:41 pm

Re: New Map Error

Post by Nedarb7 »

If you want to use your assault layer for you conquest you can simply change this line in your LUA instead of going through copying and pasting and editing everything:

Code: Select all

ReadDataFile("dc:ABC\\ABC.lvl", "ABC_conquest") 
to

Code: Select all

ReadDataFile("dc:ABC\\ABC.lvl", "ABC_assault") 
If it isn't called assault it could be called something like eli as well.
JimmyAngler
High General
High General
Posts: 837
Joined: Mon Nov 04, 2013 10:37 am
Projects :: Battlefront Halation
Games I'm Playing :: SWBF 1-2-2015
xbox live or psn: none
Location: Area 51

Re: New Map Error

Post by JimmyAngler »

I think he already has an assault and it trying to make another mode to his map like conquest.
User avatar
Ant
Chief Warrant Officer
Chief Warrant Officer
Posts: 326
Joined: Sat Sep 29, 2012 8:16 am
Projects :: The Clone Wars Mod
Games I'm Playing :: Battlefront Series
Contact:

Re: New Map Error

Post by Ant »

It's working!!
Hidden/Spoiler:
Image
Image
Image
Okay, after like fifteen maps, hundreds of moved files, and 13 empty juice boxes, conquest has been added. As of know I think I have everything situation, I just need to start the Conquest pathing, which can't be to difficult based on that I just completed Assault and I have all the help material in the early comments above. :D :)
JimmyAngler
High General
High General
Posts: 837
Joined: Mon Nov 04, 2013 10:37 am
Projects :: Battlefront Halation
Games I'm Playing :: SWBF 1-2-2015
xbox live or psn: none
Location: Area 51

Re: New Map Error

Post by JimmyAngler »

OMGOOOSHNESS HOORAY!!! :thumbs: Could the admin please add this to the faq? I think that the information of creating a new mode after the creation of the world would be wonderful.
Hidden/Spoiler:
I feel wonderful right now. Anyone want to go skydiving? :D
Edit: Here's your galactic conquest LUA:
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()


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

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:@#$\\@#$.lvl", "@#$_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 JimmyAngler on Mon Jan 06, 2014 6:44 pm, edited 1 time in total.
User avatar
Ant
Chief Warrant Officer
Chief Warrant Officer
Posts: 326
Joined: Sat Sep 29, 2012 8:16 am
Projects :: The Clone Wars Mod
Games I'm Playing :: Battlefront Series
Contact:

Re: New Map Error

Post by Ant »

*Celebration dies.
Meh. Once I move the command post and remunge, I am the only unit who spawns.
Hidden/Spoiler:
Image
JimmyAngler
High General
High General
Posts: 837
Joined: Mon Nov 04, 2013 10:37 am
Projects :: Battlefront Halation
Games I'm Playing :: SWBF 1-2-2015
xbox live or psn: none
Location: Area 51

Re: New Map Error

Post by JimmyAngler »

could you check your munge log?
And is it a blank map or a copied one?
User avatar
Ant
Chief Warrant Officer
Chief Warrant Officer
Posts: 326
Joined: Sat Sep 29, 2012 8:16 am
Projects :: The Clone Wars Mod
Games I'm Playing :: Battlefront Series
Contact:

Re: New Map Error

Post by Ant »

Code: Select all

WARNING[PC_modelmunge MSH\Cor1_bldg_Youngling_Room_inside.msh]:Cor1_bldg_Youngling_Room_inside has 2109 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
WARNING[PC_modelmunge MSH\Cor1_bldg_Youngling_Room_outside.msh]:Cor1_bldg_Youngling_Room_outside has 1383 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
WARNING[PC_modelmunge MSH\Cor_jedi_temple.msh]:Cor_jedi_temple has 3264 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
   0 Errors    3 Warnings

Not much is showing up in the munge log. :(

EDIT: The Assault AI work fine...just the Conquest. Is there something I must activate in order for them to work when you move the CPs?
Last edited by Ant on Mon Jan 06, 2014 6:58 pm, edited 1 time in total.
JimmyAngler
High General
High General
Posts: 837
Joined: Mon Nov 04, 2013 10:37 am
Projects :: Battlefront Halation
Games I'm Playing :: SWBF 1-2-2015
xbox live or psn: none
Location: Area 51

Re: New Map Error

Post by JimmyAngler »

how 'bout the BF2 log.
Post Reply