Cleaned and fixed D2k infantry rules a little

Moved Selectable Bounds to infantry default, fixed vertical offset.
Removed some TakeCover duplication.
Added engineer and medic/thumper prone sequences.
Made sure that TakeCover/WithInfantryBody sequence modifiers are applied
properly.

Fixed d2k grenadier sequences offset to match other infantry.
This commit is contained in:
reaperrr
2015-05-01 14:27:48 +02:00
parent f88ada8648
commit 64fb38bd3e
3 changed files with 43 additions and 31 deletions

View File

@@ -202,6 +202,7 @@
Rough: 70 Rough: 70
SelectionDecorations: SelectionDecorations:
Selectable: Selectable:
Bounds: 12,18,0,-6
TargetableUnit: TargetableUnit:
TargetTypes: Ground TargetTypes: Ground
RenderSprites: RenderSprites:

View File

@@ -8,8 +8,6 @@ rifle:
Tooltip: Tooltip:
Name: Rifleman Name: Rifleman
Description: General-purpose infantry\n Strong vs Infantry\n Weak vs Vehicles, Artillery Description: General-purpose infantry\n Strong vs Infantry\n Weak vs Vehicles, Artillery
Selectable:
Bounds: 12,17,0,0
Health: Health:
HP: 50 HP: 50
Mobile: Mobile:
@@ -18,9 +16,7 @@ rifle:
Weapon: LMG Weapon: LMG
AttackFrontal: AttackFrontal:
TakeCover: TakeCover:
DamageModifiers: WithInfantryBody:
Prone50Percent: 50
DamageTriggers: TriggerProne
AttractsWorms: AttractsWorms:
Intensity: 120 Intensity: 120
@@ -35,8 +31,6 @@ engineer:
Tooltip: Tooltip:
Name: Engineer Name: Engineer
Description: Infiltrates and captures enemy structures\n Strong vs Buildings\n Weak vs Everything Description: Infiltrates and captures enemy structures\n Strong vs Buildings\n Weak vs Everything
Selectable:
Bounds: 12,17,0,0
Health: Health:
HP: 25 HP: 25
Mobile: Mobile:
@@ -44,6 +38,8 @@ engineer:
Passenger: Passenger:
PipType: Yellow PipType: Yellow
EngineerRepair: EngineerRepair:
TakeCover:
WithInfantryBody:
ExternalCaptures: ExternalCaptures:
Type: building Type: building
Captures: Captures:
@@ -65,8 +61,6 @@ bazooka:
Tooltip: Tooltip:
Name: Trooper Name: Trooper
Description: Anti-tank/Anti-aircraft infantry\n Strong vs Tanks, Aircraft\n Weak vs Infantry, Artillery Description: Anti-tank/Anti-aircraft infantry\n Strong vs Tanks, Aircraft\n Weak vs Infantry, Artillery
Selectable:
Bounds: 12,17,0,0
Health: Health:
HP: 45 HP: 45
Mobile: Mobile:
@@ -76,9 +70,7 @@ bazooka:
LocalOffset: 0,0,555 LocalOffset: 0,0,555
AttackFrontal: AttackFrontal:
TakeCover: TakeCover:
DamageModifiers: WithInfantryBody:
Prone50Percent: 50
DamageTriggers: TriggerProne
AttractsWorms: AttractsWorms:
Intensity: 180 Intensity: 180
@@ -93,8 +85,6 @@ medic:
Tooltip: Tooltip:
Name: Medic Name: Medic
Description: Heals nearby infantry\n Strong vs Nothing\n Weak vs Everything Description: Heals nearby infantry\n Strong vs Nothing\n Weak vs Everything
Selectable:
Bounds: 12,17,0,0
Health: Health:
HP: 60 HP: 60
Mobile: Mobile:
@@ -105,6 +95,7 @@ medic:
AttackMedic: AttackMedic:
Cursor: ability Cursor: ability
OutsideRangeCursor: ability OutsideRangeCursor: ability
TakeCover:
WithInfantryBody: WithInfantryBody:
AttackSequence: heal AttackSequence: heal
Passenger: Passenger:
@@ -126,8 +117,6 @@ fremen:
Queue: Infantry Queue: Infantry
BuildPaletteOrder: 100 BuildPaletteOrder: 100
Prerequisites: ~barracks.atreides, palace, ~techlevel.high Prerequisites: ~barracks.atreides, palace, ~techlevel.high
Selectable:
Bounds: 12,17,0,0
Mobile: Mobile:
Speed: 53 Speed: 53
Health: Health:
@@ -143,9 +132,7 @@ fremen:
Weapon: Slung Weapon: Slung
AttackFrontal: AttackFrontal:
TakeCover: TakeCover:
DamageModifiers: WithInfantryBody:
Prone50Percent: 50
DamageTriggers: TriggerProne
Cloak: Cloak:
InitialDelay: 250 InitialDelay: 250
CloakDelay: 250 CloakDelay: 250
@@ -166,8 +153,6 @@ grenadier:
Tooltip: Tooltip:
Name: Grenadier Name: Grenadier
Description: Infantry armed with grenades. \n Strong vs Buildings, Infantry\n Weak vs Vehicles Description: Infantry armed with grenades. \n Strong vs Buildings, Infantry\n Weak vs Vehicles
Selectable:
Bounds: 12,17,0,0
Health: Health:
HP: 50 HP: 50
Mobile: Mobile:
@@ -178,9 +163,6 @@ grenadier:
FireDelay: 15 FireDelay: 15
AttackFrontal: AttackFrontal:
TakeCover: TakeCover:
DamageModifiers:
Prone50Percent: 50
DamageTriggers: TriggerProne
WithInfantryBody: WithInfantryBody:
IdleSequences: idle IdleSequences: idle
Explodes: Explodes:
@@ -200,8 +182,6 @@ sardaukar:
Tooltip: Tooltip:
Name: Sardaukar Name: Sardaukar
Description: Elite asssault infantry\n Strong vs Infantry, Vehicles\n Weak vs Artillery Description: Elite asssault infantry\n Strong vs Infantry, Vehicles\n Weak vs Artillery
Selectable:
Bounds: 12,17,0,0
Health: Health:
HP: 100 HP: 100
Mobile: Mobile:
@@ -209,9 +189,7 @@ sardaukar:
RevealsShroud: RevealsShroud:
Range: 6c0 Range: 6c0
TakeCover: TakeCover:
DamageModifiers: WithInfantryBody:
Prone50Percent: 50
DamageTriggers: TriggerProne
Armament@PRIMARY: Armament@PRIMARY:
Weapon: Vulcan Weapon: Vulcan
Armament@SECONDARY: Armament@SECONDARY:
@@ -233,14 +211,14 @@ saboteur:
Tooltip: Tooltip:
Name: Saboteur Name: Saboteur
Description: Sneaky infantry, armed with explosives\n Strong vs Buildings\n Weak vs Everything\n Special Ability: destroy buildings Description: Sneaky infantry, armed with explosives\n Strong vs Buildings\n Weak vs Everything\n Special Ability: destroy buildings
Selectable:
Bounds: 12,17,0,0
Health: Health:
HP: 100 HP: 100
Mobile: Mobile:
Speed: 64 Speed: 64
RevealsShroud: RevealsShroud:
Range: 7c0 Range: 7c0
TakeCover:
WithInfantryBody:
C4Demolition: C4Demolition:
C4Delay: 45 C4Delay: 45
-AutoTarget: -AutoTarget:

