project-navigation
Personal tools

Author Topic: AI question  (Read 3574 times)

Offline alzyrian

  • Cannon Fodder
  • **
  • Posts: 7
    • View Profile
AI question
« on: April 17, 2012, 07:10:37 pm »
Will modifying the LUA AI files for civilian and aliens make any different in the game (2.4 dev or 2.5 dev), or are these not yet supported?

Thanks

Offline H-Hour

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1923
    • View Profile
Re: AI question
« Reply #1 on: April 17, 2012, 09:31:53 pm »
Not yet supported.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: AI question
« Reply #2 on: April 17, 2012, 11:42:53 pm »
not activated. set the cvar g_ailua to 1 to use the lua ai

Offline alzyrian

  • Cannon Fodder
  • **
  • Posts: 7
    • View Profile
Re: AI question
« Reply #3 on: April 18, 2012, 03:15:37 pm »
Thanks for the replies.  I have not bothered to do my own compile of the game yet, just using the 2.4 dev nightly download and experimenting with the ufo files and just started looking at the three lua ai files.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: AI question
« Reply #4 on: April 18, 2012, 04:06:45 pm »
you don't have to recompile anything for using the lua ai.

just open the game console (shift+esc) and type "set g_ailua 1"

if you start a map the next time, the lua ai will be used.