• Welcome to The Desert Colossus.
 

News:

Welcome to the Desert!  Register, post, and have fun.  Why not introduce yourself in the
Welcome Thread?

Main Menu

Re: The topic of 750 pages. Seriously, that's it.

Started by Keaton, July 11, 2008, 04:52:53 PM

Previous topic - Next topic

Hi no Seijin

Best.  Cane.  EVER!
Secretary of Lolcats; I won the MagmarFire Award for 2/21/08!
Filler.Filler.Filler.Fillah!  Filler.Filler.Filler.Fillah!

Pale Dim



3308-7723-6389


Pale Dim

A bracelet doesn't even have a brain! Of course it's stupid!


3308-7723-6389

TP Zelda

XDDDDDDD
NOOOOO the paint started comin off after i tried to get the ink off of it

Pale Dim



3308-7723-6389

TP Zelda

XD
well i was using dish soap. then the black started coming off.  :P so i'm taking it all off and im gona re-paint them somehow.  :-*

Pale Dim

Well, it'll help with your creativity. Look on the bright side of things!


3308-7723-6389

TP Zelda


Pale Dim

Wow, someone actually took my advice! I feel smart! Now, for the script of the battle over Coruscant for Starwars Battlefront II!


...Nah. Too lazy.


3308-7723-6389


Pale Dim

Hey, do you actually want me to put it up? Give me a sec...


3308-7723-6389


Pale Dim

Here!
-- SPACE 2 Battle over Coruscant
--
-- Copyright (c) 2005 Pandemic Studios, LLC. All rights reserved.
--


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

--Load the gametype script
ScriptCB_DoFile("setup_teams")
ScriptCB_DoFile("Objective")
ScriptCB_DoFile("ObjectiveAssault")
ScriptCB_DoFile("ObjectiveGoto")
ScriptCB_DoFile("MultiObjectiveContainer")
ScriptCB_DoFile("LinkedDestroyables")
ScriptCB_DoFile("LinkedShields")
ScriptCB_DoFile("PlayMovieWithTransition")
ScriptCB_DoFile("LinkedTurrets")
---------------------------------------------------------------------------
-- 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()
--    DisableSmallMapMiniMap()
   SetupTurrets()
   SetAIDifficulty(2, -11, "medium")  
   SetProperty("Hangarobj", "IsVisible", 0)
   SetProperty("Hangarobj", "IsCollidable ", 0)
   SetProperty("spa_prop_liquidgen", "Team", 2)
   SetProperty("shi-ject", "IsVisible", 0)
   SetProperty("shi-ject", "IsCollidable ", 0)
   SetProperty("shi-ject", "MaxHealth", 999999)
   SetProperty("shi-ject", "CurHealth", 999999)

   ScriptCB_SetGameRules("campaign")
   ScriptCB_PlayInGameMovie("ingame.mvs", "sb2mon01")
   SetMissionEndMovie("ingame.mvs", "sb2mon02")
   SetProperty("CP4", "SpawnPath", "SP_spawn")
   PlayAnimationFromTo("Frig_01", 0, 119);
   ActivateRegion("obj_1reg")
   SetupLinkedObjects()

   SetAIDamageThreshold("comms_cis", 0.2)
   SetAIDamageThreshold("cisbridge01", 0.6)
   
   SetProperty("cisbridge01", "MaxHealth", 20000)
   SetProperty("cisbridge01", "CurHealth", 20000)
   
   SetProperty("ciseng01", "MaxHealth", 99999)
   SetProperty("ciseng01", "CurHealth", 99999)
   SetProperty("ciseng02", "MaxHealth", 99999)
   SetProperty("ciseng02", "CurHealth", 99999)
       
   SetProperty("rep_prop_shipturret3", "MaxHealth", 30000)
   SetProperty("rep_prop_shipturret3", "CurHealth", 30000)
   SetProperty("rep_prop_shipturret", "MaxHealth", 30000)
   SetProperty("rep_prop_shipturret", "CurHealth", 30000)

   SetProperty("rep_prop_shipturret3", "Team", 0)
   SetProperty("rep_prop_shipturret", "Team", 0)

   SetProperty("Rtlow01", "Team", 0)
   SetProperty("rtlow02", "Team", 0)
   SetProperty("rtlow3", "Team", 0)
   SetProperty("rtlow4", "Team", 0)
   SetProperty("rtlow5", "Team", 0)
   SetProperty("rtlow6", "Team", 0)

   SetProperty("cis_fedcruiser_door1", "IsLocked", 1)
   SetProperty("cis_fedcruiser_door2", "IsLocked", 1)
   
   SetProperty("rep_door01", "IsLocked", 1)
   SetProperty("rep_door02", "IsLocked", 1)
   
   SetProperty("lockedcis01", "IsLocked", 1)
   SetProperty("lockedcis02", "IsLocked", 1)
       
   SetProperty("fedmini01", "MaxHealth", 9999999)
   SetProperty("fedmini01", "CurHealth", 9999999)
   
   OnObjectKillName(PlayAnimCIS_mini01List, "fedmini01");

   --Objective1:Start()
   onfirstspawn = OnCharacterSpawn(
       function(character)
           if IsCharacterHuman(character) then
               ReleaseCharacterSpawn(onfirstspawn)
               onfirstspawn = nil
               BeginObjectivesTimer()
               ScriptCB_EnableCommandPostVO(0)
               ScriptCB_PlayInGameMusic("rep_spa2_amb_obj1_2_explore")
           end
       end)

   --This is objective 1 Start  Get into a ship and exit into space
   
   Objective1 = Objective:New{teamATT = ATT, teamDEF = DEF, text = "level.spa2.objectives.campaign.1", popupText = "level.spa2.objectives.long.1"}
   Objective1Complete = OnEnterRegion(
       function(region, character)
           if IsCharacterHuman(character) then
               Objective1:Complete(ATT)
               ReleaseEnterRegion(Objective1Complete)
           end
       end,
       "obj_1reg"
       )
   
       Objective1:AddHint("level.spa2.objectives.popup.1a")
       Objective1:AddHint("level.spa2.objectives.popup.1b")
   
   Objective1.OnStart = function(self)
       objectiveSequence.delayNextSetTime = 0.5
       ScriptCB_EnableCommandPostVO(0)
       ScriptCB_SndPlaySound("SPA2_obj_57")
       Objective1.Defgoal1 = AddAIGoal(ATT, "Defend", 100, "CP1")
       Objective1.Defgoal2 = AddAIGoal(DEF, "Defend", 100, "CP4")
       SetProperty("CP4", "SpawnPath", "CP4spawn")
       shieldStuffCIS:ChangeAddShield(50000)
   end

   Objective1.OnComplete = function(self)
       ShowMessageText("level.spa2.objectives.campaign.c", 1)
   end

