spring: develop 2c3467f9 | [ Diff ] [ Back to Repository ] | |||
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
hoijui | hoijui | develop | 2008-10-01 20:03:35 | develop 96662936 |
Changeset | finally it is working in linux (compiled with gcc and cmake) and on windows (compiled with mingw and scons). what works: + AI Interface libraries + Skirmish AI libraries + AIInfo.lua and AIInterfaceInfo.lua can be read from unitsync(untested) and are read by the engine, to know what engines are around (eg to check if script.txt specifies good values, and for the startscripts) + AIOptions.lua can be read through unitsync(untested) what does not work: - group AIs (most of the interface code is still missing, the game crashes if you try to select one in game) - actually passing option values to the AIs (though that will be very simple to add) How to specify an AI in script.txt ---------------------------------- LUA AI: both are possible, the first one only for legacy support: * [code]aispecifyer=LuaAI:<luaAIName>[/code] * [code]luaai=<luaAIName>[/code] Skirmish AI: [code] aishortname=RAI aiversion=0.600 [/code] the second line (specifying the version) is optional. git-svn-id: https://spring.clan-sy.com/svn/spring/branches/caiinterface@6494 37977431-3df6-0310-b722-df95706aa16b |
|||
mod - AI/CMakeLists.txt | [ Diff ] [ File ] | |||
rm - AI/Global/KAIK-0.13/AIExports.cpp | [ Diff ] [ File ] | |||
rm - AI/Global/NullAI/AI.cpp | [ Diff ] [ File ] | |||
rm - AI/Global/NullAI/AIExport.h | [ Diff ] [ File ] | |||
rm - AI/Global/NullAI/AISCommands.cpp | [ Diff ] [ File ] | |||
rm - AI/Global/NullAI/Event/AIEvents.h | [ Diff ] [ File ] | |||
rm - AI/Global/NullAI/Event/AIInitEvent.h | [ Diff ] [ File ] | |||
rm - AI/Global/NullAI/Event/AINullEvent.h | [ Diff ] [ File ] | |||
rm - AI/Global/NullAI/Event/AIPlayerCommandEvent.h | [ Diff ] [ File ] | |||
rm - AI/Global/NullAI/Event/AISeismicPingEvent.h | [ Diff ] [ File ] | |||
rm - AI/Global/NullAI/Event/AIUnitCapturedEvent.h | [ Diff ] [ File ] | |||
rm - AI/Global/NullAI/Event/AIUnitGivenEvent.h | [ Diff ] [ File ] | |||
rm - AI/Global/NullAI/Event/AIUnitMoveFailedEvent.h | [ Diff ] [ File ] | |||
rm - AI/Global/NullAI/Event/AIWeaponFiredEvent.h | [ Diff ] [ File ] | |||
rm - AI/Global/RAI-0.553/AIExport.h | [ Diff ] [ File ] | |||
rm - AI/Global/RAI-0.553/AIGlobalAICallback.cpp | [ Diff ] [ File ] | |||
rm - AI/Global/RAI-0.553/AIGlobalAICallback.h | [ Diff ] [ File ] | |||
rm - AI/Global/RAI-0.553/AISCommands.cpp | [ Diff ] [ File ] | |||
rm - AI/Global/RAI-0.553/Event/AIEnemyDamagedEvent.h | [ Diff ] [ File ] | |||
rm - AI/Global/RAI-0.553/Event/AIEnemyDestroyedEvent.h | [ Diff ] [ File ] | |||
rm - AI/Global/RAI-0.553/Event/AIEnemyEnterLOSEvent.h | [ Diff ] [ File ] | |||
rm - AI/Global/RAI-0.553/Event/AIEnemyEnterRadarEvent.h | [ Diff ] [ File ] | |||
rm - AI/Global/RAI-0.553/Event/AIEnemyLeaveLOSEvent.h | [ Diff ] [ File ] | |||
rm - AI/Global/RAI-0.553/Event/AIEnemyLeaveRadarEvent.h | [ Diff ] [ File ] | |||
rm - AI/Global/RAI-0.553/Event/AIEvent.h | [ Diff ] [ File ] | |||
rm - AI/Global/RAI-0.553/Event/AIMessageEvent.h | [ Diff ] [ File ] | |||
rm - AI/Global/RAI-0.553/Event/AIPlayerCommandEvent.h | [ Diff ] [ File ] | |||
rm - AI/Global/RAI-0.553/Event/AISeismicPingEvent.h | [ Diff ] [ File ] | |||
rm - AI/Global/RAI-0.553/Event/AIUnitCapturedEvent.h | [ Diff ] [ File ] | |||
rm - AI/Global/RAI-0.553/Event/AIUnitCreatedEvent.h | [ Diff ] [ File ] | |||
rm - AI/Global/RAI-0.553/Event/AIUnitDamagedEvent.h | [ Diff ] [ File ] | |||
rm - AI/Global/RAI-0.553/Event/AIUnitDestroyedEvent.h | [ Diff ] [ File ] | |||
rm - AI/Global/RAI-0.553/Event/AIUnitFinishedEvent.h | [ Diff ] [ File ] | |||
rm - AI/Global/RAI-0.553/Event/AIUnitGivenEvent.h | [ Diff ] [ File ] | |||
rm - AI/Global/RAI-0.553/Event/AIUnitIdleEvent.h | [ Diff ] [ File ] | |||
rm - AI/Global/RAI-0.553/Event/AIUpdateEvent.h | [ Diff ] [ File ] | |||
rm - AI/Global/RAI-0.553/Event/AIWeaponFiredEvent.h | [ Diff ] [ File ] | |||
add - AI/Group/CMakeLists.txt | [ Diff ] [ File ] | |||
add - AI/Interfaces/C/Interface.cpp | [ Diff ] [ File ] | |||
add - AI/Interfaces/C/Interface.h | [ Diff ] [ File ] | |||
add - AI/Interfaces/C/InterfaceExport.cpp | [ Diff ] [ File ] | |||
add - AI/Interfaces/C/InterfaceExport.h | [ Diff ] [ File ] | |||
add - AI/Interfaces/C/InterfaceInfo.lua | [ Diff ] [ File ] | |||
add - AI/Interfaces/C/README | [ Diff ] [ File ] | |||
add - AI/Interfaces/CMakeLists.txt | [ Diff ] [ File ] | |||
add - AI/Skirmish/CMakeLists.txt | [ Diff ] [ File ] |