Data Realms Fan Forums
http://45.55.195.193/

How do I Spawn Different Vanilla Actors?
http://45.55.195.193/viewtopic.php?f=72&t=12539
Page 1 of 1

Author:  Jackzon47 [ Mon Nov 03, 2008 12:59 am ]
Post subject:  How do I Spawn Different Vanilla Actors?

I've tried the activities, but all it does is crash my game! What do I do to replace the skeletons with light soldiers? That's all I need help with.

Author:  Electroclan [ Mon Nov 03, 2008 5:05 am ]
Post subject:  Re: How do I Spawn Different Vanilla Actors?

Well, you did activities wrong.

If you give us the error message when it crashed, then I can help you out.

Author:  LowestFormOfWit [ Mon Nov 03, 2008 5:58 pm ]
Post subject:  Re: How do I Spawn Different Vanilla Actors?

Either that or post the part of the activities that you edited, and we might be able to see what went wrong.

Or both.

Author:  Jackzon47 [ Mon Nov 03, 2008 11:21 pm ]
Post subject:  Re: How do I Spawn Different Vanilla Actors?

////////////////////////////////////////////////
// Begin list of Activities or "Game Modes"

Code:
AddActivity = SceneEditor
   PresetName = Test Editor
   SceneName = Grasslands

AddActivity = AreaEditor
   PresetName = Test Editor
   SceneName = Grasslands

AddActivity = GibEditor
   PresetName = Test Editor
   SceneName = Editor Scene

AddActivity = ActorEditor
   PresetName = Test Editor
   SceneName = Editor Scene

AddActivity = GATutorial
   PresetName = Tutorial Mission
   SceneName = Tutorial Bunker
   InCampaignStage = 1
   TeamCount = 2
   PlayerCount = 1
   TeamOfPlayer1 = 0
   TeamOfPlayer2 = 1
   FundsOfTeam1 = 15000000000000
   CPUTeam = 1

AddActivity = GAScripted
   PresetName = Scripted Tutorial
   SceneName = Tutorial Bunker
   ScriptFile = Base.rte/Scenes/Scripts/TestScript.lua
   LuaClassName = TutorialMission

AddActivity = GAScripted
   PresetName = Maginot
   SceneName = Maginot
   ScriptFile = Base.rte/Scenes/Scripts/Maginot.lua
   InCampaignStage = 1
   LuaClassName = MaginotMission

AddActivity = GABaseDefense
   PresetName = Test Activity
   SceneName = Physics Test
   TeamCount = 2
   PlayerCount = 1
   TeamOfPlayer1 = 0
   FundsOfTeam1 = 15000000000000000
   CPUTeam = 1
   Difficulty = 3
   SpawnIntervalEasiest = 25000
   SpawnIntervalHardest = 9000
/*
   AddAttackerSpawn = ACDropShip
      CopyOf = Drop Ship MK1
      AddInventory = AHuman
         CopyOf = Skeleton
         AddInventory = HDFirearm
            CopyOf = Blunderbuss
         AddInventory = HDFirearm
            CopyOf = Pistol
         AddInventory = HeldDevice
            CopyOf = Riot Shield
         AddInventory = HDFirearm
            CopyOf = Light Digger
*/
AddActivity = GABaseDefense
   PresetName = Default Activity
   SceneName = Grasslands
   TeamCount = 2
   PlayerCount = 1
   TeamOfPlayer1 = 0
   FundsOfTeam1 = 15000000000000
   CPUTeam = 1
   Difficulty = 3
   SpawnIntervalEasiest = 25000
   SpawnIntervalHardest = 9000
   
   AddAttackerSpawn = ACDropShip
      CopyOf = Drop Ship MK1
      AddInventory = AHuman
         CopyOf = Robot 2
         AddInventory = HDFirearm
            CopyOf = SMG
         AddInventory = HDFirearm
            CopyOf = Pistol
         AddInventory = HeldDevice
            CopyOf = Riot Shield
         AddInventory = HDFirearm
            CopyOf = Heavy Digger

AddActivity = GABaseDefense
   PresetName = Skirmish Defense
   SceneName = Grasslands
   TeamCount = 2
   PlayerCount = 1
   TeamOfPlayer1 = 0
   FundsOfTeam1 = 15000000000000
   CPUTeam = 1
   Difficulty = 3
   SpawnIntervalEasiest = 20000
   SpawnIntervalHardest = 8000
   
            
   AddAttackerSpawn = ACDropShip
      CopyOf = Drop Ship MK1
      AddInventory = AHuman
         CopyOf = Soldier Light
         AddInventory = HDFirearm
            CopyOf = SMG
         AddInventory = HDFirearm
            CopyOf = Pistol
         AddInventory = HeldDevice
            CopyOf = Riot Shield
         AddInventory = HDFirearm
            CopyOf = Medium Digger
            
   AddAttackerSpawn = ACDropShip
      CopyOf = Drop Ship MK1
      AddInventory = AHuman
         CopyOf = Soldier Heavy
         AddInventory = HDFirearm
            CopyOf = SMG
         AddInventory = HDFirearm
            CopyOf = Pistol
         AddInventory = HeldDevice
            CopyOf = Riot Shield
         AddInventory = HDFirearm
            CopyOf = Heavy Digger
            
   AddAttackerSpawn = ACDropShip
      CopyOf = Dummy Drop Ship
      AddInventory = AHuman
         CopyOf = Robot 2
         AddInventory = HDFirearm
            CopyOf = SMG
         AddInventory = HDFirearm
            CopyOf = Pistol
         AddInventory = HeldDevice
            CopyOf = Riot Shield
         AddInventory = HDFirearm
            CopyOf = Heavy Digger
            
   AddAttackerSpawn = ACDropShip
      CopyOf = Dummy Drop Ship
      AddInventory = AHuman
         CopyOf = Dummy
         AddInventory = HDFirearm
            CopyOf = Shotgun
         AddInventory = HDFirearm
            CopyOf = Pistol
         AddInventory = HDFirearm
            CopyOf = Medium Digger
   AddAttackerSpawn = ACDropShip
      CopyOf = Drop Ship MK1
      AddInventory = AHuman
         CopyOf = Soldier Light
         AddInventory = HDFirearm
            CopyOf = SMG
         AddInventory = HDFirearm
            CopyOf = Pistol
         AddInventory = HeldDevice
            CopyOf = Riot Shield
         AddInventory = HDFirearm
            CopyOf = Medium Digger
    AddInventory = AHuman
         CopyOf = Soldier Light
         AddInventory = HDFirearm
            CopyOf = SMG
         AddInventory = HDFirearm
            CopyOf = Pistol
         AddInventory = HeldDevice
            CopyOf = Riot Shield
         AddInventory = HDFirearm
            CopyOf = Medium Digger


I tried to get rid of the skeletons, so I would have soldiers instead

Added [code] tags.

- Electro

Author:  Duh102 [ Wed Nov 05, 2008 12:26 am ]
Post subject:  Re: How do I Spawn Different Vanilla Actors?

Check your tabs, check that all "AddInventory" tags are exactly one tab to the right of any "CopyOf = (dropship)" lines.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/