-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest_all.lua
More file actions
26 lines (21 loc) · 808 Bytes
/
test_all.lua
File metadata and controls
26 lines (21 loc) · 808 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
-- test_all.lua - Loads all GroundAI components for testing
-- Usage: dofile("c:/Users/Kyle.POND/Documents/Workspaces/LUA/GroundAI/test_all.lua")
-- Load FSM core
local root = 'c:/Users/Kyle.POND/Documents/Workspaces/LUA/GroundAI/'
dofile(root .. 'FSM.lua')
dofile(root .. 'ai_utils.lua')
dofile(root .. 'groundAI_events.lua')
-- Load tactics
local tactics = root .. 'tactics/'
dofile(tactics .. 'tactics_main.lua')
dofile(tactics .. 'hold_and_engage.lua')
dofile(tactics .. 'form_line_and_engage.lua')
--dofile(tactics .. 'press_through.lua')
-- Load FSMs
local fsm = root .. 'fsm/'
dofile(fsm .. 'group_fsm.lua')
dofile(fsm .. 'unit_fsm.lua')
-- Load main GroundAI logic
dofile(root .. 'ground_ai.lua')
-- Optionally, start the system or run a test here
-- GroundAI.start() -- Uncomment to auto-start