diff --git a/OpenRA.Game/Traits/Attack/AttackBase.cs b/OpenRA.Game/Traits/Attack/AttackBase.cs index 8208980c8b..bebd1ee7d9 100644 --- a/OpenRA.Game/Traits/Attack/AttackBase.cs +++ b/OpenRA.Game/Traits/Attack/AttackBase.cs @@ -182,7 +182,8 @@ namespace OpenRA.Traits if (Rules.ProjectileInfo[weapon.Projectile].ROT != 0) { var fireFacing = thisLocalOffset.ElementAtOrDefault(2) + - (self.traits.Contains() ? self.traits.Get().turretFacing : unit.Facing); + (self.traits.Contains() ? self.traits.Get().turretFacing : + unit != null ? unit.Facing : Util.GetFacing( thisTarget.CenterLocation - self.CenterLocation, 0 )); self.World.Add(new Missile(weapon, self.Owner, self, firePos, thisTarget, srcAltitude, fireFacing)); diff --git a/mods/cnc/sequences-structures.xml b/mods/cnc/sequences-structures.xml index 2818f5c3b7..85d83a18e4 100644 --- a/mods/cnc/sequences-structures.xml +++ b/mods/cnc/sequences-structures.xml @@ -170,4 +170,10 @@ + + + + + + \ No newline at end of file diff --git a/mods/cnc/structures.yaml b/mods/cnc/structures.yaml index 7ae49fbad9..e797df7fe6 100644 --- a/mods/cnc/structures.yaml +++ b/mods/cnc/structures.yaml @@ -446,16 +446,36 @@ GTWR: TechLevel: 2 Prerequisites: pyle Owner: gdi - Cost: 400 + Cost: 500 Description: Guard Tower LongDesc: Basic defensive structure.\n Strong vs Infantry, Light Vehicles\n Weak vs Tanks, Aircraft Building: - Power: -15 + Power: -10 HP: 400 Armor: wood Crewed: yes - Sight: 5 + Sight: 3 AttackOmni: PrimaryWeapon: HighV AutoTarget: - IronCurtainable: \ No newline at end of file + +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: \ No newline at end of file diff --git a/mods/cnc/vehicles.yaml b/mods/cnc/vehicles.yaml index 3ab479e78f..21b96735ef 100644 --- a/mods/cnc/vehicles.yaml +++ b/mods/cnc/vehicles.yaml @@ -279,7 +279,7 @@ HTNK: Turreted: ROT: 5 AttackTurreted: - PrimaryWeapon: 120mmAPR + PrimaryWeapon: 120mm SecondaryWeapon: MissilePack Recoil: 3 RenderUnitTurreted: diff --git a/mods/cnc/weapons.ini b/mods/cnc/weapons.ini index 89fb856563..9cd4408132 100644 --- a/mods/cnc/weapons.ini +++ b/mods/cnc/weapons.ini @@ -14,7 +14,7 @@ Chemspray Grenade 70mm 105mm -120mmAPR +120mm TurretGun MissilePack 227mm @@ -154,7 +154,7 @@ Report=TNKFIRE4 ;Anim=GUNFIRE ; large anti-armor cannon -[120mmAPR] +[120mm] Damage=40 ROF=80 Range=4.75 diff --git a/mods/ra/rules.ini b/mods/ra/rules.ini index 460cf293ba..e5f1de6cd2 100644 --- a/mods/ra/rules.ini +++ b/mods/ra/rules.ini @@ -158,7 +158,7 @@ Warhead=Fire [Flamer] Damage=70 ROF=50 -Range=3.5 +Range=5 Projectile=Fireball Speed=12 Warhead=Fire @@ -662,7 +662,7 @@ SmudgeType=Crater ; napalm and fire in general [Fire] -Spread=8 +Spread=4 Wood=yes Verses=90%,100%,60%,25%,50% Explosion=3