Login  Register
 



Post new topicReply to topic
 
Author Message
 PostPosted: 08 Apr, 2012 
 
User avatar

Joined: 22 Apr, 2011
Posts: 41
Location: France
Offline
Hello,

when i test my units during a battle versus the AI (Sorian in my case) i can see the AI never use my units so i realy want to know how to do that becoming possible ?

Must i add something in BP file? In LUA file ? Or somewhere else ?

thank you!

_________________
Oh yeah !

My supcom website dedicated to modding: http://suprememodeur.dyndns.org


Top
 Profile  
 PostPosted: 08 Apr, 2012 
 

Joined: 26 Feb, 2009
Posts: 2997
Offline
head on over to the sorian AI thread in the AI forum, a few posts in he explains how to make the ai build custom units,

you basicly add a lua called customunits.lua in a folder in /modname/lua/customunits/customunits.lua

in this file you define tables, in these tables you add your unit ids to an existing table name (template) go check out the post sorian explains everything.

_________________
Domino.
______________


Top
 Profile  
 PostPosted: 08 Apr, 2012 
 
User avatar

Joined: 22 Apr, 2011
Posts: 41
Location: France
Offline
Thank you very much, i found it.

this looks simple to do :D

_________________
Oh yeah !

My supcom website dedicated to modding: http://suprememodeur.dyndns.org


Top
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic



Quick Tools

Search for:
Jump to:  

© 2002-2010 Gas Powered Games Corp. All Rights Reserved. Gas Powered Games is the exclusive trademark of Gas Powered Games Corp.
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
 
Home| Games | Company | News & Press | Support
  Terms of Use   |    Copyright Information   |    Privacy Policy