Consolidate defense structure rules into ^Defense for d2k mod
This commit is contained in:
@@ -295,3 +295,20 @@
|
|||||||
Range: 2c0, 5c0
|
Range: 2c0, 5c0
|
||||||
WithMakeAnimation:
|
WithMakeAnimation:
|
||||||
|
|
||||||
|
^Defense:
|
||||||
|
Inherits: ^Building
|
||||||
|
WithTurret:
|
||||||
|
AttackTurreted:
|
||||||
|
AutoTarget:
|
||||||
|
RenderRangeCircle:
|
||||||
|
RenderDetectionCircle:
|
||||||
|
-GivesBuildableArea:
|
||||||
|
-WithCrumbleOverlay:
|
||||||
|
-WithMakeAnimation:
|
||||||
|
-RenderBuilding:
|
||||||
|
RenderBuildingWall:
|
||||||
|
LineBuildNode:
|
||||||
|
Types: turret
|
||||||
|
MustBeDestroyed:
|
||||||
|
RequiredForShortGame: false
|
||||||
|
|
||||||
|
|||||||
@@ -522,7 +522,7 @@ wall:
|
|||||||
Range: 2c0, 5c0
|
Range: 2c0, 5c0
|
||||||
|
|
||||||
guntower:
|
guntower:
|
||||||
Inherits: ^Building
|
Inherits: ^Defense
|
||||||
Buildable:
|
Buildable:
|
||||||
Queue: Building
|
Queue: Building
|
||||||
Prerequisites: barracks
|
Prerequisites: barracks
|
||||||
@@ -540,19 +540,14 @@ guntower:
|
|||||||
Selectable:
|
Selectable:
|
||||||
Bounds: 32,32
|
Bounds: 32,32
|
||||||
Priority: 3
|
Priority: 3
|
||||||
-GivesBuildableArea:
|
|
||||||
Health:
|
Health:
|
||||||
HP: 400
|
HP: 400
|
||||||
Armor:
|
Armor:
|
||||||
Type: Concrete
|
Type: Concrete
|
||||||
RevealsShroud:
|
RevealsShroud:
|
||||||
Range: 8c0
|
Range: 8c0
|
||||||
RenderRangeCircle:
|
|
||||||
-RenderBuilding:
|
|
||||||
RenderBuildingWall:
|
|
||||||
BodyOrientation:
|
BodyOrientation:
|
||||||
QuantizedFacings: 32
|
QuantizedFacings: 32
|
||||||
WithTurret:
|
|
||||||
WithMuzzleFlash:
|
WithMuzzleFlash:
|
||||||
Turreted:
|
Turreted:
|
||||||
ROT: 6
|
ROT: 6
|
||||||
@@ -561,24 +556,15 @@ guntower:
|
|||||||
Weapon: TurretGun
|
Weapon: TurretGun
|
||||||
LocalOffset: 512,0,432
|
LocalOffset: 512,0,432
|
||||||
MuzzleSequence: muzzle
|
MuzzleSequence: muzzle
|
||||||
AttackTurreted:
|
|
||||||
AutoTarget:
|
|
||||||
RenderDetectionCircle:
|
|
||||||
DetectCloaked:
|
DetectCloaked:
|
||||||
Range: 5
|
Range: 5
|
||||||
-WithCrumbleOverlay:
|
|
||||||
-WithMakeAnimation:
|
|
||||||
LineBuildNode:
|
|
||||||
Types: turret
|
|
||||||
Power:
|
Power:
|
||||||
Amount: -20
|
Amount: -20
|
||||||
MustBeDestroyed:
|
|
||||||
RequiredForShortGame: false
|
|
||||||
SelectionDecorations:
|
SelectionDecorations:
|
||||||
VisualBounds: 32,40,0,-8
|
VisualBounds: 32,40,0,-8
|
||||||
|
|
||||||
rockettower:
|
rockettower:
|
||||||
Inherits: ^Building
|
Inherits: ^Defense
|
||||||
Buildable:
|
Buildable:
|
||||||
Queue: Building
|
Queue: Building
|
||||||
Prerequisites: radar, upgrade.conyard, ~techlevel.medium
|
Prerequisites: radar, upgrade.conyard, ~techlevel.medium
|
||||||
@@ -596,41 +582,27 @@ rockettower:
|
|||||||
Selectable:
|
Selectable:
|
||||||
Bounds: 32,32
|
Bounds: 32,32
|
||||||
Priority: 3
|
Priority: 3
|
||||||
-GivesBuildableArea:
|
|
||||||
Health:
|
Health:
|
||||||
HP: 400
|
HP: 400
|
||||||
Armor:
|
Armor:
|
||||||
Type: Concrete
|
Type: Concrete
|
||||||
RevealsShroud:
|
RevealsShroud:
|
||||||
Range: 10c0
|
Range: 10c0
|
||||||
RenderRangeCircle:
|
|
||||||
-RenderBuilding:
|
|
||||||
RenderBuildingWall:
|
|
||||||
BodyOrientation:
|
BodyOrientation:
|
||||||
QuantizedFacings: 32
|
QuantizedFacings: 32
|
||||||
WithTurret:
|
|
||||||
Armament:
|
Armament:
|
||||||
Weapon: TowerMissile
|
Weapon: TowerMissile
|
||||||
LocalOffset: 256,384,768, 256,-384,768
|
LocalOffset: 256,384,768, 256,-384,768
|
||||||
AttackTurreted:
|
|
||||||
Turreted:
|
Turreted:
|
||||||
ROT: 8
|
ROT: 8
|
||||||
InitialFacing: 128
|
InitialFacing: 128
|
||||||
AutoTarget:
|
|
||||||
RequiresPower:
|
RequiresPower:
|
||||||
CanPowerDown:
|
CanPowerDown:
|
||||||
DisabledOverlay:
|
DisabledOverlay:
|
||||||
RenderDetectionCircle:
|
|
||||||
DetectCloaked:
|
DetectCloaked:
|
||||||
Range: 6
|
Range: 6
|
||||||
-WithCrumbleOverlay:
|
|
||||||
-WithMakeAnimation:
|
|
||||||
LineBuildNode:
|
|
||||||
Types: turret
|
|
||||||
Power:
|
Power:
|
||||||
Amount: -30
|
Amount: -30
|
||||||
MustBeDestroyed:
|
|
||||||
RequiredForShortGame: false
|
|
||||||
SelectionDecorations:
|
SelectionDecorations:
|
||||||
VisualBounds: 32,40,0,-8
|
VisualBounds: 32,40,0,-8
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user