Merge branch 'master' of github.com:chrisforbes/OpenRA
This commit is contained in:
@@ -182,7 +182,8 @@ namespace OpenRA.Traits
|
|||||||
if (Rules.ProjectileInfo[weapon.Projectile].ROT != 0)
|
if (Rules.ProjectileInfo[weapon.Projectile].ROT != 0)
|
||||||
{
|
{
|
||||||
var fireFacing = thisLocalOffset.ElementAtOrDefault(2) +
|
var fireFacing = thisLocalOffset.ElementAtOrDefault(2) +
|
||||||
(self.traits.Contains<Turreted>() ? self.traits.Get<Turreted>().turretFacing : unit.Facing);
|
(self.traits.Contains<Turreted>() ? self.traits.Get<Turreted>().turretFacing :
|
||||||
|
unit != null ? unit.Facing : Util.GetFacing( thisTarget.CenterLocation - self.CenterLocation, 0 ));
|
||||||
|
|
||||||
self.World.Add(new Missile(weapon, self.Owner, self,
|
self.World.Add(new Missile(weapon, self.Owner, self,
|
||||||
firePos, thisTarget, srcAltitude, fireFacing));
|
firePos, thisTarget, srcAltitude, fireFacing));
|
||||||
|
|||||||
@@ -170,4 +170,10 @@
|
|||||||
<sequence name="critical-idle" start="2" length="1" />
|
<sequence name="critical-idle" start="2" length="1" />
|
||||||
<sequence name="make" start="0" length="20" src="gtwrmake" />
|
<sequence name="make" start="0" length="20" src="gtwrmake" />
|
||||||
</unit>
|
</unit>
|
||||||
|
<unit name="atwr">
|
||||||
|
<sequence name="idle" start="0" length="1" />
|
||||||
|
<sequence name="damaged-idle" start="1" length="1" />
|
||||||
|
<sequence name="critical-idle" start="2" length="1" />
|
||||||
|
<sequence name="make" start="0" length="14" src="atwrmake" />
|
||||||
|
</unit>
|
||||||
</sequences>
|
</sequences>
|
||||||
@@ -446,16 +446,36 @@ GTWR:
|
|||||||
TechLevel: 2
|
TechLevel: 2
|
||||||
Prerequisites: pyle
|
Prerequisites: pyle
|
||||||
Owner: gdi
|
Owner: gdi
|
||||||
Cost: 400
|
Cost: 500
|
||||||
Description: Guard Tower
|
Description: Guard Tower
|
||||||
LongDesc: Basic defensive structure.\n Strong vs Infantry, Light Vehicles\n Weak vs Tanks, Aircraft
|
LongDesc: Basic defensive structure.\n Strong vs Infantry, Light Vehicles\n Weak vs Tanks, Aircraft
|
||||||
Building:
|
Building:
|
||||||
Power: -15
|
Power: -10
|
||||||
HP: 400
|
HP: 400
|
||||||
Armor: wood
|
Armor: wood
|
||||||
Crewed: yes
|
Crewed: yes
|
||||||
Sight: 5
|
Sight: 3
|
||||||
AttackOmni:
|
AttackOmni:
|
||||||
PrimaryWeapon: HighV
|
PrimaryWeapon: HighV
|
||||||
AutoTarget:
|
AutoTarget:
|
||||||
IronCurtainable:
|
|
||||||
|
ATWR:
|
||||||
|
Inherits: ^Building
|
||||||
|
Buildable:
|
||||||
|
Icon: atwricnh
|
||||||
|
TechLevel: 4
|
||||||
|
Prerequisites: hq
|
||||||
|
Owner: gdi
|
||||||
|
Cost: 1000
|
||||||
|
Description: Advanced Guard Tower
|
||||||
|
LongDesc: Anti-armor defensive structure.\n Strong vs Light Vehicles, Tanks\n Weak vs Infantry
|
||||||
|
Building:
|
||||||
|
Power: -20
|
||||||
|
HP: 600
|
||||||
|
Armor: light
|
||||||
|
Crewed: yes
|
||||||
|
Sight: 4
|
||||||
|
AttackOmni:
|
||||||
|
PrimaryWeapon: Tomahawk
|
||||||
|
SecondaryWeapon: Tomahawk
|
||||||
|
AutoTarget:
|
||||||
@@ -279,7 +279,7 @@ HTNK:
|
|||||||
Turreted:
|
Turreted:
|
||||||
ROT: 5
|
ROT: 5
|
||||||
AttackTurreted:
|
AttackTurreted:
|
||||||
PrimaryWeapon: 120mmAPR
|
PrimaryWeapon: 120mm
|
||||||
SecondaryWeapon: MissilePack
|
SecondaryWeapon: MissilePack
|
||||||
Recoil: 3
|
Recoil: 3
|
||||||
RenderUnitTurreted:
|
RenderUnitTurreted:
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ Chemspray
|
|||||||
Grenade
|
Grenade
|
||||||
70mm
|
70mm
|
||||||
105mm
|
105mm
|
||||||
120mmAPR
|
120mm
|
||||||
TurretGun
|
TurretGun
|
||||||
MissilePack
|
MissilePack
|
||||||
227mm
|
227mm
|
||||||
@@ -154,7 +154,7 @@ Report=TNKFIRE4
|
|||||||
;Anim=GUNFIRE
|
;Anim=GUNFIRE
|
||||||
|
|
||||||
; large anti-armor cannon
|
; large anti-armor cannon
|
||||||
[120mmAPR]
|
[120mm]
|
||||||
Damage=40
|
Damage=40
|
||||||
ROF=80
|
ROF=80
|
||||||
Range=4.75
|
Range=4.75
|
||||||
|
|||||||
@@ -158,7 +158,7 @@ Warhead=Fire
|
|||||||
[Flamer]
|
[Flamer]
|
||||||
Damage=70
|
Damage=70
|
||||||
ROF=50
|
ROF=50
|
||||||
Range=3.5
|
Range=5
|
||||||
Projectile=Fireball
|
Projectile=Fireball
|
||||||
Speed=12
|
Speed=12
|
||||||
Warhead=Fire
|
Warhead=Fire
|
||||||
@@ -662,7 +662,7 @@ SmudgeType=Crater
|
|||||||
|
|
||||||
; napalm and fire in general
|
; napalm and fire in general
|
||||||
[Fire]
|
[Fire]
|
||||||
Spread=8
|
Spread=4
|
||||||
Wood=yes
|
Wood=yes
|
||||||
Verses=90%,100%,60%,25%,50%
|
Verses=90%,100%,60%,25%,50%
|
||||||
Explosion=3
|
Explosion=3
|
||||||
|
|||||||
Reference in New Issue
Block a user