From: <sca...@us...> - 2011-05-11 00:43:13
|
Revision: 4549 http://hw2bsg.svn.sourceforge.net/hw2bsg/?rev=4549&view=rev Author: scarbrow Date: 2011-05-11 00:43:05 +0000 (Wed, 11 May 2011) Log Message: ----------- - more bak files Removed Paths: ------------- trunk/HW2_ROOT/Data/leveldata/campaign/tutorial/Pegasus/Pegasus.bak trunk/HW2_ROOT/Data/leveldata/campaign/tutorial/Tiberius_Icharus/Tiberius_Icharus.bak trunk/HW2_ROOT/Data/leveldata/campaign/tutorial/fleetconvoy/galactica.bak Deleted: trunk/HW2_ROOT/Data/leveldata/campaign/tutorial/Pegasus/Pegasus.bak =================================================================== --- trunk/HW2_ROOT/Data/leveldata/campaign/tutorial/Pegasus/Pegasus.bak 2011-05-11 00:40:08 UTC (rev 4548) +++ trunk/HW2_ROOT/Data/leveldata/campaign/tutorial/Pegasus/Pegasus.bak 2011-05-11 00:43:05 UTC (rev 4549) @@ -1,114 +0,0 @@ -dofilepath("data:/scripts/Evillejedi_StarsFunctions.lua") -- defaultStarField() - --- This level can be launched from the command line by adding the paramaters: -campaign hw2bsg -startingLevel h77_Poseidon - -levelDesc = "What could have happened..." -maxPlayers = 2 - -player = {} - -player[0] = -{ - id = 0, - name = "", - resources = 3000, - raceID = 0, - startPos = 0, -} - -player[1] = -{ - id = 1, - name = "", - resources = 3000, - raceID = 1, - startPos = 0, -} - -function DetermChunk() - -- Adama - addSquadron("hur_galactica_a", "hur_Pegasus", {0, 0, -8000}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_vipermkii_a00", "hur_vipermkvii", {2500, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_vipermkii_a01", "hur_vipermkvii", {2900, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_vipermkii_a02", "hur_vipermkvii", {3300, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_vipermkii_a03", "hur_vipermkvii", {3700, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_vipermkii_a04", "hur_vipermkvii", {4100, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_vipermkii_a05", "hur_vipermkvii", {2500, 0, 100}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_vipermkii_a06", "hur_vipermkvii", {2900, 0, 100}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_vipermkii_a07", "hur_vipermkvii", {3300, 0, 100}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_vipermkii_a08", "hur_vipermkvii", {3700, 0, 100}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_vipermkvii_a00", "hur_vipermkvii", {3200, 0, 50}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_vipermkvii_a01", "hur_vipermkvii", {3200, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_vipermkvii_b1", "hur_scarletviper", {3200, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_vipermkvii_b2", "hur_scarletviper", {3200, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_vipermkvii_b3", "hur_scarletviper", {3200, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_vipermkvii_b4", "hur_scarletviper", {3200, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_vipermkvii_b5", "hur_scarletviper", {3200, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_vipermkvii_b6", "hur_scarletviper", {3200, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_vipermkvii_b7", "hur_scarletviper", {3200, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_vipermkvii_b8", "hur_scarletviper", {3200, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_cox1", "hur_coxbomber", {3300, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_cox2", "hur_coxbomber", {3400, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_cox3", "hur_coxbomber", {3500, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_cox4", "hur_coxbomber", {3600, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_battle1", "hur_battleraptor", {3700, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_battle2", "hur_battleraptor", {3800, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_battle3", "hur_battleraptor", {3900, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_battle4", "hur_battleraptor", {4000, 0, 0}, 0, {0, 0, 0}, 0, 0) - - addSquadron("hur_pegasus", "hur_pegasus", {0, 0, 0}, 1, {0, 0, 0}, 0, 1) - - -- Cameras - addCamera("Cam_Init", {-542, 500, -3000}, {3960, 1963, -3000}) - - -- Bounds - setWorldBoundsInner({0, 0, 0}, {20000, 20000, 20000}) - - -- Groups - - createSOBGroup("sg_Fighters") - addToSOBGroup("hur_vipermkii_a00", "sg_Fighters") - addToSOBGroup("hur_vipermkii_a01", "sg_Fighters") - addToSOBGroup("hur_vipermkii_a02", "sg_Fighters") - addToSOBGroup("hur_vipermkii_a03", "sg_Fighters") - addToSOBGroup("hur_vipermkii_a04", "sg_Fighters") - addToSOBGroup("hur_vipermkii_a05", "sg_Fighters") - addToSOBGroup("hur_vipermkii_a06", "sg_Fighters") - addToSOBGroup("hur_vipermkii_a07", "sg_Fighters") - addToSOBGroup("hur_vipermkii_a08", "sg_Fighters") - addToSOBGroup("hur_vipermkvii_a00", "sg_Fighters") - addToSOBGroup("hur_vipermkvii_a01", "sg_Fighters") - addToSOBGroup("hur_vipermkvii_b1", "sg_Fighters") - addToSOBGroup("hur_vipermkvii_b2", "sg_Fighters") - addToSOBGroup("hur_vipermkvii_b3", "sg_Fighters") - addToSOBGroup("hur_vipermkvii_b4", "sg_Fighters") - addToSOBGroup("hur_vipermkvii_b5", "sg_Fighters") - addToSOBGroup("hur_vipermkvii_b6", "sg_Fighters") - addToSOBGroup("hur_vipermkvii_b7", "sg_Fighters") - addToSOBGroup("hur_vipermkvii_b8", "sg_Fighters") - addToSOBGroup("hur_cox1", "sg_Fighters") - addToSOBGroup("hur_cox2", "sg_Fighters") - addToSOBGroup("hur_cox3", "sg_Fighters") - addToSOBGroup("hur_cox4", "sg_Fighters") - addToSOBGroup("hur_battle1", "sg_Fighters") - addToSOBGroup("hur_battle2", "sg_Fighters") - addToSOBGroup("hur_battle3", "sg_Fighters") - addToSOBGroup("hur_battle4", "sg_Fighters") - - createSOBGroup("sg_FriendlyCapShips") - addToSOBGroup("hur_galactica_a", "sg_FriendlyCapShips") - - createSOBGroup("sg_Pegasus") - addToSOBGroup("hur_pegasus", "sg_Pegasus") - - defaultStarField() -- Evillejedi_StarsFunctions -end - -function NonDetermChunk() - setDefaultMusic("Data:sound/music/Battle/PreludeToWar") - fogSetActive(0) - setGlareIntensity(0) - setLevelShadowColour(0,0,0,1) - loadBackground("black") - setSensorsManagerCameraDistances(1000, 100000) -end \ No newline at end of file Deleted: trunk/HW2_ROOT/Data/leveldata/campaign/tutorial/Tiberius_Icharus/Tiberius_Icharus.bak =================================================================== --- trunk/HW2_ROOT/Data/leveldata/campaign/tutorial/Tiberius_Icharus/Tiberius_Icharus.bak 2011-05-11 00:40:08 UTC (rev 4548) +++ trunk/HW2_ROOT/Data/leveldata/campaign/tutorial/Tiberius_Icharus/Tiberius_Icharus.bak 2011-05-11 00:43:05 UTC (rev 4549) @@ -1,641 +0,0 @@ --- if designing another level using this as an example you should also be looking at: --- leveldata\campaign\template\m0\m0.lua ---=========================================================================== --- Conventions: 'sg_' for sobgroup; 'obj_' for objectives index; 'ev_' for event index; --- g/l for global/local; s/f/i/t/mt for string/float/integer/table/matrix; --- 'png_' for ping/pointer index; 'cam_' for cameras; 'vol_' for volumes/points - ---============================= INITIALIZE VARIABLES ========================= --- Those are used to assess victory/defeat and end the game. - -gs_gameOver = "ongoing" -- Template_SP_Script_Objectives -gi_victoryLevel = 0 -- Template_SP_Script_Objectives - -Events = {} -- Events must be defined before dopathing Events.lua -objectives = {} -- objectives must be defined before dopathing Objectives.lua - ---=========================== EXTERNAL FILES ================================ --- see datfiles.lua for dat includes - --- Race helper code used in restrict and shipbonuses -dofilepath("data:scripts/race.lua") - --- Restrictions like not allowing ship specific research if the ship isn't in the game -dofilepath("data:scripts/scar/restrict.lua") - -dofilepath("data:scripts/scar/scar_util.lua") -dofilepath("data:scripts/Template_SP_Script_Objectives.lua") -dofilepath("data:scripts/Template_SP_Victory_Event.lua") -dofilepath("data:scripts/Template_SP_CapShip_Watches_Objectives.lua") -dofilepath("data:scripts/Template_SP_CapShip_Watches.lua") -dofilepath("data:leveldata/campaign/tutorial/h01_CainVsAdama/h01_CapShip_Watches_Destroyed_SwitchCraft_Events.lua") -dofilepath("data:leveldata/campaign/tutorial/h01_CainVsAdama/h01_TacticalBriefing_Event.lua") - --- t_ListSC is used by hw2bsg_util.lua -dofilepath("data:scripts/LeSunTzu_Autodock_v3_shipdata.lua") - -dofilepath("data:scripts/hw2bsg_util.lua") - ---=========================== OBJECTIVES ==================================== --- Template_SP_Destroy_Survive_Objectives are included via dofilepath above --- Template_SP_CapShip_Watches_Objectives --- "title" and "desc" are the text displayed in the objectives box; "id" is the objective index; --- "level" is used to set objectives as 'primary' or 'secondary' (they don't determine . --- Achievement or failure of primary objectives ends the mission; secondary objectives do not end the mission. - -objectives.obj_GetAsManyAsYouCan = -{ - title = "$8039", - id = 0, - desc = "$8040", - level = "primary" -} ---============================================================================= ---EVENTS ---============================================================================= --- Template_SP_Victory_Events via dofilepath above --- h01_TacticalBriefing_Event via dofilepath above --- h01_CapShip_Watches_Destroyed_SwitchCraft_Events via dofilepath above -Events.ev_TacticalBriefing = -{ - { - {"Camera_FocusSobGroupWithBuffer('sg_FriendlyCapShips', 1350, 1350, 4 )"}, - }, - { - HW2_Letterbox(1), - HW2_Wait(2), - { "Sound_EnableAllSpeech(1)",""}, - { "Sound_EnterIntelEvent()","" }, - { "Universe_EnableSkip(1)", "" }, - { "Universe_AllowPlayerOrders(0)", "" }, - { "Camera_AllowControl(1)", "" }, - { "Sensors_EnableCameraZoom(0)", "" }, - - }, - { - HW2_LocationCardEvent("$8043", 3), - }, - { - HW2_Wait(3), - }, - { - HW2_SubTitleEvent(Actor_AllShips, "$8044", 10), - }, - { - HW2_Wait(1), - }, - { - HW2_SubTitleEvent(Actor_AllShips, "$8046", 7), - }, - { - HW2_Wait(1), - }, - { - HW2_SubTitleEvent(Actor_AllShips, "$8045", 7), - }, - { - HW2_Wait(1), - }, - { - HW2_LocationCardEvent("$8047", 5), - }, - { - HW2_Wait(1), - }, - { - HW2_Wait(1), - }, - { - HW2_LocationCardEvent("You can only perform random jumps by pressing 'J'", 5), - }, - { - HW2_Wait(1), - }, - { - HW2_LocationCardEvent("Launch and Dock the Cap with 'L' and 'D'", 5), - }, - { - HW2_Wait(1), - }, - { - HW2_LocationCardEvent("'R' will trigger the self destruction after a short activation-sequence and do massive damage to surrounding ships", 10), - }, - { - HW2_Wait(1), - }, - { - HW2_LocationCardEvent("Use 'K' to kamikaze into an enemy ship", 10), - }, - { - HW2_Wait(1), - }, - { - HW2_LocationCardEvent("Start nuclear weapons by pressing 'O'", 5), - }, -} - -Events.ev_cinematic = -{ - { - { "Sound_EnableAllSpeech(1)",""}, - { "Sound_EnterIntelEvent()","" }, - { "Universe_EnableSkip(0)", "" }, - { "Universe_AllowPlayerOrders(1)", "" }, - { "Camera_AllowControl(1)", "" }, - { "Sensors_EnableCameraZoom(1)", "" }, - - }, -} - -Events.ev_zoom = -{ - { - {"Camera_FocusSobGroupWithBuffer( 'sg_FriendlyCapShips', 1250, 1250, 2 )"}, - }, -} - -Events.ev_failed = -{ - { - HW2_LocationCardEvent("$8041", 3), - }, - { - HW2_Wait(3), - }, - { - HW2_LocationCardEvent("$8042", 3), - }, - { - HW2_Wait(3), - }, -} - -Events.ev_kamikaze = -{ - { - HW2_SubTitleEvent(Actor_AllShips, "Setting collision course", 3), - }, - { - HW2_Wait(1), - }, - { - HW2_SubTitleEvent(Actor_AllShips, "Overloading engines, 20 seconds till collapse", 3), - }, -} - -Events.ev_badluck = -{ - { - HW2_LocationCardEvent("The jump has failed", 2), - }, - { - HW2_Wait(1), - }, - { - HW2_LocationCardEvent("Warstar Poseidon jumped into a planet", 2), - }, -} ---============================================================================= ---INIT RULES ---============================================================================= - -function OnInit() - - ATI_LoadTemplates("data:LevelData\\ATI.lua") - - SobGroup_DockSobGroupInstant("sg_Fighters", "sg_FriendlyCapShips") - Sound_SpeechSubtitlePath("speech:missions/h_77/") - MPRestrict() -- restrict.lua - PlayTrack(8) -- RandomMusicTrack.lua imported by restrict.lua - - addObjective("obj_GetAsManyAsYouCan") - - Rule_Add("Rule_AggressiveTacticsAfterTacticalBriefing") -- hw2bsg_util - --Event_Start("ev_TacticalBriefing") -- h77_TacticalBriefing_Event - - UI_UnBindKeyEvent(JKEY) --random jump - UI_UnBindKeyEvent(RKEY) --self destruction - UI_UnBindKeyEvent(LKEY) --launch cap - UI_UnBindKeyEvent(OKEY) --nukes - UI_UnBindKeyEvent(DKEY) --dock cap - UI_UnBindKeyEvent(KKEY) --kamikaze - - Volume_AddSphere("vol_Start", {0, 0, 0,}, 500) - SobGroup_Move(0, "sg_FriendlyCapShips", "vol_Start") - - SobGroup_SetTactics("sg_FriendlyCapShips", AggressiveTactics) - - Rule_AddInterval("Rule_Bindings",2) - Rule_Add("Rule_Self_Destruction") - Rule_Add("Rule_Kick_Off") - Rule_Add("Rule_Watchposeidon") - --Rule_Add("Rule_Kamikaze") - Rule_Add("Rule_Jumpme") - - CPU_Enable(1, 0) - - g1 = 0 - g2 = 0 - g3 = 0 - - a = 0 - b = 0 - c = 0 - d = 0 - e = 0 - f = 0 - - k = 0 - l = 0 - m = 0 - n = 0 - o = 0 - p = 0 - -end - -cyrfighters = { - "cyr_raider_r0", - "cyr_raider_r1", - "cyr_raider_r2", - "cyr_raider_r3", - "cyr_raider_r4", - "cyr_raider_r5", -} - -cyrheavyfighters = { - "cyr_heavyraider", - "cyr_heavyraider", - "cyr_heavyraider", - "cyr_scar", - "cyr_scar", - "cyr_scar", - "cyr_nukeraider", - "cyr_missileraider", -} - -cyrcap = { - "cyr_patrolstar", - "cyr_basestar", - "cyr_basestar", -} - -cyrcap2 = { - "cyr_heavybasestar", - "cyr_basestar", -} - -cyrcap3 = { - "cyr_fcw_basestar", - "cyr_heavybasestarm", - "cyr_heavybasestarm", - "cyr_fcw_basestar", - --"cyo_basestar", -} - - -function Rule_Kick_Off() - if Event_IsDone("ev_TacticalBriefing") == 1 - then - Event_Start("ev_cinematic") - Rule_AddInterval("Rule_SpawnHeavyRaiders",25) - Rule_AddInterval("Rule_SpawnDroneRaiders",25) - Rule_AddInterval("Rule_SpawnCap",100) - Rule_AddInterval("Rule_SpawnCap2",110) - Rule_AddInterval("Rule_SpawnCap3",200) - Rule_AddInterval("Rule_SpawnMercury",170) - Rule_AddInterval("Rule_SpawnCap4",245) - Rule_AddInterval("Rule_ShipCount",2) - SobGroup_SetSpeed("sg_FriendlyCapShips",0.7) - Rule_Remove("Rule_Kick_Off") - end -end - - - -function Rule_SpawnCap() - SobGroup_Create("sg_Cylon_3") - if SobGroup_Count("sg_Cylon_3") < 1 - then - local x = random(2500, 6000) - local y = random(500, 9000) - local z = random(-7000, -1000) - local tVol = {x, y, z} - Volume_AddSphere("vol_Cylon10", {tVol[1], tVol[2], tVol[3],}, 8000) - - local m = random(1, 2) - local cap = cyrcap[m] - SobGroup_SpawnNewShipInSobGroup(1, cap, "cyr_patrolstar", "sg_Cylon_3", "vol_Cylon10") - SobGroup_AttackPlayer("sg_Cylon_3", 0) - end -end - -function Rule_SpawnCap2() - SobGroup_Create("sg_Cylon_4") - if SobGroup_Count("sg_Cylon_4") < 1 - then - local x2 = random(2500, 6000) - local y2 = random(500, 9000) - local z2 = random(-7000, -1000) - local tVol2 = {x2, y2, z2} - Volume_AddSphere("vol_Cylon2", {tVol2[1], tVol2[2], tVol2[3],}, 8000) - - local m2 = random(1, 2) - local fighter = cyrcap[m2] - SobGroup_SpawnNewShipInSobGroup(1, fighter, "cyr_patrolstar2", "sg_Cylon_4", "vol_Cylon2") - SobGroup_AttackPlayer("sg_Cylon_4", 0) - end -end - -function Rule_SpawnCap3() - SobGroup_Create("sg_Cylon_5") - if SobGroup_Count("sg_Cylon_5") < 1 - then - local x3 = random(2500, 6000) - local y3 = random(500, 9000) - local z3 = random(-7000, -1000) - local tVol3 = {x3, y3, z3} - Volume_AddSphere("vol_Cylon3", {tVol3[1], tVol3[2], tVol3[3],}, 8000) - - local m3 = random(1, 2) - local fighter2 = cyrcap2[m3] - SobGroup_SpawnNewShipInSobGroup(1, fighter2, "cyr_patrolstar3", "sg_Cylon_5", "vol_Cylon3") - SobGroup_AttackPlayer("sg_Cylon_5", 0) - end -end - -function Rule_SpawnCap4() - SobGroup_Create("sg_Cylon_6") - if SobGroup_Count("sg_Cylon_6") < 1 - then - local x4 = random(2500, 6000) - local y4 = random(500, 9000) - local z4 = random(-7000, -1000) - local tVol4 = {x4, y4, z4} - Volume_AddSphere("vol_Cylon4", {tVol4[1], tVol4[2], tVol4[3],}, 8000) - - local m4 = random(1, 3) - local fighter3 = cyrcap3[m4] - SobGroup_SpawnNewShipInSobGroup(1, fighter3, "cyr_patrolstar4", "sg_Cylon_6", "vol_Cylon4") - SobGroup_AttackPlayer("sg_Cylon_6", 0) - end -end - - -function Rule_SpawnDroneRaiders() - - local x5 = random(-5000, 5000) - local y5 = random(-5000, 5000) - local z5 = random(-5000, 5000) - local tVol5 = {x5, y5, z5} - Volume_AddSphere("vol_Cylon", {tVol5[1], tVol5[2], tVol5[3],}, 2000) - - local m5 = random(1, 6) - local fighter4 = cyrfighters[m5] - SobGroup_Create("sg_Cylon_1") - SobGroup_SpawnNewShipInSobGroup(1, fighter4, "cyr_raider_r0", "sg_Cylon_1", "vol_Cylon") - SobGroup_SpawnNewShipInSobGroup(1, fighter4, "cyr_raider_r0", "sg_Cylon_1", "vol_Cylon") - SobGroup_SpawnNewShipInSobGroup(1, fighter4, "cyr_raider_r0", "sg_Cylon_1", "vol_Cylon") - SobGroup_SpawnNewShipInSobGroup(1, fighter4, "cyr_raider_r0", "sg_Cylon_1", "vol_Cylon") - SobGroup_SpawnNewShipInSobGroup(1, fighter4, "cyr_raider_r0", "sg_Cylon_1", "vol_Cylon") - SobGroup_SpawnNewShipInSobGroup(1, fighter4, "cyr_raider_r0", "sg_Cylon_1", "vol_Cylon") - SobGroup_SpawnNewShipInSobGroup(1, fighter4, "cyr_raider_r0", "sg_Cylon_1", "vol_Cylon") - SobGroup_SpawnNewShipInSobGroup(1, fighter4, "cyr_raider_r0", "sg_Cylon_1", "vol_Cylon") - SobGroup_SpawnNewShipInSobGroup(1, fighter4, "cyr_raider_r0", "sg_Cylon_1", "vol_Cylon") - SobGroup_SpawnNewShipInSobGroup(1, fighter4, "cyr_raider_r0", "sg_Cylon_1", "vol_Cylon") - SobGroup_SpawnNewShipInSobGroup(1, fighter4, "cyr_raider_r0", "sg_Cylon_1", "vol_Cylon") - SobGroup_SpawnNewShipInSobGroup(1, fighter4, "cyr_raider_r0", "sg_Cylon_1", "vol_Cylon") - SobGroup_SpawnNewShipInSobGroup(1, fighter4, "cyr_raider_r0", "sg_Cylon_1", "vol_Cylon") - SobGroup_AttackPlayer("sg_Cylon_1", 0) -end - -function Rule_SpawnHeavyRaiders() - - local x6 = random(-5000, 5000) - local y6 = random(-5000, 5000) - local z6 = random(-5000, 5000) - - local tVol6 = {x6, y6, z6} - Volume_AddSphere("vol_Cylon2", {tVol6[1], tVol6[2], tVol6[3],}, 2000) - - local m6 = random(1, 8) - local fighter5 = cyrheavyfighters[m6] - - SobGroup_Create("sg_Cylon_2") - SobGroup_SpawnNewShipInSobGroup(1, fighter5, "cyr_heavyraider", "sg_Cylon_2", "vol_Cylon2") - SobGroup_SpawnNewShipInSobGroup(1, fighter5, "cyr_heavyraider", "sg_Cylon_2", "vol_Cylon2") - SobGroup_SpawnNewShipInSobGroup(1, fighter5, "cyr_heavyraider", "sg_Cylon_2", "vol_Cylon2") - SobGroup_SpawnNewShipInSobGroup(1, fighter5, "cyr_heavyraider", "sg_Cylon_2", "vol_Cylon2") - SobGroup_SpawnNewShipInSobGroup(1, fighter5, "cyr_heavyraider", "sg_Cylon_2", "vol_Cylon2") - SobGroup_SpawnNewShipInSobGroup(1, fighter5, "cyr_heavyraider", "sg_Cylon_2", "vol_Cylon2") - SobGroup_SpawnNewShipInSobGroup(1, fighter5, "cyr_heavyraider", "sg_Cylon_2", "vol_Cylon2") - SobGroup_SpawnNewShipInSobGroup(1, fighter5, "cyr_heavyraider", "sg_Cylon_2", "vol_Cylon2") - SobGroup_SpawnNewShipInSobGroup(1, fighter5, "cyr_heavyraider", "sg_Cylon_2", "vol_Cylon2") - SobGroup_SpawnNewShipInSobGroup(1, fighter5, "cyr_heavyraider", "sg_Cylon_2", "vol_Cylon2") - SobGroup_SpawnNewShipInSobGroup(1, fighter5, "cyr_heavyraider", "sg_Cylon_2", "vol_Cylon2") - SobGroup_AttackPlayer("sg_Cylon_2", 0) -end - -function Rule_SpawnMercury() - - local x7 = random(-5000, 5000) - local y7 = random(-5000, 5000) - local z7 = random(-5000, 5000) - - local tVol7 = {x7, y7, z7} - Volume_AddSphere("vol_CylonM", {tVol7[1], tVol7[2], tVol7[3],}, 2000) - Subtitle_Add(Actor_AllShips, "The Cylons have sent us a captured Mercury Class!", 3) - SobGroup_ExitHyperSpace("sg_Pegasus", "vol_CylonM") - SobGroup_AttackPlayer("sg_Pegasus", 0) - Rule_Remove("Rule_SpawnMercury") -end - - -function Rule_ShipCount() - s = (Stats_TotalKills(0) + g3) - local l = Stats_TotalLosses(0) - local message = format("SHIPS LOST: %02d SHIPS DESTROYED: %02d", l, s) - local rect = {0.29, 0.2, 0, 0} - Display_Message(message, rect) -end - -function Rule_Bindings() - UI_BindKeyEvent(JKEY, "Rule_Jumpme") - UI_BindKeyEvent(LKEY, "Rule_LaunchV") - UI_BindKeyEvent(OKEY, "Rule_Nukes") - UI_BindKeyEvent(DKEY, "Rule_Dock") - UI_BindKeyEvent(KKEY, "Rule_Kamikaze") -end - -function Rule_Kamikaze() - SobGroup_SetSpeed("sg_FriendlyCapShips",2) - Event_Start("ev_kamikaze") - Timer_Start("tdeath",20) - Rule_AddInterval("Rule_Kamikaze2",2) - if ( SobGroup_Empty("sg_Cylon_3") == 0 ) then - SobGroup_Kamikaze("sg_FriendlyCapShips", "sg_Cylon_3") - Rule_Remove("Rule_Kamikaze") - elseif ( SobGroup_Empty("sg_Cylon_4") == 0 ) then - SobGroup_Kamikaze("sg_FriendlyCapShips", "sg_Cylon_4") - Rule_Remove("Rule_Kamikaze") - elseif ( SobGroup_Empty("sg_Cylon_5") == 0 ) then - SobGroup_Kamikaze("sg_FriendlyCapShips", "sg_Cylon_5") - Rule_Remove("Rule_Kamikaze") - elseif ( SobGroup_Empty("sg_Cylon_6") == 0 ) then - SobGroup_Kamikaze("sg_FriendlyCapShips", "sg_Cylon_6") - Rule_Remove("Rule_Kamikaze") - end -end - -function Rule_Kamikaze2() - if Timer_GetRemaining("tdeath") < 1 and Event_IsDone("ev_kamikaze") == 1 - then - SobGroup_SetHealth("sg_FriendlyCapShips", 0) - Rule_Remove("Rule_Kamikaze2") - end -end - -function Rule_Dock() - SobGroup_DockSobGroupAndStayDocked( "sg_Fighters", "sg_FriendlyCapShips") - Subtitle_Add(Actor_AllShips, "Recall all Vipers!", 3) - Rule_Remove("Rule_Dock") -end - -function Rule_Nukes() - SobGroup_AbilityActivate("sg_FriendlyCapShips", AB_UseSpecialWeaponsInNormalAttack, 1) - Subtitle_Add(Actor_AllShips, "Launch nuclear weapons", 3) - Rule_AddInterval("Rule_Disable",4) - Rule_Remove("Rule_Nukes") -end - -function Rule_Disable() - SobGroup_AbilityActivate("sg_FriendlyCapShips", AB_UseSpecialWeaponsInNormalAttack, 0) - Rule_Remove("Rule_Disable") -end - -badluck = { --you shouldnt jump too often heh - "Rule_Wait", - "Rule_Wait", - "Rule_Wait", - "Rule_Wait", - "Rule_Badluck", -} - -function Rule_Jumpme() - local m = random(0,0) - local rule = badluck[m] - SobGroup_Stop(1, "sg_FriendlyCapShips") - Subtitle_Add(Actor_AllShips, "Jump!", 3) - SobGroup_EnterHyperSpaceOffMap("sg_FriendlyCapShips") - UI_BindKeyEvent(RKEY, "Rule_Jumpme") - Rule_AddInterval(rule,3) - --Rule_Remove("Rule_Jumpme") -end - -function Rule_LaunchV() - SobGroup_Launch("sg_Fighters", "sg_FriendlyCapShips") - Subtitle_Add(Actor_AllShips, "Launch Vipers", 3) - SobGroup_GuardSobGroup("sg_Fighters", "sg_FriendlyCapShips") - Rule_Remove("Rule_LaunchV") - -end - -function Rule_Wait() - local x = random(-4000,8000) - local y = random(-3000,4000) - local z = random(-6000,6000) - local tVol = {x, y, z} - Volume_AddSphere("Vol_RandomVolume", {tVol[1], tVol[2], tVol[3],}, 1000) - SobGroup_ExitHyperSpace("sg_FriendlyCapShips", "Vol_RandomVolume") - Event_Start("ev_zoom") - --Rule_Remove("Rule_Wait") -end - -function Rule_Badluck() - Event_Start("ev_badluck") - SobGroup_SetHealth("sg_FriendlyCapShips", 0) - --Rule_Remove("Rule_Badluck") -end - -function Rule_Self_Destruction() - --if SobGroup_HealthPercentage("sg_FriendlyCapShips") <0.3 - --then - UI_BindKeyEvent(RKEY, "Rule_Self") - --Rule_Remove("Rule_Self_Destruction") - --end -end - -function Rule_Self() - Timer_Start("t1",4) - Subtitle_Add(Actor_AllShips, "Launch sequence for self destruction", 3) - if ( SobGroup_Empty("sg_Cylon_1") == 0 ) then - k = SobGroup_Count("sg_Cylon_1") - end - if ( SobGroup_Empty("sg_Cylon_2") == 0 ) then - l = SobGroup_Count("sg_Cylon_2") - end - if ( SobGroup_Empty("sg_Cylon_3") == 0 ) then - m = SobGroup_Count("sg_Cylon_3") - end - if ( SobGroup_Empty("sg_Cylon_4") == 0 ) then - n = SobGroup_Count("sg_Cylon_4") - end - if ( SobGroup_Empty("sg_Cylon_5") == 0 ) then - o = SobGroup_Count("sg_Cylon_5") - end - if ( SobGroup_Empty("sg_Cylon_6") == 0 ) then - p = SobGroup_Count("sg_Cylon_6") - end - g1 = k + l + m + n + o + p - print(g1.." Ships before self-destruction") - Rule_AddInterval("Rule_Self_Destruction3",2) - --Rule_Remove("Rule_Self") -end - - -function Rule_Self_Destruction3() - if Timer_GetRemaining("t1") < 1 - then - SobGroup_SetHealth("sg_FriendlyCapShips", 0) - SobGroup_DoDamageProximitySobGroup("sg_FriendlyCapShips", 1, 100000, 10000) - Rule_AddInterval("Rule_WaitFinalCount",10) - --Rule_Remove("Rule_Self_Destruction3") - end -end - -function Rule_WaitFinalCount() - a = SobGroup_Count("sg_Cylon_1") - b = SobGroup_Count("sg_Cylon_2") - c = SobGroup_Count("sg_Cylon_3") - d = SobGroup_Count("sg_Cylon_4") - e = SobGroup_Count("sg_Cylon_5") - f = SobGroup_Count("sg_Cylon_6") - g2 = a + b + c + d + e + f - g3 = g1 - g2 - print(g2.." Ships after self-destruction") - print(g3.." Difference") - --Rule_Remove("Rule_WaitFinalCount") -end - - -function Rule_Watchposeidon() - if SobGroup_HealthPercentage("sg_FriendlyCapShips") == 0 - then - Rule_AddInterval("Rule_Waitfailure",10) - --Rule_Remove("Rule_Watchposeidon") - end -end - -function Rule_Waitfailure() - Event_Start("ev_failed") - Rule_Add("Rule_Incomplete") - --Rule_Remove("Rule_Waitfailure") -end - -function Rule_Incomplete() - if Event_IsDone("ev_failed") == 1 - then - setMissionComplete(0) - --Rule_Remove("Rule_Incomplete") - end -end Deleted: trunk/HW2_ROOT/Data/leveldata/campaign/tutorial/fleetconvoy/galactica.bak =================================================================== --- trunk/HW2_ROOT/Data/leveldata/campaign/tutorial/fleetconvoy/galactica.bak 2011-05-11 00:40:08 UTC (rev 4548) +++ trunk/HW2_ROOT/Data/leveldata/campaign/tutorial/fleetconvoy/galactica.bak 2011-05-11 00:43:05 UTC (rev 4549) @@ -1,217 +0,0 @@ - dofilepath("data:/scripts/Evillejedi_StarsFunctions.lua") -- defaultStarField() - --- This level can be launched from the command line by adding the paramaters: -campaign hw2bsg -startingLevel h88_Giddion - -levelDesc = "What could have happened..." -maxPlayers = 2 - -player = {} - -player[0] = -{ - id = 0, - name = "", - resources = 30000, - raceID = 0, - startPos = 0, -} - -player[1] = -{ - id = 1, - name = "", - resources = 3000, - raceID = 1, - startPos = 0, -} - -function DetermChunk() - -- Adama - --addSquadron("hur_galactica_a", "hur_galactica_TOd", {600, 350, -11450}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_galactica_a", "hur_galactica", {600, 350, -11450}, 0, {0, 0, 0}, 0, 0) - --addSquadron("hur_galactica_a", "hur_galactica_s", {600, 350, -11450}, 0, {0, 0, 0}, 0, 0) - --addSquadron("hur_galactica_a", "hur_galactica_I", {600, 350, -11450}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_vipermkii_a00", "hur_vipermkvii", {2500, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_vipermkii_a01", "hur_vipermkvii", {2900, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_vipermkii_a02", "hur_vipermkvii", {3300, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_vipermkii_a03", "hur_vipermkvii", {3700, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_vipermkii_a04", "hur_vipermkvii", {4100, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_vipermkii_a05", "hur_vipermkvii", {2500, 0, 100}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_vipermkii_a06", "hur_vipermkvii", {2900, 0, 100}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_vipermkii_a07", "hur_vipermkvii", {3300, 0, 100}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_vipermkii_a08", "hur_vipermkvii", {3700, 0, 100}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_vipermkvii_a00", "hur_vipermkvii", {3200, 0, 50}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_vipermkvii_a01", "hur_vipermkvii", {3200, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_vipermkvii_b1", "hur_scarletviper", {3200, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_vipermkvii_b2", "hur_scarletviper", {3200, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_vipermkvii_b3", "hur_scarletviper", {3200, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_vipermkvii_b4", "hur_scarletviper", {3200, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_vipermkvii_b5", "hur_scarletviper", {3200, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_vipermkvii_b6", "hur_scarletviper", {3200, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_vipermkvii_b7", "hur_scarletviper", {3200, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_vipermkvii_b8", "hur_scarletviper", {3200, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_cox1", "hur_coxbomber", {3300, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_cox2", "hur_coxbomber", {3400, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_cox3", "hur_coxbomber", {3500, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_cox4", "hur_coxbomber", {3600, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_battle1", "hur_battleraptor", {3700, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_battle2", "hur_battleraptor", {3800, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_battle3", "hur_battleraptor", {3900, 0, 0}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_battle4", "hur_battleraptor", {4000, 0, 0}, 0, {0, 0, 0}, 0, 0) - - -- addSquadron("hur_dead1", "hur_triad", {-600, 50, -11450}, -1, {0, 0, 0}, 0, 0) - -- addSquadron("hur_dead1", "hur_valkyrie", {-1900, 40, -10600}, -1, {0, 90, 0}, 0, 0) - -- addSquadron("hur_dead1", "hur_scorpian", {0, 0, -8000}, 0, {-90, 0, 0}, 0, 0) - -- addSquadron("hur_dead1", "hur_pegasus", { 1600, 170, -8325}, -1, {0, -90, 0}, 0, 0) - --addSquadron("hur_dead1", "hur_giddion", { 1300, 50, -10125}, -1, {0, -90, 0}, 0, 0) - --addSquadron("hur_dead1", "hur_Columbia", {1640, 50, -12400}, -1, {0, 0, 0}, 0, 0) - --addSquadron("hur_dead1", "hur_bezerk", {700, 50, -12350}, -1, {0, 0, 0}, 0, 0) - - -- addSquadron("hur_dead1", "hur_galactica", {2500, 50, -12400}, -1, {0, 0, 0}, 0, 0) - -- addSquadron("hur_dead1", "hur_atlantia", {-2100, 100, -7300}, -1, {0, 90, 0}, 0, 0) - -- addSquadron("hur_dead1", "hur_aries", {-400, 50, -9800}, -1, {0, -90, 0}, 0, 0) - -- addSquadron("hur_dead1", "hur_valhalla", { -2100, 50, -9125}, -1, {0, 90, 0}, 0, 0) - --addSquadron("hur_dead1", "hur_galactica_damage", { 3780, 50, -11150}, -1, {0, -90, 0}, 0, 0) - - --addSquadron("hur_dead1", "hur_containership", {-600, 50, -11750}, -1, {0, 0, 0}, 0, 0) - - - - - - - - - - - - addSquadron("hur_dead1", "hur_flattop", {-1900, 40, -10600}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "hur_spacepark", {-500, 200, -7000}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "hur_carrier", { -1600, -170, -8325}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "hur_miningship", { 100, 450, -10125}, 0, {0, 0, 0}, 0, 0) - - addSquadron("hur_dead1", "hur_colonialone", {1640, -150, -12400}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "hur_olympiccarrier", {700, 150, -12350}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "hur_botanical", {2500, 250, -12400}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "hur_celestra", {-2100, 100, -7300}, -1, {0, 0, 0}, 0, 0) - --addSquadron("hur_dead1", "hur_kimbahuta", {-400, -450, -9800}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "hur_sagliner", { -1100, 50, -9125}, -1, {0, 0, 0}, 0, 0) - --t1 - addSquadron("hur_dead1", "hur_sagliner2", { 3080, -50, -11150}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "hur_pangalactic", {-1600, 50, -11450}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "hur_gemini", {-1700, 40, -10600}, -1, {0,0, 0}, 0, 0) - addSquadron("hur_dead1", "hur_gemonliner", {10, 0, -8000}, -1, {0, 0, 0}, 0, 0) - - addSquadron("hur_dead1", "hur_coxxonliner", { 1600, 170, -10325}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "hur_astralqueen", { 1300, 250, -10125}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "hur_monarch", {1640, -50, -12400}, 0, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "hur_siloship", {1000, 50, -12350}, -1, {0, 0, 0}, 0, 0) - - addSquadron("hur_dead1", "hur_striker", {2500, -50, -12400}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "hur_traveller", {-2100, 100, -7300}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "hur_tubeship", {-1400, 50, -9800}, -1, {0, 0, 0}, 0, 0) - - addSquadron("hur_dead1", "hur_cloudnine", { -2100, 50, -12125}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "hur_refinery", { 3280, 350, -11150}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "hur_pegasus", { -3680, 50, -11150}, 0, {0, 0, 0}, 0, 0) - - addSquadron("hur_dead1", "huo_containership", {-800, -250, -11450}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "cyo_heavyfueltanker", {-1400, 140, -10600}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "cyo_miningtanker", {100, -110, -10400}, -1, {0, 0, 0}, 0, 0) - - addSquadron("hur_dead1", "cyr_tanker", { 2600, 270, -8325}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "hur_coxxonliner", { 2700, 150, -10125}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "hur_olympiccarrier", {1700, 150, -12350}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "hur_containership", {-1100, 00, -12300}, -1, {0, 0, 0}, 0, 0) - - addSquadron("hur_dead1", "hur_sagliner", { 2100, 20, -9125}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "hur_sagliner2", { -3180, 450, -11150}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "hur_pangalactic", {-1900, 250, -11450}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "hur_gemini", {-2900, 40, -10600}, -1, {0, 0, 0}, 0, 0) - - addSquadron("hur_dead1", "hur_gemonliner", {-1200, 180, -8400}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "hur_coxxonliner", { 1600, 70, -8325}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "hur_tubeship", { 1900, 250, -10125}, -1, {0, 0, 0}, 0, 0) - --okayabove - addSquadron("hur_dead1", "hur_striker", {-2200, 50, -12400}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "hur_traveller", {2100, 100, -7300}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "hur_tubeship", {-800, 350, -9800}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "hur_containership", { -1000, 150, -9125}, -1, {0, 0, 0}, 0, 0) - --addSquadron("hur_dead1", "hur_gemini", { 1780, 250, -11150}, -1, {0, 0, 0}, 0, 0) - --extra - addSquadron("hur_dead1", "hur_tubeship", {-800, -350, -7800}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "hur_containership", { 100, 150, -7125}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "hur_gemonliner", {-200, -180, -6400}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "hur_coxxonliner", { 1200, -70, -8325}, -1, {0, 0, 0}, 0, 0) - - addSquadron("hur_dead1", "hur_tubeship", { 1900, -250, -12125}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "hur_sagliner", { 1330, -20, -6125}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "hur_sagliner2", { -3180, -450, -10150}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "hur_gemini", {-1900, -40, -14600}, -1, {0, 0, 0}, 0, 0) - - --addSquadron("hur_dead1", "hur_coxxonliner", { 1500, -150, -8225}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "hur_olympiccarrier", {1100, -150, -10350}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "huo_containership", {-1700, -250, -11450}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "cyo_heavyfueltanker", {-1400, -140, -10600}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "cyr_tanker", { 2600, -270, -8325}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "hur_coxxonliner", { 1500, -150, -10125}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "hur_containership", {-1190, 00, -7300}, -1, {0, 0, 0}, 0, 0) - addSquadron("hur_dead1", "hur_siloship", {1900, -450, -12350}, -1, {0, 0, 0}, 0, 0) - - - - - - --addSquadron("b_newcaprica", "b_newcaprica", {0, 800000, -700000}, 0, { 50, 0, 0}, 0, 0) - addSquadron("corellia", "moon", {1800000, 2000000, 6000000}, -1, {0, 0, 0}, 0, 0) - -- Cameras - addCamera("Cam_Init", {-542, 500, -3000}, {3960, 1963, -3000}) - - -- Bounds - setWorldBoundsInner({0, 0, 0}, {2000000, 200000, 2000000}) - - -- Groups - - createSOBGroup("sg_Fighters") - addToSOBGroup("hur_vipermkii_a00", "sg_Fighters") - addToSOBGroup("hur_vipermkii_a01", "sg_Fighters") - addToSOBGroup("hur_vipermkii_a02", "sg_Fighters") - addToSOBGroup("hur_vipermkii_a03", "sg_Fighters") - addToSOBGroup("hur_vipermkii_a04", "sg_Fighters") - addToSOBGroup("hur_vipermkii_a05", "sg_Fighters") - addToSOBGroup("hur_vipermkii_a06", "sg_Fighters") - addToSOBGroup("hur_vipermkii_a07", "sg_Fighters") - addToSOBGroup("hur_vipermkii_a08", "sg_Fighters") - addToSOBGroup("hur_vipermkvii_a00", "sg_Fighters") - addToSOBGroup("hur_vipermkvii_a01", "sg_Fighters") - addToSOBGroup("hur_vipermkvii_b1", "sg_Fighters") - addToSOBGroup("hur_vipermkvii_b2", "sg_Fighters") - addToSOBGroup("hur_vipermkvii_b3", "sg_Fighters") - addToSOBGroup("hur_vipermkvii_b4", "sg_Fighters") - addToSOBGroup("hur_vipermkvii_b5", "sg_Fighters") - addToSOBGroup("hur_vipermkvii_b6", "sg_Fighters") - addToSOBGroup("hur_vipermkvii_b7", "sg_Fighters") - addToSOBGroup("hur_vipermkvii_b8", "sg_Fighters") - addToSOBGroup("hur_cox1", "sg_Fighters") - addToSOBGroup("hur_cox2", "sg_Fighters") - addToSOBGroup("hur_cox3", "sg_Fighters") - addToSOBGroup("hur_cox4", "sg_Fighters") - addToSOBGroup("hur_battle1", "sg_Fighters") - addToSOBGroup("hur_battle2", "sg_Fighters") - addToSOBGroup("hur_battle3", "sg_Fighters") - addToSOBGroup("hur_battle4", "sg_Fighters") - addSquadron("corellia", "moon", {1800000, 2000000, 6000000}, -1, {0, 0, 0}, 0, 0) - createSOBGroup("sg_FriendlyCapShips") - addToSOBGroup("hur_galactica_a", "sg_FriendlyCapShips") - - defaultStarField() -- Evillejedi_StarsFunctions -end - -function NonDetermChunk() - setDefaultMusic("Data:sound/music/Battle/PreludeToWar") - fogSetActive(0) - setGlareIntensity(0) - setLevelShadowColour(0,0,0,1) - loadBackground("black") - setSensorsManagerCameraDistances(1000, 100000) -end \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |