Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit 2812bf2

Browse files
authored
Merge pull request #10 from cortex-command-community/Base-Refactor
Base Refactor
2 parents 1d514ad + 943551b commit 2812bf2

File tree

1,524 files changed

+37014
-16137
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,524 files changed

+37014
-16137
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,12 @@ luac.out
3939
*.x86_64
4040
*.hex
4141

42+
.vs/
4243
Base.rte/Settings.ini
4344
Base.rte/Tools/
4445
Benchmark.rte/
45-
Missions.rte/
4646
Scenes.rte/
4747
Metagames.rte/
48-
Tutorial.rte/
4948
Microsoft.VC90.CRT.manifest
5049
DedicatedServer.bat
5150
Credits.txt
@@ -55,3 +54,4 @@ Cortex Command.exe.manifest
5554
LogPublish.txt
5655
LogLoading.txt
5756
LogConsole.txt
57+
abortscreen.bmp

Base.rte/AI.ini

Lines changed: 154 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,154 @@
1+
///////////////////////////////////////////////////////////////////////
2+
// AI
3+
4+
5+
AddActor = AHuman
6+
PresetName = Find Path
7+
Buyable = 0
8+
Mass = 0
9+
HitsMOs = 0
10+
GetsHitByMOs = 0
11+
GlobalAccScalar = 0
12+
ScriptPath = Base.rte/AI/PathFinder.lua
13+
SpriteFile = ContentFile
14+
FilePath = Base.rte/Null.bmp
15+
FrameCount = 1
16+
AtomGroup = AtomGroup
17+
CopyOf = Atom Group Null
18+
Health = 100
19+
AimDistance = 0
20+
Perceptiveness = 0
21+
CharHeight = 0
22+
HUDVisible = 0
23+
Head = Attachable
24+
PresetName = Null Head
25+
Mass = 0
26+
HitsMOs = 0
27+
GetsHitByMOs = 0
28+
SpriteFile = ContentFile
29+
FilePath = Base.rte/Null.bmp
30+
FrameCount = 1
31+
AtomGroup = AtomGroup
32+
CopyOf = Atom Group Null
33+
FGArm = Arm
34+
PresetName = Null Arm FG
35+
Mass = 0
36+
HitsMOs = 0
37+
GetsHitByMOs = 0
38+
SpriteFile = ContentFile
39+
FilePath = Base.rte/Null.bmp
40+
FrameCount = 1
41+
AtomGroup = AtomGroup
42+
CopyOf = Atom Group Null
43+
Hand = ContentFile
44+
FilePath = Base.rte/Null.bmp
45+
MaxLength = 0
46+
BGArm = Arm
47+
PresetName = Null Arm BG
48+
Mass = 0
49+
HitsMOs = 0
50+
GetsHitByMOs = 0
51+
SpriteFile = ContentFile
52+
FilePath = Base.rte/Null.bmp
53+
FrameCount = 1
54+
AtomGroup = AtomGroup
55+
CopyOf = Atom Group Null
56+
Hand = ContentFile
57+
FilePath = Base.rte/Null.bmp
58+
MaxLength = 0
59+
FGLeg = Leg
60+
PresetName = Null Leg FG
61+
Mass = 0
62+
HitsMOs = 0
63+
GetsHitByMOs = 0
64+
SpriteFile = ContentFile
65+
FilePath = Base.rte/Null.bmp
66+
FrameCount = 1
67+
AtomGroup = AtomGroup
68+
CopyOf = Atom Group Null
69+
BGLeg = Leg
70+
PresetName = Null Leg BG
71+
Mass = 0
72+
HitsMOs = 0
73+
GetsHitByMOs = 0
74+
SpriteFile = ContentFile
75+
FilePath = Base.rte/Null.bmp
76+
FrameCount = 1
77+
AtomGroup = AtomGroup
78+
CopyOf = Atom Group Null
79+
HandGroup = AtomGroup
80+
PresetName = NullGroup
81+
AutoGenerate = 1
82+
FGFootGroup = AtomGroup
83+
CopyOf = NullGroup
84+
BGFootGroup = AtomGroup
85+
CopyOf = NullGroup
86+
87+
88+
AddDevice = TDExplosive
89+
PresetName = Alert Device 1
90+
Mass = 0
91+
RestThreshold = -500
92+
AirResistance = 1
93+
GlobalAccScalar = 0
94+
HitsMOs = 0
95+
GetsHitByMOs = 0
96+
SpriteFile = ContentFile
97+
FilePath = Base.rte/Null.bmp
98+
FrameCount = 1
99+
Buyable = 0
100+
AtomGroup = AtomGroup
101+
AutoGenerate = 1
102+
Material = Material
103+
CopyOf = Air
104+
Resolution = 5
105+
Depth = 0
106+
DeepCheck = 0
107+
TriggerDelay = 300
108+
ActivatesWhenReleased = 1
109+
110+
111+
AddDevice = TDExplosive
112+
PresetName = Alert Device 2
113+
Mass = 0
114+
RestThreshold = -500
115+
AirResistance = 1
116+
GlobalAccScalar = 0
117+
HitsMOs = 0
118+
GetsHitByMOs = 0
119+
SpriteFile = ContentFile
120+
FilePath = Base.rte/Null.bmp
121+
FrameCount = 1
122+
Buyable = 0
123+
AtomGroup = AtomGroup
124+
AutoGenerate = 1
125+
Material = Material
126+
CopyOf = Air
127+
Resolution = 5
128+
Depth = 0
129+
DeepCheck = 0
130+
TriggerDelay = 450
131+
ActivatesWhenReleased = 1
132+
133+
134+
AddDevice = TDExplosive
135+
PresetName = Alert Device 3
136+
Mass = 0
137+
RestThreshold = -500
138+
AirResistance = 1
139+
GlobalAccScalar = 0
140+
HitsMOs = 0
141+
GetsHitByMOs = 0
142+
SpriteFile = ContentFile
143+
FilePath = Base.rte/Null.bmp
144+
FrameCount = 1
145+
Buyable = 0
146+
AtomGroup = AtomGroup
147+
AutoGenerate = 1
148+
Material = Material
149+
CopyOf = Air
150+
Resolution = 5
151+
Depth = 0
152+
DeepCheck = 0
153+
TriggerDelay = 600
154+
ActivatesWhenReleased = 1
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
dofile("Base.rte/Constants.lua")
3-
require("Actors/AI/NativeCrabAI") --dofile("Base.rte/Actors/AI/NativeCrabAI.lua")
3+
require("AI/NativeCrabAI") --dofile("Base.rte/Actors/AI/NativeCrabAI.lua")
44

55
function Create(self)
66
self.AI = NativeCrabAI:Create(self)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
dofile("Base.rte/Constants.lua")
3-
require("Actors/AI/NativeDropShipAI")
3+
require("AI/NativeDropShipAI")
44
--dofile("Base.rte/Actors/AI/NativeDropShipAI.lua")
55

66
function Create(self)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
dofile("Base.rte/Constants.lua")
3-
require("Actors/AI/NativeHumanAI") --dofile("Base.rte/Actors/AI/NativeHumanAI.lua")
3+
require("AI/NativeHumanAI") --dofile("Base.rte/Actors/AI/NativeHumanAI.lua")
44

55
function Create(self)
66
self.AI = NativeHumanAI:Create(self)
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

2-
require("Actors/AI/HumanBehaviors")
3-
require("Actors/AI/CrabBehaviors")
2+
require("AI/HumanBehaviors")
3+
require("AI/CrabBehaviors")
44

55
NativeCrabAI = {}
66

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
require("Actors/AI/PID")
1+
require("AI/PID")
22

33
NativeDropShipAI = {}
44

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
require("Actors/AI/HumanBehaviors")
2+
require("AI/HumanBehaviors")
33

44
NativeHumanAI = {}
55

0 commit comments

Comments
 (0)