Enhance sandworm targeting logic by having actors produce noise

This commit is contained in:
penev92
2015-01-11 16:41:00 +01:00
parent e42cf58cb1
commit e6f1c6b460
17 changed files with 328 additions and 51 deletions

View File

@@ -24,7 +24,7 @@ SANDWORM:
Name: Sandworm
Description: Attracted by vibrations in the sand.\nWill eat units whole and has a large appetite.
Health:
HP: 10000
HP: 1200
Radius: 3
Armor:
Type: None
@@ -35,9 +35,7 @@ SANDWORM:
Dune: 100
Spice: 100
TargetableUnit:
TargetTypes: Underground
RevealsShroud:
Range: 32c0
TargetTypes: Ground
RenderUnit:
WithAttackOverlay:
Sequence: sand
@@ -47,9 +45,9 @@ SANDWORM:
UseLocation: yes
AttackSwallow:
AttackRequiresEnteringCell: true
AttackMove:
AttackWander:
AutoTarget:
ScanRadius: 32
IgnoresVisibility: true
Armament:
Weapon: WormJaw
Weapon: WormJaw
Sandworm:
WanderMoveRadius: 5
IgnoresCloak:

View File

@@ -200,6 +200,8 @@ SONICTANK:
EmptyWeapon: UnitExplodeSmall
LeavesHusk:
HuskActor: Sonictank.Husk
AttractsWorms:
Intensity: 600
SONICTANK.Husk:
Inherits: ^Husk
@@ -272,4 +274,6 @@ GRENADIER:
Explodes:
Weapon: UnitExplodeSmall
Chance: 100
AttractsWorms:
Intensity: 180

View File

@@ -203,6 +203,8 @@ DEVAST:
Bounds: 44,38,0,0
LeavesHusk:
HuskActor: Devast.Husk
AttractsWorms:
Intensity: 700
DEVAST.Husk:
Inherits: ^Husk
@@ -239,4 +241,6 @@ SARDAUKAR:
Armament@SECONDARY:
Weapon: Slung
AttackFrontal:
AttractsWorms:
Intensity: 180

View File

@@ -19,6 +19,8 @@ RIFLE:
Weapon: LMG
AttackFrontal:
TakeCover:
AttractsWorms:
Intensity: 120
ENGINEER:
Inherits: ^Infantry
@@ -46,6 +48,8 @@ ENGINEER:
Captures:
CaptureTypes: husk
-AutoTarget:
AttractsWorms:
Intensity: 180
BAZOOKA:
Inherits: ^Infantry
@@ -69,6 +73,8 @@ BAZOOKA:
LocalOffset: 0,0,555
AttackFrontal:
TakeCover:
AttractsWorms:
Intensity: 180
MEDIC:
Inherits: ^Infantry
@@ -99,4 +105,6 @@ MEDIC:
Passenger:
PipType: Blue
-AutoTarget:
AttractsWorms:
Intensity: 180

View File

@@ -179,6 +179,8 @@ RAIDER:
Explodes:
Weapon: UnitExplodeTiny
EmptyWeapon: UnitExplodeTiny
AttractsWorms:
Intensity: 420
STEALTHRAIDER:
Inherits: RAIDER
@@ -247,6 +249,8 @@ DEVIATORTANK:
Bounds: 30,30
LeavesHusk:
HuskActor: Deviatortank.Husk
AttractsWorms:
Intensity: 600
DEVIATORTANK.Husk:
Inherits: ^Husk
@@ -278,4 +282,6 @@ SABOTEUR:
C4Demolition:
C4Delay: 45
-AutoTarget:
AttractsWorms:
Intensity: 120

View File

@@ -31,6 +31,8 @@
TransformSounds: BUILD1.WAV
LeavesHusk:
HuskActor: MCV.Husk
AttractsWorms:
Intensity: 700
MCV.Husk:
Inherits: ^Husk
@@ -82,6 +84,8 @@ HARVESTER:
LeavesHusk:
HuskActor: Harvester.Husk
WithHarvestAnimation:
AttractsWorms:
Intensity: 700
HARVESTER.Husk:
Inherits: ^Husk
@@ -135,6 +139,8 @@ TRIKE:
Explodes:
Weapon: UnitExplodeTiny
EmptyWeapon: UnitExplodeTiny
AttractsWorms:
Intensity: 420
TRIKE.starport:
Inherits: TRIKE
@@ -176,6 +182,8 @@ QUAD:
EmptyWeapon: UnitExplodeTiny
Selectable:
Bounds: 24,24
AttractsWorms:
Intensity: 470
QUAD.starport:
Inherits: QUAD
@@ -226,6 +234,8 @@ QUAD.starport:
EmptyWeapon: UnitExplodeSmall
Selectable:
Bounds: 30,30
AttractsWorms:
Intensity: 520
^COMBAT.Husk:
Inherits: ^Husk
@@ -278,6 +288,8 @@ SIEGETANK:
Bounds: 30,30
LeavesHusk:
HuskActor: Siegetank.Husk
AttractsWorms:
Intensity: 600
SIEGETANK.Husk:
Inherits: ^Husk
@@ -333,6 +345,8 @@ MISSILETANK:
Bounds: 30,30
LeavesHusk:
HuskActor: Missiletank.Husk
AttractsWorms:
Intensity: 600
MISSILETANK.Husk:
Inherits: ^Husk

View File

@@ -201,4 +201,3 @@ World:
RadarPings:
ObjectivesPanel:
PanelName: SKIRMISH_STATS