--Objective 2 Start.  Kill 5 fighters
   ship_count = 5
   objective2Ships = {"cis_fly_droidfighter_sc", "cis_fly_tridroidfighter"}
   Objective2 = Objective:New{teamATT = ATT, teamDEF = DEF, text = "level.spa2.objectives.campaign.2", popupText = "level.spa2.objectives.long.2"}
   
       Objective2:AddHint("level.spa2.objectives.popup.2a")
       Objective2:AddHint("level.spa2.objectives.popup.2b")
       Objective2:AddHint("level.spa2.objectives.popup.2c")

   Objective2.OnStart = function(self)
       SetProperty("CP1", "Team", "2")
       ScriptCB_SndPlaySound("SPA2_obj_58")
       
       Objective2ShipKillStart(objective2Ships)    
       
       SetProperty("Rtlow01", "Team", 1)
       SetProperty("Rtlow02", "Team", 1)
       SetProperty("rtlow3", "Team", 1)
       SetProperty("rtlow4", "Team", 1)
       SetProperty("Rtlow5", "Team", 1)
       SetProperty("rtlow6", "Team", 1)
   end
   

   Objective2.OnComplete = function(self)
       ShowMessageText("level.spa2.objectives.campaign.c", 1)
       SetProperty("fedmini01", "MaxHealth", 30000)
       SetProperty("fedmini01", "CurHealth", 30000)
       
   end

   --This is objective 3  Destroy the Frigate
   frigate01 = Target:New{name = "fedmini01"}
   frigate01.OnDestroy = function(self)
       ShowMessageText("level.spa2.objectives.campaign.c", 1)
   end
   
   Objective3 = ObjectiveAssault:New{teamATT = ATT, teamDEF = DEF,
                             text = "level.spa2.objectives.campaign.3", popupText = "level.spa2.objectives.long.3"}
   Objective3:AddTarget(frigate01)
   
       Objective3:AddHint("level.spa2.objectives.popup.3a")

   Objective3.OnStart = function(self)
           ScriptCB_SndPlaySound("SPA2_obj_59")
           ScriptCB_PlayInGameMusic("rep_spa2_objComplete_01")
           
    -- Music Timer --
    music01Timer = CreateTimer("music01")
   SetTimerValue(music01Timer, 14.0)
                         
       StartTimer(music01Timer)
       OnTimerElapse(
           function(timer)
           ScriptCB_StopInGameMusic("rep_spa2_objComplete_01")
           ScriptCB_PlayInGameMusic("rep_spa2_amb_obj3_5_explore")
           DestroyTimer(timer)
       end,
       music01Timer
       )
   end
   
   Objective3.OnComplete = function(self)
       shieldStuffCIS:ChangeAddShield(100)
   end

   --This is objective 4  Destroy the Shields
   shield01 = Target:New{name = "shield_cis", iconScale = 0.0}
   shield01.OnDestroy = function(self)
       ShowMessageText("level.spa2.objectives.campaign.c", 1)
   end
   
   Objective4 = ObjectiveAssault:New{teamATT = ATT, teamDEF = DEF,
                             text = "level.spa2.objectives.campaign.4", popupText = "level.spa2.objectives.long.4"}
   Objective4:AddTarget(shield01)
   
       Objective4:AddHint("level.spa2.objectives.popup.4a")
   
   Objective4.OnStart = function(self)
   MapAddEntityMarker("shi-ject", "hud_objective_icon", 3.0,
Well, this is only half.

   


3308-7723-6389