Development > Newbie Coding
Are the LUA AI scripts being used?
Mattn:
yes - something like that - if you have improvements or other ideas. feel free to discuss them in the wiki
caelum:
So is there any ability for civilians to carry weapons yet? I am assuming no at the moment, but thought I would ask :).
I think I can live with the slowness as I test out the scripts, it will no doubt be easier if bugs from the sv_threads are not thrown into the mix.
Do you know why it performs so badly?
Mattn:
civilians with weapons are not yet implemented in the c ai code nor in the lua scripts
it performs so bad because it looks like it does way to much traces (see gi.trace calls - maybe caching some of them for one frame would increase the speed already to an acceptable level) - the traces are mainly used to get to the next possible walkable position and to search for potential victims or hide spots.
Duke:
--- Quote from: Mattn on November 27, 2009, 07:52:04 am ---... - the traces are mainly used to get to the next possible walkable position ...
--- End quote ---
I hope the LUAai does NOT do it's own pathfinding, but uses the routing table instead !?
Mattn:
it uses the game lib callbacks like the c ai, too - yes
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version