i used that tutorial and had some problems, my cps crashed, the ingame.lvl was not being read, and more but they are fixed now after some lua coding. the map used to not show up untill i fixed up the addme.lua to call it in correctly too.
Now, i finally got the map to load up to the unit selection screen and it doesn't crash, but there are no cps yet the map is there and i can look around on it with freecam.
i have a ton of level 3 errors in my error log.
Hidden/Spoiler:
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LuaCallbacks_Mission.cpp(866)
Lua ReadDataFile: Could not open dc:NAB\nab1.lvl
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_item_vehiclerecharge"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP4"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP4"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP4"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP2"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP1"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP1"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP1"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP1"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP1"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP3"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP4"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP4"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP4"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP1"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP1"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP1"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP1"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP4"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP4"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP1"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP1"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP2"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP2"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP2"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP2"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP2"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP2"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP2"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP1"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP1"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP1"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\VehicleSpawn.cpp(135)
Vehicle spawn missing command post "CP1"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\VehicleSpawn.cpp(135)
Vehicle spawn missing command post "CP1"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\VehicleSpawn.cpp(135)
Vehicle spawn missing command post "CP1"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\VehicleSpawn.cpp(135)
Vehicle spawn missing command post "CP1"
Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\VehicleSpawn.cpp(191)
Vehicle spawn missing class "all_hover_combatspeeder"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\VehicleSpawn.cpp(135)
Vehicle spawn missing command post "CP1"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\VehicleSpawn.cpp(135)
Vehicle spawn missing command post "CP1"
Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\VehicleSpawn.cpp(191)
Vehicle spawn missing class "all_hover_combatspeeder"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_item_vehiclerecharge"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\VehicleSpawn.cpp(135)
Vehicle spawn missing command post "CP1"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_item_vehiclerecharge"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_item_vehiclerecharge"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_item_vehiclerecharge"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
C:\Battlefront2\main\Battlefront2\Source\LuaCallbacks_Mission.cpp(866)
Lua ReadDataFile: Could not open dc:NAB\nab1.lvl
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_item_vehiclerecharge"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP4"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP4"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP4"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP2"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP1"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP1"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP1"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP1"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP1"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP3"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP4"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP4"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP4"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP1"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP1"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP1"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP1"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP4"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP4"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP1"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP1"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP2"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP2"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP2"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP2"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP2"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP2"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP2"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP1"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP1"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HintManager.cpp(210)
Hint references nonexistant command post "CP1"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\VehicleSpawn.cpp(135)
Vehicle spawn missing command post "CP1"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\VehicleSpawn.cpp(135)
Vehicle spawn missing command post "CP1"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\VehicleSpawn.cpp(135)
Vehicle spawn missing command post "CP1"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\VehicleSpawn.cpp(135)
Vehicle spawn missing command post "CP1"
Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\VehicleSpawn.cpp(191)
Vehicle spawn missing class "all_hover_combatspeeder"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\VehicleSpawn.cpp(135)
Vehicle spawn missing command post "CP1"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\VehicleSpawn.cpp(135)
Vehicle spawn missing command post "CP1"
Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\VehicleSpawn.cpp(191)
Vehicle spawn missing class "all_hover_combatspeeder"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_item_vehiclerecharge"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\VehicleSpawn.cpp(135)
Vehicle spawn missing command post "CP1"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_item_vehiclerecharge"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_item_vehiclerecharge"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_item_vehiclerecharge"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "com_weap_gunturret"!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, , that does not have an .odf file associated with it
Hidden/Spoiler:
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LuaHelper.cpp(312)
CallProc failed: (none):0: attempt to perform arithmetic on a nil value
stack traceback:
(none): in function `AddCommandPost'
(none): in function `ScriptPostLoad'
ifs_sideselect_fnEnter(): Map does not support custom era teams
ifs_sideselect_fnEnter(): The award settings file exists
ifs_sideselect_fnEnter(): Starting to remove award effects...
ifs_sideselect_fnEnter(): Finished removing award effects.
C:\Battlefront2\main\Battlefront2\Source\LuaHelper.cpp(312)
CallProc failed: (none):0: attempt to perform arithmetic on a nil value
stack traceback:
(none): in function `AddCommandPost'
(none): in function `ScriptPostLoad'
ifs_sideselect_fnEnter(): Map does not support custom era teams
ifs_sideselect_fnEnter(): The award settings file exists
ifs_sideselect_fnEnter(): Starting to remove award effects...
ifs_sideselect_fnEnter(): Finished removing award effects.
if anyone can help please do.
EDIT: sorry, i was in a rush while typing this (did it in about 3 minutes including finding the errors). Heres the lua.
Note: this is naboo: plains from bf1
Hidden/Spoiler:
ScriptCB_DoFile("ObjectiveConquest")
ScriptCB_DoFile("setup_teams")
---------------------------------------------------------------------------
-- 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 ScriptPostLoad()
--This defines the CPs. These need to happen first
AddAIGoal(3, "Deathmatch", 100)
cp1 = CommandPost:New{name = "CP1"}
cp2 = CommandPost:New{name = "CP11"}
cp3 = CommandPost:New{name = "CP2"}
cp4 = CommandPost:New{name = "CP3"}
cp5 = 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:AddCommandPost(cp5)
conquest:Start()
EnableSPHeroRules()
end
function ScriptInit()
StealArtistHeap(800*1024)
-- Designers, these two lines *MUST* be first.
SetPS2ModelMemory(3500000)
ReadDataFile("ingame.lvl")
-- Empire Attacking (attacker is always #1)
local ALL = 2
local IMP = 1
-- These variables do not change
local ATT = 1
local DEF = 2
SetTeamName(ALL, "Alliance")
SetTeamName(IMP, "Empire")
SetTeamName(3, "Locals")
SetTeamAggressiveness(ALL, 1.0)
SetTeamAggressiveness(IMP, 1.0)
SetMemoryPoolSize("Music", 40)
SetMaxFlyHeight(100)
SetMaxPlayerFlyHeight(100)
ReadDataFile("dc:sound\\geo.lvl;geo1cw")
ReadDataFile("sound\\nab.lvl;nab2gcw")
ReadDataFile("dc:SIDE\\all.lvl",
"all_inf_short",
"all_inf_medium",
"all_inf_long",
"all_inf_antiveh",
"all_inf_support",
"all_inf_scout",
"all_inf_builder",
"all_inf_heavy",
"all_inf_jettrooper",
"all_inf_trapper")
ReadDataFile("dc:SIDE\\imp.lvl",
"imp_inf_short",
"imp_inf_medium",
"imp_inf_long",
"imp_inf_antiveh",
"imp_inf_support",
"imp_inf_scout",
"imp_inf_builder",
"imp_inf_heavy",
"imp_inf_jettrooper",
"imp_inf_trapper")
ReadDataFile("SIDE\\GUN.lvl",
"gun_inf_rider",
"gun_inf_soldier",
"gun_walk_kaadu")
-- Level Stats
ClearWalkers()
SetMemoryPoolSize ("EntityWalker",-1)
AddWalkerType(0, 0) -- 8 droidekas (special case: 0 leg pairs)
AddWalkerType(1, 6) --
AddWalkerType(2, 1) -- 2 spider walkers with 2 leg pairs each
AddWalkerType(3, 0) -- 2 attes with 3 leg pairs each
SetMemoryPoolSize("Weapon", 280)
SetMemoryPoolSize ("CommandHover",25)
SetMemoryPoolSize("EntityFlyer", 25)
-- SetMemoryPoolSize("EntityTauntaun", 0)
SetMemoryPoolSize("EntityPortableTurret", 250)
SetMemoryPoolSize("EntityHover", 50)
SetMemoryPoolSize("EntityCarrier", 0)
SetMemoryPoolSize("MountedTurret", 100)
SetMemoryPoolSize("EntityBuildingArmedDynamic", 0);
SetMemoryPoolSize("PowerupItem", 40)
SetMemoryPoolSize("EntityMine", 100)
SetMemoryPoolSize("OrdnanceTowCable", 0)
SetMemoryPoolSize("Aimer", 220)
SetSpawnDelay(10.0, 0.25)
SetupTeams{
all = {
team = ALL,
units = 32,
reinforcements = 150,
soldier = { "all_inf_short",3, 6},
assault = { "all_inf_medium",3,6},
engineer = { "all_inf_long",2,4},
sniper = { "all_inf_antiveh",1,4},
officer = { "all_inf_support",1,4},
special = { "all_inf_scout",1,4},
},
imp = {
team = IMP,
units = 32,
reinforcements = 150,
soldier = { "imp_inf_short",3, 6},
assault = { "imp_inf_medium",3,6},
engineer = { "imp_inf_long",2,4},
sniper = { "imp_inf_antiveh",1,4},
officer = { "imp_inf_support",1,4},
special = { "imp_inf_scout",1,4},
},
}
AddUnitClass(ALL, "all_inf_heavy",1,4)
AddUnitClass(ALL, "all_inf_trapper",1,4)
AddUnitClass(IMP, "imp_inf_heavy",1,4)
AddUnitClass(IMP, "imp_inf_trapper",1,4)
AddUnitClass(ALL, "all_inf_jettrooper",1,4)
AddUnitClass(IMP, "imp_inf_jettrooper",1,4)
AddUnitClass(ALL, "all_inf_builder",1,4)
AddUnitClass(IMP, "imp_inf_builder",1,4)
-- Local Stats
SetTeamIcon(ALL, "all_icon")
AddUnitClass(3, "gun_inf_soldier", 5)
AddUnitClass(3, "gun_inf_rider", 2)
SetUnitCount(3, 7)
SetTeamAsEnemy(3,ATT)
SetTeamAsEnemy(3,DEF)
-- Attacker Stats
SetTeamAsEnemy(ATT,3)
-- Defender Stats
SetTeamAsEnemy(DEF,3)
ReadDataFile("dc:NAB\\nab1.lvl","naboo1_conquest")
ReadDataFile("dc:DAK\\NAB1.lvl")
SetSpawnDelay(10.0, 0.25)
SetDenseEnvironment("false")
-- Birdies
SetNumBirdTypes(1);
SetBirdType(0,1.0,"bird");
-- Sound
OpenAudioStream("sound\\nab.lvl", "nabgcw_music");
OpenAudioStream("sound\\gcw.lvl", "gcw_vo");
OpenAudioStream("sound\\gcw.lvl", "gcw_tac_vo");
OpenAudioStream("sound\\nab.lvl", "nab1");
OpenAudioStream("sound\\nab.lvl", "nab1");
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_nab_amb_start", 0,1);
SetAmbientMusic(ALL, 0.99, "all_nab_amb_middle", 1,1);
SetAmbientMusic(ALL, 0.1,"all_nab_amb_end", 2,1);
SetAmbientMusic(IMP, 1.0, "imp_nab_amb_start", 0,1);
SetAmbientMusic(IMP, 0.99, "imp_nab_amb_middle", 1,1);
SetAmbientMusic(IMP, 0.1,"imp_nab_amb_end", 2,1);
SetVictoryMusic(ALL, "all_nab_amb_victory");
SetDefeatMusic (ALL, "all_nab_amb_defeat");
SetVictoryMusic(IMP, "imp_nab_amb_victory");
SetDefeatMusic (IMP, "imp_nab_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");
SetPlanetaryBonusVoiceOver(IMP, IMP, 0, "imp_bonus_imp_medical");
SetPlanetaryBonusVoiceOver(IMP, ALL, 0, "imp_bonus_all_medical");
SetPlanetaryBonusVoiceOver(IMP, IMP, 1, "");
SetPlanetaryBonusVoiceOver(IMP, ALL, 1, "");
SetPlanetaryBonusVoiceOver(IMP, IMP, 2, "imp_bonus_imp_sensors");
SetPlanetaryBonusVoiceOver(IMP, ALL, 2, "imp_bonus_all_sensors");
SetPlanetaryBonusVoiceOver(IMP, IMP, 3, "imp_bonus_imp_hero");
SetPlanetaryBonusVoiceOver(IMP, ALL, 3, "imp_bonus_all_hero");
SetPlanetaryBonusVoiceOver(IMP, IMP, 4, "imp_bonus_imp_reserves");
SetPlanetaryBonusVoiceOver(IMP, ALL, 4, "imp_bonus_all_reserves");
SetPlanetaryBonusVoiceOver(IMP, IMP, 5, "imp_bonus_imp_sabotage");--sabotage
SetPlanetaryBonusVoiceOver(IMP, ALL, 5, "imp_bonus_all_sabotage");
SetPlanetaryBonusVoiceOver(IMP, IMP, 6, "");
SetPlanetaryBonusVoiceOver(IMP, ALL, 6, "");
SetPlanetaryBonusVoiceOver(IMP, IMP, 7, "imp_bonus_imp_training");--advanced training
SetPlanetaryBonusVoiceOver(IMP, ALL, 7, "imp_bonus_all_training");--advanced training
SetPlanetaryBonusVoiceOver(ALL, ALL, 0, "all_bonus_all_medical");
SetPlanetaryBonusVoiceOver(ALL, IMP, 0, "all_bonus_imp_medical");
SetPlanetaryBonusVoiceOver(ALL, ALL, 1, "");
SetPlanetaryBonusVoiceOver(ALL, IMP, 1, "");
SetPlanetaryBonusVoiceOver(ALL, ALL, 2, "all_bonus_all_sensors");
SetPlanetaryBonusVoiceOver(ALL, IMP, 2, "all_bonus_imp_sensors");
SetPlanetaryBonusVoiceOver(ALL, ALL, 3, "all_bonus_all_hero");
SetPlanetaryBonusVoiceOver(ALL, IMP, 3, "all_bonus_imp_hero");
SetPlanetaryBonusVoiceOver(ALL, ALL, 4, "all_bonus_all_reserves");
SetPlanetaryBonusVoiceOver(ALL, IMP, 4, "all_bonus_imp_reserves");
SetPlanetaryBonusVoiceOver(ALL, ALL, 5, "all_bonus_all_sabotage");--sabotage
SetPlanetaryBonusVoiceOver(ALL, IMP, 5, "all_bonus_imp_sabotage");
SetPlanetaryBonusVoiceOver(ALL, ALL, 6, "");
SetPlanetaryBonusVoiceOver(ALL, IMP, 6, "");
SetPlanetaryBonusVoiceOver(ALL, ALL, 7, "all_bonus_all_training");--advanced training
SetPlanetaryBonusVoiceOver(ALL, IMP, 7, "all_bonus_imp_training");--advanced training
SetAttackingTeam(ATT);
--Opening Satalite Shot
--Nab1 Plains
--Hill
AddCameraShot(0.983066, -0.039190, 0.178868, 0.007131, 44.779041, -92.555016, 223.609207);
--Pillars
AddCameraShot(0.558071, -0.004864, -0.829747, -0.007232, -99.522423, -104.189438, 102.993027);
--Center
AddCameraShot(-0.180345, 0.002299, -0.983521, -0.012535, 38.772453, -105.314598, 24.777697);
end
ScriptCB_DoFile("setup_teams")
---------------------------------------------------------------------------
-- 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 ScriptPostLoad()
--This defines the CPs. These need to happen first
AddAIGoal(3, "Deathmatch", 100)
cp1 = CommandPost:New{name = "CP1"}
cp2 = CommandPost:New{name = "CP11"}
cp3 = CommandPost:New{name = "CP2"}
cp4 = CommandPost:New{name = "CP3"}
cp5 = 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:AddCommandPost(cp5)
conquest:Start()
EnableSPHeroRules()
end
function ScriptInit()
StealArtistHeap(800*1024)
-- Designers, these two lines *MUST* be first.
SetPS2ModelMemory(3500000)
ReadDataFile("ingame.lvl")
-- Empire Attacking (attacker is always #1)
local ALL = 2
local IMP = 1
-- These variables do not change
local ATT = 1
local DEF = 2
SetTeamName(ALL, "Alliance")
SetTeamName(IMP, "Empire")
SetTeamName(3, "Locals")
SetTeamAggressiveness(ALL, 1.0)
SetTeamAggressiveness(IMP, 1.0)
SetMemoryPoolSize("Music", 40)
SetMaxFlyHeight(100)
SetMaxPlayerFlyHeight(100)
ReadDataFile("dc:sound\\geo.lvl;geo1cw")
ReadDataFile("sound\\nab.lvl;nab2gcw")
ReadDataFile("dc:SIDE\\all.lvl",
"all_inf_short",
"all_inf_medium",
"all_inf_long",
"all_inf_antiveh",
"all_inf_support",
"all_inf_scout",
"all_inf_builder",
"all_inf_heavy",
"all_inf_jettrooper",
"all_inf_trapper")
ReadDataFile("dc:SIDE\\imp.lvl",
"imp_inf_short",
"imp_inf_medium",
"imp_inf_long",
"imp_inf_antiveh",
"imp_inf_support",
"imp_inf_scout",
"imp_inf_builder",
"imp_inf_heavy",
"imp_inf_jettrooper",
"imp_inf_trapper")
ReadDataFile("SIDE\\GUN.lvl",
"gun_inf_rider",
"gun_inf_soldier",
"gun_walk_kaadu")
-- Level Stats
ClearWalkers()
SetMemoryPoolSize ("EntityWalker",-1)
AddWalkerType(0, 0) -- 8 droidekas (special case: 0 leg pairs)
AddWalkerType(1, 6) --
AddWalkerType(2, 1) -- 2 spider walkers with 2 leg pairs each
AddWalkerType(3, 0) -- 2 attes with 3 leg pairs each
SetMemoryPoolSize("Weapon", 280)
SetMemoryPoolSize ("CommandHover",25)
SetMemoryPoolSize("EntityFlyer", 25)
-- SetMemoryPoolSize("EntityTauntaun", 0)
SetMemoryPoolSize("EntityPortableTurret", 250)
SetMemoryPoolSize("EntityHover", 50)
SetMemoryPoolSize("EntityCarrier", 0)
SetMemoryPoolSize("MountedTurret", 100)
SetMemoryPoolSize("EntityBuildingArmedDynamic", 0);
SetMemoryPoolSize("PowerupItem", 40)
SetMemoryPoolSize("EntityMine", 100)
SetMemoryPoolSize("OrdnanceTowCable", 0)
SetMemoryPoolSize("Aimer", 220)
SetSpawnDelay(10.0, 0.25)
SetupTeams{
all = {
team = ALL,
units = 32,
reinforcements = 150,
soldier = { "all_inf_short",3, 6},
assault = { "all_inf_medium",3,6},
engineer = { "all_inf_long",2,4},
sniper = { "all_inf_antiveh",1,4},
officer = { "all_inf_support",1,4},
special = { "all_inf_scout",1,4},
},
imp = {
team = IMP,
units = 32,
reinforcements = 150,
soldier = { "imp_inf_short",3, 6},
assault = { "imp_inf_medium",3,6},
engineer = { "imp_inf_long",2,4},
sniper = { "imp_inf_antiveh",1,4},
officer = { "imp_inf_support",1,4},
special = { "imp_inf_scout",1,4},
},
}
AddUnitClass(ALL, "all_inf_heavy",1,4)
AddUnitClass(ALL, "all_inf_trapper",1,4)
AddUnitClass(IMP, "imp_inf_heavy",1,4)
AddUnitClass(IMP, "imp_inf_trapper",1,4)
AddUnitClass(ALL, "all_inf_jettrooper",1,4)
AddUnitClass(IMP, "imp_inf_jettrooper",1,4)
AddUnitClass(ALL, "all_inf_builder",1,4)
AddUnitClass(IMP, "imp_inf_builder",1,4)
-- Local Stats
SetTeamIcon(ALL, "all_icon")
AddUnitClass(3, "gun_inf_soldier", 5)
AddUnitClass(3, "gun_inf_rider", 2)
SetUnitCount(3, 7)
SetTeamAsEnemy(3,ATT)
SetTeamAsEnemy(3,DEF)
-- Attacker Stats
SetTeamAsEnemy(ATT,3)
-- Defender Stats
SetTeamAsEnemy(DEF,3)
ReadDataFile("dc:NAB\\nab1.lvl","naboo1_conquest")
ReadDataFile("dc:DAK\\NAB1.lvl")
SetSpawnDelay(10.0, 0.25)
SetDenseEnvironment("false")
-- Birdies
SetNumBirdTypes(1);
SetBirdType(0,1.0,"bird");
-- Sound
OpenAudioStream("sound\\nab.lvl", "nabgcw_music");
OpenAudioStream("sound\\gcw.lvl", "gcw_vo");
OpenAudioStream("sound\\gcw.lvl", "gcw_tac_vo");
OpenAudioStream("sound\\nab.lvl", "nab1");
OpenAudioStream("sound\\nab.lvl", "nab1");
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_nab_amb_start", 0,1);
SetAmbientMusic(ALL, 0.99, "all_nab_amb_middle", 1,1);
SetAmbientMusic(ALL, 0.1,"all_nab_amb_end", 2,1);
SetAmbientMusic(IMP, 1.0, "imp_nab_amb_start", 0,1);
SetAmbientMusic(IMP, 0.99, "imp_nab_amb_middle", 1,1);
SetAmbientMusic(IMP, 0.1,"imp_nab_amb_end", 2,1);
SetVictoryMusic(ALL, "all_nab_amb_victory");
SetDefeatMusic (ALL, "all_nab_amb_defeat");
SetVictoryMusic(IMP, "imp_nab_amb_victory");
SetDefeatMusic (IMP, "imp_nab_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");
SetPlanetaryBonusVoiceOver(IMP, IMP, 0, "imp_bonus_imp_medical");
SetPlanetaryBonusVoiceOver(IMP, ALL, 0, "imp_bonus_all_medical");
SetPlanetaryBonusVoiceOver(IMP, IMP, 1, "");
SetPlanetaryBonusVoiceOver(IMP, ALL, 1, "");
SetPlanetaryBonusVoiceOver(IMP, IMP, 2, "imp_bonus_imp_sensors");
SetPlanetaryBonusVoiceOver(IMP, ALL, 2, "imp_bonus_all_sensors");
SetPlanetaryBonusVoiceOver(IMP, IMP, 3, "imp_bonus_imp_hero");
SetPlanetaryBonusVoiceOver(IMP, ALL, 3, "imp_bonus_all_hero");
SetPlanetaryBonusVoiceOver(IMP, IMP, 4, "imp_bonus_imp_reserves");
SetPlanetaryBonusVoiceOver(IMP, ALL, 4, "imp_bonus_all_reserves");
SetPlanetaryBonusVoiceOver(IMP, IMP, 5, "imp_bonus_imp_sabotage");--sabotage
SetPlanetaryBonusVoiceOver(IMP, ALL, 5, "imp_bonus_all_sabotage");
SetPlanetaryBonusVoiceOver(IMP, IMP, 6, "");
SetPlanetaryBonusVoiceOver(IMP, ALL, 6, "");
SetPlanetaryBonusVoiceOver(IMP, IMP, 7, "imp_bonus_imp_training");--advanced training
SetPlanetaryBonusVoiceOver(IMP, ALL, 7, "imp_bonus_all_training");--advanced training
SetPlanetaryBonusVoiceOver(ALL, ALL, 0, "all_bonus_all_medical");
SetPlanetaryBonusVoiceOver(ALL, IMP, 0, "all_bonus_imp_medical");
SetPlanetaryBonusVoiceOver(ALL, ALL, 1, "");
SetPlanetaryBonusVoiceOver(ALL, IMP, 1, "");
SetPlanetaryBonusVoiceOver(ALL, ALL, 2, "all_bonus_all_sensors");
SetPlanetaryBonusVoiceOver(ALL, IMP, 2, "all_bonus_imp_sensors");
SetPlanetaryBonusVoiceOver(ALL, ALL, 3, "all_bonus_all_hero");
SetPlanetaryBonusVoiceOver(ALL, IMP, 3, "all_bonus_imp_hero");
SetPlanetaryBonusVoiceOver(ALL, ALL, 4, "all_bonus_all_reserves");
SetPlanetaryBonusVoiceOver(ALL, IMP, 4, "all_bonus_imp_reserves");
SetPlanetaryBonusVoiceOver(ALL, ALL, 5, "all_bonus_all_sabotage");--sabotage
SetPlanetaryBonusVoiceOver(ALL, IMP, 5, "all_bonus_imp_sabotage");
SetPlanetaryBonusVoiceOver(ALL, ALL, 6, "");
SetPlanetaryBonusVoiceOver(ALL, IMP, 6, "");
SetPlanetaryBonusVoiceOver(ALL, ALL, 7, "all_bonus_all_training");--advanced training
SetPlanetaryBonusVoiceOver(ALL, IMP, 7, "all_bonus_imp_training");--advanced training
SetAttackingTeam(ATT);
--Opening Satalite Shot
--Nab1 Plains
--Hill
AddCameraShot(0.983066, -0.039190, 0.178868, 0.007131, 44.779041, -92.555016, 223.609207);
--Pillars
AddCameraShot(0.558071, -0.004864, -0.829747, -0.007232, -99.522423, -104.189438, 102.993027);
--Center
AddCameraShot(-0.180345, 0.002299, -0.983521, -0.012535, 38.772453, -105.314598, 24.777697);
end



