|
|
|
|
# 1 |
|
Guest
|
Lua Translation needed - Or AI won't build any additional Ships :(
If some one could translate the build, resource, research, submodule, classdef, military lua's from the ai directory would be helpful with out them anything new you add won't be built by the cpu at all.... which as you can imagin is highly annoying.
hrmm.. Nixs that by looking at the ClassDef file i think that is the one that is needed to be done for new classes to be built and i'm thinking submodule is the one for the submodules. Last edited by starfleet : 18th Oct 03 at 6:56 AM. |
|
|
# 2 |
|
Guest
|
Ok this is a list of the files that it appears you need to edit to get the AI to recongnise that there are new units etc and to build them notes and if it's translated is next to it
Classdef.lua - This file sets each craft into a set class, it has been translated by Thought and allows the AI To reckonise that the units exist are threats etc etc. But not to build them. Debug Info notes are in red Code:
Ok next file i can see in need of translation is cpu_build.lua - it seems to go through and tell it what to build depending on what mood the AI is in. cpubuildsubsystems.lua - tells the ai what subsystems it can build along with what to build depending on it's mood. cpumilitary.lua - Doesn't appear to effect the building of units but it does seem to have a nice bunch of info on things such as what it is to do at certain times.. example Code:
cpuresearch.lua - Contains MORE research info for the AI. With out this file any research types you add won't be reckonised with out them being in here. cpuresource.lua - Just contains the AI's resource collecting info. default.lua - This is the CORE file, it calls to every other file in the AI directory in the first few lines. so from what i see 3 files need to be translated.. before any ai's gonna reconise anything.. - cpu_build.lua - cpubuildsubsystems.lua - cpuresearch.lua and given how much I messed up that last one i was trying to translate i'm not game to even look at doing these I can look at the code and point out what does what but i can't translate it by hand |
|
|
# 3 |
|
Guest
|
hrmm on a funnier note found this in the scripts as well
Code:
Also a FYI AI will build units if it can build them with out having to research for them so long as you mod the classdef.lua file. |
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|