Merge pull request #6342 from Phrohdoh/TibSunAI

TS TestAI and more.
This commit is contained in:
Matthias Mailänder
2014-09-14 15:23:15 +02:00
5 changed files with 124 additions and 21 deletions

View File

@@ -1,2 +1,43 @@
Player: Player:
HackyAI@TestAI:
Name: Test AI
BuildingCommonNames:
ConstructionYard: gacnst
Refinery: proc
Power: gapowr, napowr, naapwr
Barracks: gapile, nahand
VehiclesFactory: gaweap, naweap
Production: gapile, nahand, gaweap, naweap
Silo: gasilo
UnitsCommonNames:
Mcv: mcv
BuildingLimits:
proc: 4
gapowr: 8
napowr: 8
gapile: 1
nahand: 1
garadr: 1
gaweap: 1
naweap: 1
BuildingFractions:
proc: 30%
gapowr: 35%
napowr: 35%
gapile: 1%
nahand: 1%
gaweap: 1%
naweap: 1%
UnitsToBuild:
e1: 80%
e2: 8%
e3: 30%
medic: 2%
jumpjet: 15%
apc: 3%
smech: 25%
bike: 60%
bggy: 75%
ttnk: 45%
stnk: 8%
SquadSize: 20

View File

@@ -19,11 +19,11 @@ DPOD:
Armor: Armor:
Type: Light Type: Light
RevealsShroud: RevealsShroud:
Range: 0c0 Range: 5c0
Cargo: Cargo:
Types: Infantry Types: Infantry
MaxWeight: 5 MaxWeight: 1
PipCount: 5 PipCount: 1
Armament: Armament:
Weapon: Vulcan2 Weapon: Vulcan2
AttackHeli: AttackHeli:

View File

@@ -11,6 +11,8 @@
Footprint: x Footprint: x
BuildSounds: place2.aud BuildSounds: place2.aud
TerrainTypes: Clear, Road TerrainTypes: Clear, Road
Adjacent: 4
FrozenUnderFog:
GivesBuildableArea: GivesBuildableArea:
Capturable: Capturable:
SoundOnDamageTransition: SoundOnDamageTransition:
@@ -62,9 +64,6 @@
NodeTypes: wall NodeTypes: wall
LineBuildNode: LineBuildNode:
Types: wall Types: wall
SelectionDecorations:
Selectable:
Priority: 1
TargetableBuilding: TargetableBuilding:
TargetTypes: Ground, C4 TargetTypes: Ground, C4
RenderBuildingWall: RenderBuildingWall:
@@ -323,6 +322,8 @@
Huntable: Huntable:
LuaScriptEvents: LuaScriptEvents:
ScriptTriggers: ScriptTriggers:
Guard:
Guardable:
^BlossomTree: ^BlossomTree:
Tooltip: Tooltip:

View File

@@ -69,6 +69,8 @@ GAPOWR:
Sequence: idle-lights Sequence: idle-lights
WithIdleOverlay@PLUG: WithIdleOverlay@PLUG:
Sequence: idle-plug Sequence: idle-plug
Selectable:
Bounds: 64, 64
Power: Power:
Amount: 100 Amount: 100
InfiltrateForPowerOutage: InfiltrateForPowerOutage:
@@ -133,14 +135,14 @@ PROC:
Prerequisites: anypower Prerequisites: anypower
Owner: gdi,nod Owner: gdi,nod
Building: Building:
Footprint: xxx xxx x== Footprint: xxx= xxx= xxx=
Dimensions: 3,3 Dimensions: 4,3
Health: Health:
HP: 900 HP: 900
RevealsShroud: RevealsShroud:
Range: 6 Range: 6
TiberianSunRefinery: TiberianSunRefinery:
DockOffset: 4,3 DockOffset: 3,1
StoresResources: StoresResources:
PipColor: Green PipColor: Green
PipCount: 15 PipCount: 15
@@ -159,6 +161,36 @@ PROC:
Power: Power:
Amount: -30 Amount: -30
GASILO:
Inherits: ^Building
Buildable:
Queue: Building
BuildPaletteOrder: 70
Prerequisites: proc
Owner: gdi, nod
Valued:
Cost: 150
Tooltip:
Name: Silo
Description: Stores excess Tiberium.
Building:
Footprint: xx xx
Dimensions: 2, 2
-GivesBuildableArea:
Health:
HP: 300
Armor:
Type: Wood
RevealsShroud:
Range: 4c0
RenderBuildingSilo:
StoresResources:
PipCount: 5
Capacity: 1500
-RenderBuilding:
Power:
Amount: -10
GAWEAP: GAWEAP:
Inherits: ^Building Inherits: ^Building
Valued: Valued:
@@ -172,6 +204,7 @@ GAWEAP:
Queue: Building Queue: Building
BuildPaletteOrder: 50 BuildPaletteOrder: 50
Owner: gdi Owner: gdi
Prerequisites: proc
Building: Building:
Footprint: xxx= xxx= xxx= Footprint: xxx= xxx= xxx=
Dimensions: 4,3 Dimensions: 4,3
@@ -321,6 +354,7 @@ NAWEAP:
Queue: Building Queue: Building
BuildPaletteOrder: 50 BuildPaletteOrder: 50
Owner: nod Owner: nod
Prerequisites: proc
Building: Building:
Footprint: xxx= xxx= xxx= Footprint: xxx= xxx= xxx=
Dimensions: 4,3 Dimensions: 4,3
@@ -764,6 +798,7 @@ GAHPAD:
BuildPaletteOrder: 60 BuildPaletteOrder: 60
Owner: gdi Owner: gdi
Queue: Building Queue: Building
Prerequisites: garadr
Building: Building:
Footprint: xx xx Footprint: xx xx
Dimensions: 2,2 Dimensions: 2,2
@@ -773,6 +808,7 @@ GAHPAD:
Range: 5c0 Range: 5c0
Exit@1: Exit@1:
SpawnOffset: 0,-256,0 SpawnOffset: 0,-256,0
RallyPoint:
Production: Production:
Produces: Air Produces: Air
PrimaryBuilding: PrimaryBuilding:
@@ -807,6 +843,7 @@ NAHPAD:
Range: 5c0 Range: 5c0
Exit@1: Exit@1:
SpawnOffset: 0,-256,0 SpawnOffset: 0,-256,0
RallyPoint:
Production: Production:
Produces: Air Produces: Air
PrimaryBuilding: PrimaryBuilding:
@@ -834,7 +871,7 @@ GADEPT:
Owner: gdi Owner: gdi
Queue: Building Queue: Building
Building: Building:
Footprint: _x_ xxx _x_ Footprint: =x= xxx =x=
Dimensions: 3,3 Dimensions: 3,3
Health: Health:
HP: 1100 HP: 1100

