spring: develop 99d109a9 | [ Diff ] [ Back to Repository ] | |||
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
trepan | trepan | develop | 2007-10-20 06:01:36 | develop 4f49f9c4 |
Changeset | * Another attempt to fix unitsync / luaDefs * Added the LuaAI interface to unitsync [GetLuaAICount() & GetLuaAIName(int)] - the list is loaded from LuaAI.lua in the mod archive - the LuaAI name should be set as the AIDLL value in the script, prefixed with "LuaAI:" (to distinguish it from a DLL ai) - I'll be committing the Spring.GetTeamLuaAI(teamID) soon, then LuaRules can read which teams are set for which LuaAI control mode, and act accordingly - LuaRules can decide how much cheating is allowed by limiting the function calls available to AIs, and using permission modifying call like CallAsTeam() git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@4601 37977431-3df6-0310-b722-df95706aa16b |
|||
mod - tools/unitsync/Syncer.cpp | [ Diff ] [ File ] | |||
mod - tools/unitsync/Syncer.h | [ Diff ] [ File ] | |||
mod - tools/unitsync/test/test.cpp | [ Diff ] [ File ] | |||
mod - tools/unitsync/unitsync.cpp | [ Diff ] [ File ] |