UFO:Alien Invasion
Development => Coding => Topic started by: sunflower on May 22, 2009, 01:29:57 am
-
Hi,
This is following an (old) IRC exchange about lua and AI
I am trying to see where AI is, I found
base/ai/civilian.lua, base/ai/alien.lua
+ src/game/g_ai{_lua}.{c,h}
Is work still wanted on AI? If so i guess i'll try to tune civilian.lua
Cheers !
-
yes, lua ai is still wanted - would be nice if you would work on it.
-
Hi,
I begun to look into ufoai's AI :)
I planned on adding some civilian 'intelligence' to get started
I'm looking for a simple way of getting the array of movements a unit would have to make to reach a particular position (another unit for instance)
I found things in g_local.h and doxygen as
extern edict_t *ai_waypointList;
void AI_ActorThink (player_t *player, edict_t *ent)
void MoveCalc
I however get quite confused with the process, thanks if you can point a relevant part of the docs or tip in on how I should proceed :)
Cheers!