Programming & Scripting

View unanswered posts | View active topics


Post a new topicPost a reply
Previous topic | Next topic 

User avatar   Experienced Modder Experienced ModderMember since: 18.07.2011, 13:00Posts: 567Location: France Likes: 4
 

 Post Topic: Default model
PostPosted 05.06.2012, 17:27 
Hey guys,

Where is loaded the default model ?? (Grunt)

Thanks



User avatar   Has no life Has no lifeMember since: 11.07.2008, 20:25Posts: 11740Location: Nottingham, UK Likes: 89
 

 Post Topic: Re: Default model
PostPosted 05.06.2012, 17:50 
A quick search seems to suggest Game\Scripts\Entities\AI\Shared\BasicAITable.lua, line 54:
Code:
fileModel = "Objects/Characters/neutral_male/sdk_character_male_v2.cdf"

As per the header, this can presumably be overridden for different actors.


Out now! CryENGINE Game Programming with C++, C#, and Lua
Ex-Crytek, now with Deep Silver Dambuster Studios
User avatar   Experienced Modder Experienced ModderMember since: 18.07.2011, 13:00Posts: 567Location: France Likes: 4
 

 Post Topic: Re: Default model
PostPosted 05.06.2012, 17:56 
Okey, i can load my own model by C++ code directly... without Lua script????

EDIT:

When i say Grunt : Not the AI entitie...but my own actor..

(Scripts.pak\Scripts\Entities\actor\..)

But i don't found in c++ code where this script is loaded..