Second implementation of Sandworms

Fix tabs in AttackSwallow.cs
This commit is contained in:
penev92
2014-11-02 14:17:52 +02:00
parent 5da5bce405
commit 1057f8ff3b
18 changed files with 500 additions and 34 deletions

BIN
mods/d2k/bits/wormicon.shp Normal file

Binary file not shown.

View File

@@ -33,13 +33,17 @@ Players:
Name: Atreides
Race: atreides
ColorRamp: 161,134,200
Allies: Neutral
Enemies: Harkonnen
PlayerReference@Harkonnen:
Name: Harkonnen
Race: harkonnen
ColorRamp: 3,255,127
Enemies: Atreides
PlayerReference@Creeps:
Name: Creeps
NonCombatant: True
Race: atreides
Enemies: Atreides,Harkonnen
Actors:
Actor4: spicebloom
@@ -102,6 +106,9 @@ Actors:
Actor41: guntowera
Location: 46,39
Owner: Harkonnen
Actor42: WormSpawnLocation
Location: 46,64
Owner: Creeps
Smudges:

View File

@@ -36,6 +36,7 @@ Rules:
./mods/d2k/rules/atreides.yaml
./mods/d2k/rules/harkonnen.yaml
./mods/d2k/rules/ordos.yaml
./mods/d2k/rules/arrakis.yaml
Sequences:
./mods/d2k/sequences/aircraft.yaml

View File

@@ -31,6 +31,8 @@ Speech:
UnitLost: ULOST
BuildingLost: BLOST
BuildingCaptured: CAPT
WormSign: WSIGN
WormAttack: WATTK
Sounds:
DefaultVariant: .WAV

View File

@@ -0,0 +1,63 @@
SPICEBLOOM:
RenderBuilding:
Building:
Footprint: x
Dimensions: 1,1
AppearsOnRadar:
EditorAppearance:
RelativeToTopLeft: yes
ProximityCaptor:
Types: Tree
Tooltip:
Name: Spice Bloom
SeedsResource:
ResourceType: Spice
Interval: 75
WithActiveAnimation:
RadarColorFromTerrain:
Terrain: Spice
BodyOrientation:
WithMakeAnimation:
SANDWORM:
Tooltip:
Name: Sandworm
Description: Attracted by vibrations in the sand.\nWill eat units whole and has a large appetite.
Health:
HP: 10000
Radius: 3
Armor:
Type: None
Mobile:
Speed: 50
TerrainSpeeds:
Sand: 100
Dune: 100
Spice: 100
Rock: 100 # TEMP
TargetableUnit:
TargetTypes: Underground
RevealsShroud:
Range: 32c0
RenderUnit:
BodyOrientation:
BelowUnits:
HiddenUnderFog:
Sandworm:
WanderMoveRadius: 10
SelectionDecorations: # TEMP
Selectable: # TEMP
Voice: WormVoice # TEMP
AppearsOnRadar:
UseLocation: yes
AttackSwallow:
AttackRequiresEnteringCell: TRUE
AttackMove:
AutoTarget:
ScanRadius: 32
Armament:
Weapon: WormJaw
WormSpawnLocation:
Immobile:
WormSpawner:

View File

@@ -140,27 +140,6 @@ waypoint:
RenderEditorOnly:
BodyOrientation:
SPICEBLOOM:
RenderBuilding:
Building:
Footprint: x
Dimensions: 1,1
AppearsOnRadar:
EditorAppearance:
RelativeToTopLeft: yes
ProximityCaptor:
Types: Tree
Tooltip:
Name: Spice Bloom
SeedsResource:
ResourceType: Spice
Interval: 75
WithActiveAnimation:
RadarColorFromTerrain:
Terrain: Spice
BodyOrientation:
WithMakeAnimation:
CAMERA:
Immobile:
OccupiesSpace: false

View File

@@ -10,6 +10,8 @@ World:
ScreenShaker:
BuildingInfluence:
ChooseBuildTabOnSelect:
WormManager:
SpawnInterval: 10
CrateSpawner:
Minimum: 0
Maximum: 2

View File

@@ -441,4 +441,20 @@ grenadier: # 2502 - 2749 in 1.06 DATA.R8
Facings: 8
Tick: 120
icon: grenadiericon
Start: 0 # 4281 in 1.06 DATA.R8
Start: 0 # 4281 in 1.06 DATA.R8
sandworm:
mouth: DATA
Start: 3549
Length: 15
Tick: 100
sand: DATA
Start: 3565
Length: 20
idle: DATA
Start: 3586
Length: 35
Tick: 180
BlendMode: Additive
icon: wormicon
Start: 0

View File

@@ -78,4 +78,10 @@ SaboteurVoice:
Select: O_SSEL1,O_SSEL2,O_SSEL3
Move: O_SCONF1,O_SCONF2,O_SCONF3
Die: KILLGUY1,KILLGUY2,KILLGUY3,KILLGUY4,KILLGUY5,KILLGUY6,KILLGUY7,KILLGUY8,KILLGUY9
DisableVariants: Select, Move
DisableVariants: Select, Move
WormVoice:
DefaultVariant: .WAV
Voices:
Select: WRMSIGN1
Move: WORM