AI & Smart Objects

View unanswered posts | View active topics


Post a new topicPost a reply
Previous topic | Next topic 

  Beginner BeginnerMember since: 29.08.2011, 19:09Posts: 6 Likes: 0
 

 Post Topic: How can i creat my AI?
PostPosted 11.11.2011, 07:32 
Step 1: I creat my character in 3dMAX,and import CryENGING,It's OK.
a.jpg

Step 2:I creat Animation Graph in CryENGINE,use my animation,It's OK.
b.jpg

My Question:
How can i use my character like "Grunt",can use "AIpath,AIgoto......"
Why my character no pose in scene?
c.jpg

User avatar   Uber Modder Uber ModderMember since: 26.11.2007, 02:03Posts: 2683Location: USA Likes: 0
 

 Post Topic: Re: How can i creat my AI?
PostPosted 06.12.2011, 03:51 
This is a very good question, I need to know this as well.
  Beginner BeginnerMember since: 19.08.2011, 04:18Posts: 52 Likes: 0
 

 Post Topic: Re: How can i creat my AI?
PostPosted 12.12.2011, 01:07 
My guess would be the geom entity section, this is mainly for static meshes I believe. Did you export your character as CGF or CGA?

CGA is what is used for vehicles, so give this a try. It may fix your issue.
User avatar   Beginner BeginnerMember since: 22.10.2011, 20:04Posts: 40Location: Behind you! Likes: 0
 

 Post Topic: Re: How can i creat my AI?
PostPosted 25.12.2011, 20:13 
you can put grunt and change his model :D(in grunt properties)


PrinceTeam
  Trainee TraineeMember since: 19.08.2011, 10:04Posts: 178Location: Prague, Czech Rep. Likes: 0
 

 Post Topic: Re: How can i creat my AI?
PostPosted 27.12.2011, 12:32 
your model maybe dont have set right animationgraph. Try change animation graph in actor.lua to yours and you will see results (after restart engine)
  Beginner BeginnerMember since: 27.12.2011, 23:33Posts: 1 Likes: 0
 

 Post Topic: Re: How can i creat my AI?
PostPosted 28.12.2011, 22:54 
You must set the animations yourself in the advanced properties.
User avatar   Media Support Media SupportMember since: 31.08.2011, 11:17Posts: 423 Likes: 1
 

 Post Topic: Re: How can i creat my AI?
PostPosted 31.12.2011, 09:24 
Hi, Simpo is correct you would need to to export your character as a .CGA as this is the format that allows animated geometry to be placed as "geometry entity" and also interact with the ai system and other things. Keep in mind that you would not add animated geometry as a brush as this is the simplest form of object you could have and i don't believe it supports ai or animation. Also .CGF format is strictly for static or Skeletal animation objects and .CGA is for "animated geometry without Bones. So if your character is bones oriented then use .CGF with bones exported and if not Bones oriented ("animated geometry) use .CGA for object and .ANM for the animation file of that object. I could be wrong with some of this information but it has always worked for me. I hope this helps.
User avatar   Media Support Media SupportMember since: 31.08.2011, 11:17Posts: 423 Likes: 1
 

 Post Topic: Re: How can i creat my AI?
PostPosted 31.12.2011, 09:38 
Its me again, just so you know if you want to use ai goto and ai commands of the like your character does need to be added as "entity" -> "AI" from the rollup bar. if you don't want to go through all the trouble of creating a brand new AI setup for your character you can do what princeteam suggested and just add your model as the grunt ai model in the grunts properties in the model section. Again hope this helps. :)