From 44f5941f3d7285fd376be13e88b4c2b468ab698d Mon Sep 17 00:00:00 2001 From: feynman Date: Sun, 14 Apr 2013 15:43:16 +0000 Subject: [PATCH] Added ini files for new modularized tactical AI git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1648 4f8fa57e-7814-0410-bad4-adc449f26b7c --- gamedir/Data-1.13/AI.ini | 48 ++++++++++++++++++++++++++++++++++++++++ gamedir/Data-UB/AI.ini | 48 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 96 insertions(+) create mode 100644 gamedir/Data-1.13/AI.ini create mode 100644 gamedir/Data-UB/AI.ini diff --git a/gamedir/Data-1.13/AI.ini b/gamedir/Data-1.13/AI.ini new file mode 100644 index 000000000..db7fd5d82 --- /dev/null +++ b/gamedir/Data-1.13/AI.ini @@ -0,0 +1,48 @@ +[Modularized Tactical AI] +; DO NOT, repeat NOT add 'comments', spaces, or other stuff after the factory +; names. The ini reader doesn't separate it from the data string. +; Factory_n is used for any npc with bAIIndex set to n. Currently, the index is +; copied from bTeam; I hope that somebody can integrate it into the map editor +; soon. Then you can add any number of indices (up to 65535, that is), but they +; must be consecutive. + +; Currently implemented factories: +; NullPlanFactory - makes an NPC do absolutely nothing +; LegacyAIPlanFactory - makes an NPC behave "as before" + +; Increase NumFactories accordingly +NumFactories = 11 + +; not used +Factory_0 = NullPlanFactory + +; 'OUR_TEAM', so not really used either (?) +Factory_1 = NullPlanFactory + +; 'ENEMY_TEAM' +Factory_2 = LegacyAIPlanFactory + +; CREATURE_TEAM +Factory_3 = LegacyAIPlanFactory + +; MILITIA_TEAM +Factory_4 = LegacyAIPlanFactory + +; CIV_TEAM +Factory_5 = LegacyAIPlanFactory + +; PLAYER_PLAN (?) +Factory_6 = LegacyAIPlanFactory + +; LAN_TEAM_ONE +Factory_7 = LegacyAIPlanFactory + +; LAN_TEAM_TWO +Factory_8 = LegacyAIPlanFactory + +; LAN_TEAM_THREE +Factory_9 = LegacyAIPlanFactory + +; LAN_TEAM_FOUR +Factory_10 = LegacyAIPlanFactory + diff --git a/gamedir/Data-UB/AI.ini b/gamedir/Data-UB/AI.ini new file mode 100644 index 000000000..db7fd5d82 --- /dev/null +++ b/gamedir/Data-UB/AI.ini @@ -0,0 +1,48 @@ +[Modularized Tactical AI] +; DO NOT, repeat NOT add 'comments', spaces, or other stuff after the factory +; names. The ini reader doesn't separate it from the data string. +; Factory_n is used for any npc with bAIIndex set to n. Currently, the index is +; copied from bTeam; I hope that somebody can integrate it into the map editor +; soon. Then you can add any number of indices (up to 65535, that is), but they +; must be consecutive. + +; Currently implemented factories: +; NullPlanFactory - makes an NPC do absolutely nothing +; LegacyAIPlanFactory - makes an NPC behave "as before" + +; Increase NumFactories accordingly +NumFactories = 11 + +; not used +Factory_0 = NullPlanFactory + +; 'OUR_TEAM', so not really used either (?) +Factory_1 = NullPlanFactory + +; 'ENEMY_TEAM' +Factory_2 = LegacyAIPlanFactory + +; CREATURE_TEAM +Factory_3 = LegacyAIPlanFactory + +; MILITIA_TEAM +Factory_4 = LegacyAIPlanFactory + +; CIV_TEAM +Factory_5 = LegacyAIPlanFactory + +; PLAYER_PLAN (?) +Factory_6 = LegacyAIPlanFactory + +; LAN_TEAM_ONE +Factory_7 = LegacyAIPlanFactory + +; LAN_TEAM_TWO +Factory_8 = LegacyAIPlanFactory + +; LAN_TEAM_THREE +Factory_9 = LegacyAIPlanFactory + +; LAN_TEAM_FOUR +Factory_10 = LegacyAIPlanFactory +