Author Topic: New Enemy AI  (Read 1530 times)

Agent 12

  • Moderator
  • Zurvan Surfer (+2500)
  • *
  • Posts: 2572
    • View Profile
New Enemy AI
« on: August 19, 2008, 03:47:10 am »
I'm going to help mauron with Enemy AI.  I did cyrus, Antaeus (the porre guy in 1 AD) and the two reptite time travellers:

To see what the limits of AI are check here:

http://www.chronocompendium.com/Term/Enemy_AI.html

In short there are conditionals and actions.  The first conditional that is true determines what action is done.  Again it is explained in the previous link in detail.  There is a list of conditions and actions in there.  Most of the "cool" actions are techs.   As far as I know we are limited to techs that you have seen done by other enemies in the game.  So if you want a tech let me know what enemy uses it and preferabley what causes him to do it and i'll put it in.  Some techs just plain don't work for example i tried to give antaeus atropos techs and the game froze.   I'll let youknow if something you suggest does not work. 

CYRUS:

Note:  for now i'm limiting myself to the space that was there before...needless to say that wasn't much space since he basically had one attack.  When we have a better idea of what were doing with him repoint him to a larger area:

AI Not Hit:
If( TRUE  ) //default
  Fire 2                 // i thought since he's a mystic we should give him SOME sort of magic.  used by magus
  GhostCircleThing // used by cyrus
  Attack             

AI Hit:
if( TRUE ) //default
   Attack   //basically he counter attacks



Antaeus:


NOTES:  I think the cure is to strong we can switch it to the one used by sorcerer/fly trap 
AI Regular:
if ( True ) //default
   Choose Random action //chooses one of the actions below
   Attack
   Wander  //alot of enemies have these
   Cure Beam //Used by proto 4 ...it's pretty powerful
   Attack

AI Hit:
if( True) //default
   Chose random action
   HP Down //used by azala
   Wander



Reptite time traveler 1 (the ice one)



Notes:  this guy is the marle (healer /ice)

AI Regular:
If ( Reptite Time Traveler 2 is alive)
   ChoseRandomAction
        Wander
        Ice 2     //used by magus
        Heal       //used by sorcerer /fly trap thing
        Iron Orb //used by golem
If (Default )  //if the other time traveler is dead we get here
       Life 2   //used by giga gaia

AI Hit:
if( hit by ice element )
     Ice 2 //used by magus i thought maybe we could be show the text "let me show you how it's done
if( TRUE) //default
    choose random action
    wander
    HP Break //azala



Reptite time traveler 2 (the fire one)



Notes:  Fire Innate he's more of a fighter there's a bytes left for this guy i'm thinking of adding a special counter attack if his brother is dead. 

AI Regular:

If( TRUE )
   Choose random action
     Wander
     Attack
     Fire 2 //used by magus

AI HIT:
If( Hit by Fire)
    Iron Orb //maybe we should make this fire 2 like his brother?
If(Default)
    Choose Random Action
    Wander
    Attack

Phew....what do you guys think?   Should I make a topic devoted to these maybe it'll make this topic to cluttered?

--JP


       
« Last Edit: August 22, 2008, 04:27:00 am by jsondag2 »

Agent 12

  • Moderator
  • Zurvan Surfer (+2500)
  • *
  • Posts: 2572
    • View Profile
Re: New Enemy AI
« Reply #1 on: August 22, 2008, 04:25:12 am »

Krawlie


NOTES:  i really want to switch him to a mech thingy

AI REGULAR
  Choose Random Action
  Attack
  Beam Attack  //used by debugger
  missile attack  //used by dragon tank

--JP

Agent 12

  • Moderator
  • Zurvan Surfer (+2500)
  • *
  • Posts: 2572
    • View Profile
Re: New Enemy AI
« Reply #2 on: August 23, 2008, 05:26:09 am »

Alien (Porre lab Boss)


NOTES:  The following filled up his AI we'll have to move it if we want to add more

AI REGULAR
  Chaos ...Orb //used by terra mutant
  Wander
  Wander
  Wander
  Wander
  Instant death to one ally //used by alien
  Eat and spit out one ally //used by rust tyrano

--JP

Agent 12

  • Moderator
  • Zurvan Surfer (+2500)
  • *
  • Posts: 2572
    • View Profile
Re: New Enemy AI
« Reply #3 on: August 24, 2008, 08:32:26 pm »

Mega Mutant


NOTES:  I basically added a magic counter like cyber suggested

AI REGULAR
   Choose Random Action
   Poison Gas // used by mega mutant
   Sleep Gas  //used by mega mutant
   Attack   
   Wander mode

AI Counter
   If Magic
      Blacken //used by mega mutant
   If Alive //default
      Wander mode


--JP

Agent 12

  • Moderator
  • Zurvan Surfer (+2500)
  • *
  • Posts: 2572
    • View Profile
Re: New Enemy AI
« Reply #4 on: August 26, 2008, 04:39:18 am »

Ruminator


NOTES:  I basically added a magic counter like cyber suggested

AI REGULAR
   Choose Random Action
   Poison Gas // used by mega mutant
   Attack
   Stop          //used by synchrite   
 


hexapod


NOTES:  I basically added a magic counter like cyber suggested

AI REGULAR
   Choose Random Action
   Poison Gas // used by mega mutant
   Attack
   Stop          //used by synchrite   
   swallow PC //used by rust tyrano....this is a mistke i mean to put breath fire here.....
AI COUNTER
   if hit by magic
       water 2    //used by blue scout   
   if alive  //default
      wander
--JO