View File

@@ -130,6 +130,21 @@ engineer:
Facings: -8 Facings: -8
Transpose: true Transpose: true
Tick: 120 Tick: 120
standup-0: DATA.R8
Start: 1262
Facings: -8
Transpose: true
Tick: 120
prone-stand: DATA.R8
Start: 1270
Facings: -8
Transpose: true
prone-run: DATA.R8
Start: 1278
Length: 3
Facings: -8
Transpose: true
Tick: 120
die1: DATA.R8 die1: DATA.R8
Frames: 1342, 1349, 1356, 1363, 1370, 1377, 1384, 1391, 1398, 1399, 1400, 1401 Frames: 1342, 1349, 1356, 1363, 1370, 1377, 1384, 1391, 1398, 1399, 1400, 1401
Length: 12 Length: 12
@@ -166,6 +181,21 @@ medic: # actually thumper
Facings: -8 Facings: -8
Transpose: true Transpose: true
Tick: 120 Tick: 120
standup-0: DATA.R8
Start: 1462
Facings: -8
Transpose: true
Tick: 120
prone-stand: DATA.R8
Start: 1470
Facings: -8
Transpose: true
prone-run: DATA.R8
Start: 1478
Length: 3
Facings: -8
Transpose: true
Tick: 120
heal: DATA.R8 heal: DATA.R8
Start: 1458 Start: 1458
Length: 5 Length: 5
@@ -385,6 +415,8 @@ sardaukar:
Offset: -30,-24 Offset: -30,-24
grenadier: # 2502 - 2749 in 1.06 DATA.R8 grenadier: # 2502 - 2749 in 1.06 DATA.R8
Defaults:
Offset: 1,-4
stand: grenadier.shp stand: grenadier.shp
Facings: 8 Facings: 8
idle: grenadier.shp idle: grenadier.shp
@@ -432,6 +464,7 @@ grenadier: # 2502 - 2749 in 1.06 DATA.R8
Facings: 8 Facings: 8
Tick: 120 Tick: 120
icon: grenadiericon.shp # 4281 in 1.06 DATA.R8 icon: grenadiericon.shp # 4281 in 1.06 DATA.R8
Offset: 0,0
sandworm: sandworm:
mouth: DATA.R8 mouth: DATA.R8