Data Realms Fan Forums
http://45.55.195.193/

Making the AI use Darkstorm troops
http://45.55.195.193/viewtopic.php?f=72&t=16026
Page 1 of 1

Author:  IceSilver [ Mon Jul 27, 2009 8:57 am ]
Post subject:  Making the AI use Darkstorm troops

So I've gotten bored abusing the dummies and coalition and was wondering how I can add in Darkstorm troops to the AI's arsenal.

Before you write in do x then y with a hint of z I should add, I've got no idea what so ever as to how one does any editing in this game.

which files do I create and where, what do I type into them, etc...

Author:  Roon3 [ Mon Jul 27, 2009 10:09 am ]
Post subject:  Re: Making the AI use Darkstorm troops

http://www.datarealms.com/wiki/index.php/Activities.ini

Author:  Geti [ Mon Jul 27, 2009 10:13 am ]
Post subject:  Re: Making the AI use Darkstorm troops

im assuming you know where the base CC directory is.
in missions.rte, open index.ini and comment out (type // in front of) the line ending in Skirmish Activities.ini
now, copy skirmish activities into darkstorm.rte (make sure you copy it, so you have a backup), and then open it.
now, go here and read up on how to create activities, cause i am not explaining that ♥♥♥♥. except i just edited the hell out of that wiki cause it was out of date and in the wrong order (noone uses base.rte edits anymore <_<)

damnit roon!

Author:  IceSilver [ Tue Jul 28, 2009 3:40 pm ]
Post subject:  Re: Making the AI use Darkstorm troops

I've gotten it semi-working, basically it spawns the first Attacker Spawn soldier into the 2nd Attacker Spawn Dropship.

Anything inside of ( ) are not actually in the activities.ini file
Code:
   AddAttackerSpawn = ACDropShip
      CopyOf = Darkstorm/D82 Raiju (Drop pod, which workedfine on its own, not working in this group)
      AddInventory = AHuman
         CopyOf = Darkstorm/Shogun Tengu
         AddInventory = HDFirearm
            CopyOf = Darkstorm/D37 Squad Automatic Weapon
         AddInventory = HDFirearm
            CopyOf = Darkstorm/D113 Force Digger


   AddAttackerSpawn = ACDropShip
      CopyOf = Darkstorm/D89 Kimon (dropship, only thing that spawns in this group)
      AddInventory = AHuman
         CopyOf = Darkstorm/Shogun Tengu
         AddInventory = HDFirearm
            CopyOf = Darkstorm/D121 Coil Gun
         AddInventory = HDFirearm
            CopyOf = Darkstorm/D113 Force Digger

Author:  ProjektTHOR [ Tue Jul 28, 2009 5:03 pm ]
Post subject:  Re: Making the AI use Darkstorm troops

/facepalm

Author:  Geti [ Tue Jul 28, 2009 9:08 pm ]
Post subject:  Re: Making the AI use Darkstorm troops

hahahah.
yeah, the drop pod is an ACRocket. make sure you note that before you make activities.

Author:  IceSilver [ Thu Jul 30, 2009 9:34 am ]
Post subject:  Re: Making the AI use Darkstorm troops

/me smacks head into wall

Thanks for pointing that out Geti, odd thing is I copied that exactly from the actual file, so in the mod the creator (forgot his name) has:

Code:
AddActor = ACDropShip
   PresetName = D82 Raiju


I edited it to ACRocket but the game crashed on attempting to load it

Author:  Geti [ Thu Jul 30, 2009 10:09 am ]
Post subject:  Re: Making the AI use Darkstorm troops

oh. well in that case it is an acdropship. my mistake; it used to be an acrocket.
i cant help if thats the case, if it just straight up isnt working try deleting the file and remaking it, without copy-pasting from the "broken" file, for some reason CC inis get screwed up on the odd occasion. some unicode whatever.
if one spawns and not the other, delete the unworking block and try retyping everything. also, the darkstorm/ prefix on everything isnt necessary, because you are copying from darkstorm.rte anyway.

Author:  IceSilver [ Thu Jul 30, 2009 1:01 pm ]
Post subject:  Re: Making the AI use Darkstorm troops

the Darkstorm/ part me not be needed but it's not hurting leaving it in, plus I plan to have the Dummy, Coalition & Ronin armies added in too.

I'm gonna go for the lazy/safer way of just using actual dropships/rockets and no pods, cheers for the help all...now to fight the hordes of Darkstorm/Dummies/Coalition/Ronin

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