UFO:Alien Invasion

Development => Coding => Topic started by: Memphis on September 26, 2009, 04:18:00 pm

Title: "LUA driven AI" items in TODO
Post by: Memphis on September 26, 2009, 04:18:00 pm
Hi! I read TODO list and found some opened items in "Lua driven AI". Are still opened and requires work at them?
Sorry for my English, it's not my native language)
Title: Re: "LUA driven AI" items in TODO
Post by: criusmac on September 26, 2009, 07:45:12 pm
LUA driven AI would be really nice to have, but to me at least, such a thing would be unrealistically tough.

I doubt it's done since I don't see posts in the forum from people saying they've improved the AI any.

I am suspecting LUA driven AI means to code the AI in LUA (very C like scripting language) and make it actually work.

Right now, all the AI I've seen is in a file called g_ai.c, and judging by the function names, the main AI is handled by AI_ActorThink().

Well, anyway, I'm just stating things is a different way if anything you read was unclear... But since I don't actually know anything about this, maybe it's a bad idea for me to answer...
Title: Re: "LUA driven AI" items in TODO
Post by: geever on September 26, 2009, 08:28:54 pm
The framework is implemented, can be enabled by a cvar. Needs some more work(*) and scripting.

(*) The most serious problem with it was it's speed IIRC. But that depend on Tracing...

-geever
Title: Re: "LUA driven AI" items in TODO
Post by: Memphis on September 27, 2009, 05:58:02 am
I am a student and I think take this work like subject of my coursework. I'm sure that not easy, but in close cooperation with developers it's not unreal, I think.
What do you think about it?
Title: Re: "LUA driven AI" items in TODO
Post by: Destructavator on September 27, 2009, 06:24:19 am
If you're offering to help, that would be great, we could always use more people contributing to development in one way or another.

I'd suggest you talk to Mattn, he's the lead developer in charge around here.
Title: Re: "LUA driven AI" items in TODO
Post by: Mattn on September 27, 2009, 06:49:37 pm
as Destructavator said: help is more than welcome here. if you have specific problems, join our irc channel and let's discuss it.