View File

@@ -56,40 +56,50 @@ gapowr:
idle: gtpowr idle: gtpowr
Start: 0 Start: 0
ShadowStart: 3 ShadowStart: 3
Offset: 0, -10
damaged-idle: gtpowr damaged-idle: gtpowr
Start: 1 Start: 1
ShadowStart: 4 ShadowStart: 4
Offset: 0, -10
critical-idle: gtpowr critical-idle: gtpowr
Start: 2 Start: 2
ShadowStart: 5 ShadowStart: 5
Offset: 0, -10
idle-lights: gtpowr_a idle-lights: gtpowr_a
Start: 0 Start: 0
Length: 12 Length: 12
Tick: 200 Tick: 200
Offset: 0, -10
damaged-idle-lights: gtpowr_a damaged-idle-lights: gtpowr_a
Start: 12 Start: 12
Length: 12 Length: 12
Tick: 200 Tick: 200
Offset: 0, -10
critical-idle-lights: gtpowr_a critical-idle-lights: gtpowr_a
Start: 24 Start: 24
Length: 12 Length: 12
Tick: 200 Tick: 200
Offset: 0, -10
idle-plug: gtpowr_b idle-plug: gtpowr_b
Start: 0 Start: 0
Length: 12 Length: 12
Tick: 200 Tick: 200
Offset: 0, -10
damaged-idle-plug: gtpowr_b damaged-idle-plug: gtpowr_b
Start: 0 Start: 0
Length: 12 Length: 12
Tick: 200 Tick: 200
Offset: 0, -10
critical-idle-plug: gtpowr_b critical-idle-plug: gtpowr_b
Start: 0 Start: 0
Length: 12 Length: 12
Tick: 200 Tick: 200
Offset: 0, -10
make: gtpowrmk make: gtpowrmk
Start: 0 Start: 0
Length: 20 Length: 20
ShadowStart: 20 ShadowStart: 20
Offset: 0, -10
icon: powricon icon: powricon
Start: 0 Start: 0
@@ -926,50 +936,64 @@ proc: # TODO: unused narefn_a, narefn_b
idle: ntrefn idle: ntrefn
Start: 0 Start: 0
ShadowStart: 3 ShadowStart: 3
Offset: 0, -14 Offset: 0, -24
damaged-idle: ntrefn damaged-idle: ntrefn
Start: 1 Start: 1
ShadowStart: 4 ShadowStart: 4
Offset: 0, -14 Offset: 0, -24
critical-idle: ntrefn critical-idle: ntrefn
Start: 2 Start: 2
ShadowStart: 5 ShadowStart: 5
Offset: 0, -14 Offset: 0, -24
make: ntrefnmk make: ntrefnmk
Start: 0 Start: 0
Length: 20 Length: 20
ShadowStart: 20 ShadowStart: 20
Offset: 0, -14 Offset: 0, -24
idle-redlights: ntrefn_c idle-redlights: ntrefn_c
Start: 0 Start: 0
Length: 16 Length: 16
Tick: 120 Tick: 120
Offset: 0, -14 Offset: 0, -24
damaged-idle-redlights: ntrefn_c damaged-idle-redlights: ntrefn_c
Start: 0 Start: 0
Length: 16 Length: 16
Tick: 120 Tick: 120
Offset: 0, -14 Offset: 0, -24
critical-idle-redlights: ntrefn_c critical-idle-redlights: ntrefn_c
Start: 16 Start: 16
Length: 16 Length: 16
Tick: 200 Tick: 200
Offset: 0, -14 Offset: 0, -24
bib: ntrefnbb bib: ntrefnbb
Start: 0 Start: 0
Length: 1 Length: 1
Offset: 0, -14 Offset: 0, -24
damaged-bib: ntrefnbb damaged-bib: ntrefnbb
Start: 1 Start: 1
Length: 1 Length: 1
Offset: 0, -14 Offset: 0, -24
critical-bib: ntrefnbb critical-bib: ntrefnbb
Start: 2 Start: 2
Length: 1 Length: 1
Offset: 0, -14 Offset: 0, -24
icon: reficon icon: reficon
Start: 0 Start: 0
gasilo:
idle: gtsilo
Start: 0
ShadowStart: 4
damaged-idle: gtsilo
Start: 2
ShadowStart: 5
icon: siloicon
Start: 0
make: gtsilomk
Start: 0
Length: 18
ShadowStart: 20
galite: galite:
idle: gtlite idle: gtlite
Start: 0 Start: 0