Merge pull request #12684 from abcdefg30/proneOffset

Fix the ProneOffsets of TakeCover
This commit is contained in:
reaperrr
2017-02-12 20:31:08 +01:00
committed by GitHub
11 changed files with 39 additions and 7 deletions

View File

@@ -32,7 +32,7 @@ namespace OpenRA.Mods.Common.Traits
[Desc("Damage modifiers for each damage type (defined on the warheads) while the unit is prone.")]
public readonly Dictionary<string, int> DamageModifiers = new Dictionary<string, int>();
public readonly WVec ProneOffset = new WVec(85, 0, -171);
public readonly WVec ProneOffset = new WVec(500, 0, 0);
[SequenceReference(null, true)] public readonly string ProneSequencePrefix = "prone-";

View File

@@ -342,6 +342,7 @@
DamageModifiers:
Prone50Percent: 50
DamageTriggers: TriggerProne
ProneOffset: 400,0,0
WithInfantryBody:
IdleSequences: idle1, idle2
StandSequences: stand, stand2

View File

@@ -40,6 +40,8 @@ E2:
Weapon: Grenade
LocalOffset: 0,0,427
FireDelay: 15
TakeCover:
ProneOffset: 300,0,-227
AttackFrontal:
WithInfantryBody:
DefaultAttackSequence: throw
@@ -69,6 +71,8 @@ E3:
Weapon: Rockets
LocalOffset: 256,43,341
FireDelay: 5
TakeCover:
ProneOffset: 180,0,-200
AttackFrontal:
WithInfantryBody:
DefaultAttackSequence: shoot
@@ -94,6 +98,8 @@ E4:
LocalOffset: 341,0,256
FireDelay: 3
MuzzleSequence: muzzle
TakeCover:
ProneOffset: 190,0,-198
AttackFrontal:
WithMuzzleOverlay:
WithInfantryBody:
@@ -125,6 +131,8 @@ E5:
LocalOffset: 341,0,256
FireDelay: 3
MuzzleSequence: muzzle
TakeCover:
ProneOffset: 190,0,-190
AttackFrontal:
WithMuzzleOverlay:
-DamagedByTerrain:

View File

@@ -261,6 +261,7 @@
DamageModifiers:
Prone50Percent: 50
DamageTriggers: TriggerProne
ProneOffset: 300,0,0
WithDeathAnimation:
DeathTypes:
ExplosionDeath: 1

View File

@@ -69,6 +69,8 @@ trooper:
Armament:
Weapon: Bazooka
LocalOffset: 128,0,256
TakeCover:
ProneOffset: 324,0,-204
AttackFrontal:
WithInfantryBody:
DefaultAttackSequence: shoot
@@ -175,6 +177,8 @@ grenadier:
Weapon: grenade
LocalOffset: 192,0,224
FireDelay: 3
TakeCover:
ProneOffset: 96,100,-64
AttackFrontal:
WithInfantryBody:
DefaultAttackSequence: throw

View File

@@ -96,6 +96,8 @@ E2:
Name: garrisoned
Weapon: Grenade
FireDelay: 15
TakeCover:
ProneOffset: 256,64,-331
AttackFrontal:
WithInfantryBody:
DefaultAttackSequence: throw
@@ -129,6 +131,8 @@ E3:
Armament@GARRISONED:
Name: garrisoned
Weapon: Dragon
TakeCover:
ProneOffset: 384,0,-395
AttackFrontal:
WithInfantryBody:
DefaultAttackSequence: shoot
@@ -153,11 +157,13 @@ E4:
HP: 40
Armament@PRIMARY:
Weapon: Flamer
LocalOffset: 427,0,341
LocalOffset: 700,0,500
FireDelay: 8
Armament@GARRISONED:
Name: garrisoned
Weapon: Flamer
TakeCover:
ProneOffset: 160,0,-288
AttackFrontal:
WithInfantryBody:
DefaultAttackSequence: shoot
@@ -507,6 +513,8 @@ SHOK:
Armament@GARRISONED:
Name: garrisoned
Weapon: PortaTesla
TakeCover:
ProneOffset: 227,0,-245
AttackFrontal:
Voice: Attack
AttackMove:

View File

@@ -14,7 +14,9 @@ WEEDGUY:
CrushSound: squishy2.aud
Armament:
Weapon: FireballLauncher
LocalOffset: 85,0,384
LocalOffset: 224,0,320
TakeCover:
ProneOffset: 128,0,-320
AttackFrontal:
Voice: Attack
-SpawnActorOnDeath@FLAMEGUY:

View File

@@ -430,6 +430,7 @@
Prone100Percent: 100
Prone350Percent: 350
DamageTriggers: TriggerProne
ProneOffset: 300,0,0
WithInfantryBody:
IdleSequences: idle1,idle2

View File

@@ -18,6 +18,8 @@ E2:
Weapon: Grenade
LocalOffset: 0,0,555
FireDelay: 5
TakeCover:
ProneOffset: 160,128,-555
AttackFrontal:
Voice: Attack
WithInfantryBody:
@@ -192,6 +194,8 @@ GHOST:
Armament:
Weapon: LtRail
LocalOffset: 85,0,384
TakeCover:
ProneOffset: 256,32,-384
Crushable:
CrushSound: squishy2.aud
AttackFrontal:

View File

@@ -19,6 +19,8 @@ E3:
Armament@PRIMARY:
Weapon: Bazooka
LocalOffset: 252,0,684
TakeCover:
ProneOffset: 52,64,-652
AttackFrontal:
Voice: Attack
WithInfantryBody:

View File

@@ -423,21 +423,22 @@ weedguy:
Facings: 8
ShadowStart: 258
prone-attack:
Start: 56
Start: 64
Facings: 8
ShadowStart: 258
Stride: 6
ShadowStart: 288
standup:
Start: 112
Length: 2
Facings: 8
ShadowStart: 314
prone-run:
Start: 86
Start: 64
Length: 6
Facings: 8
ShadowStart: 288
prone-stand:
Start: 86
Start: 64
Facings: 8
Stride: 6
ShadowStart: 288