Forums » General

LUA

Apr 15, 2003 slappyknappy link
What does LUA buy us in terms of the AI? I'm not a developer, but I checked out the link anyway... looks nifty, but what does it mean in terms of vendetta bots?

Just curious
Apr 15, 2003 romikq link
Means its now easy to program bots to do more complex things instead of just flying around and shooting. Like maybe make NPC bots who will be able to escort/protect for a fee or Police bots who will hunt killers, etc etc.

At least thats how I understand it
Apr 15, 2003 Celebrim link
I'm no expert, so take this with a healthy dose of skepticism. As I understand it, basically LUA allows the creation of scripting languages that are customized for your particular application.

So its a tool for letting the developers write behavior in a higher level meta-language rather than directly implementing AI behavior in C. I would guess that the scripts are interpreted at run time, so this means that AI would have more flexibility than if the behavior was hard coded into the game. This lets you create new behaviors and 'missions' after the game is released, and lets people write AI behavior without knowing the depths of the game code.

Apr 15, 2003 incarnate link
Yup, pretty much. Plus people can pre-script complex behaviour and then have it available to reuse in other AI as an easily accessed function. It generally gives us a lot more power and flexibility. The behaviour that'll exist in 3.2.0 won't necessarily be all that huge of an improvement, but again.. the groundwork is laid for us to do a lot more complex AI as we go along.
Apr 15, 2003 ctishman link
Can we have trader bots for bored pirates to plunder? Then maybe they'll leave the newbies alone.
Apr 15, 2003 Fox link
Yumm, Fox's Army of Trader bots, a constant stream of Heavies that log on in the middle of the night getting me riches. Bwahahaha! I will rule the universe!
Apr 15, 2003 ctishman link
...or make ol' Blackbeard very rich...
Apr 16, 2003 Pyro link
Why small?
Apr 16, 2003 Phoenix_I link
Yarr harr harr, This pirate likes Cargo. Makes me Rich. Yarr harr harr and a bottle o' rum.
Apr 16, 2003 Suicidal Lemming link
All pirates need a small nuke warhead in there chest!
Apr 17, 2003 ctishman link
Because it's all that's needed?
Apr 17, 2003 Icarus link
Can we destroy planets?!?!! Wow... i like that... ;)
Apr 17, 2003 Pyro link
Bah. Overkill=purty boom... :P
Apr 17, 2003 ctishman link
b0ooom.
Apr 17, 2003 a1k0n link
While we won't have nuclear warheads in 3.2, you won't be disappointed by what's in store for you in the "large explosions" department.
Apr 17, 2003 ctishman link
No. They added the World's Most Interesting Bomb, from MDK. All the bots gather around, then...

BOOM!