Merge pull request #8527 from pchote/split-vis-origins

Introduce new options for shroud visibility and revealing.
This commit is contained in:
Pavel Penev
2015-07-04 23:00:42 +03:00
25 changed files with 155 additions and 35 deletions

View File

@@ -22,6 +22,7 @@ TRAN:
Type: Light
RevealsShroud:
Range: 10c0
Type: CenterPosition
WithRotor@PRIMARY:
Offset: -597,0,171
Sequence: rotor2
@@ -61,6 +62,7 @@ HELI:
Type: Light
RevealsShroud:
Range: 10c0
Type: CenterPosition
Armament@PRIMARY:
Weapon: HeliAGGun
LocalOffset: 128,-213,-85, 128,213,-85
@@ -111,6 +113,7 @@ ORCA:
Type: Light
RevealsShroud:
Range: 10c0
Type: CenterPosition
Armament@PRIMARY:
Weapon: OrcaAGMissiles
LocalOffset: 427,-171,-213, 427,171,-213
@@ -155,6 +158,7 @@ C17:
Type: Heavy
HiddenUnderFog:
AlwaysVisibleStances: None
Type: CenterPosition
Cargo:
MaxWeight: 10
PipCount: 10
@@ -216,6 +220,7 @@ TRAN.Husk:
Speed: 140
RevealsShroud:
Range: 8c0
Type: CenterPosition
WithRotor@PRIMARY:
Offset: -597,0,171
WithRotor@SECONDARY:
@@ -232,6 +237,7 @@ HELI.Husk:
Speed: 186
RevealsShroud:
Range: 10c0
Type: CenterPosition
WithRotor:
Offset: 0,0,85
RenderSprites:
@@ -246,6 +252,7 @@ ORCA.Husk:
Speed: 186
RevealsShroud:
Range: 10c0
Type: CenterPosition
RenderSprites:
Image: orca

View File

@@ -367,7 +367,7 @@ BRIDGE4:
SpawnOffset: 3,2
BRIDGEHUT:
HiddenUnderShroud:
AlwaysVisible:
Building:
Footprint: __ __
Dimensions: 2,2

View File

@@ -107,6 +107,7 @@
RearmBuildings:
LandWhenIdle: false
HiddenUnderFog:
Type: CenterPosition
ActorLostNotification:
Explodes:
Weapon: HeliExplode
@@ -354,6 +355,7 @@
AppearsOnRadar:
UseLocation: yes
HiddenUnderFog:
Type: CenterPosition
ActorLostNotification:
AttackMove:
WithShadow:
@@ -592,6 +594,7 @@
Armor:
Type: Light
HiddenUnderFog:
Type: CenterPosition
AutoTargetIgnore:
BodyOrientation:
WithFacingSpriteBody:
@@ -631,7 +634,7 @@
GenericName: Destroyed Helicopter
^Bridge:
HiddenUnderShroud:
AlwaysVisible:
Tooltip:
Name: Bridge
TargetableBuilding:

View File

@@ -60,6 +60,7 @@ CAMERA:
HP: 1000
RevealsShroud:
Range: 10c0
Type: CenterPosition
BodyOrientation:
CAMERA.small:
@@ -70,6 +71,7 @@ CAMERA.small:
HP: 1000
RevealsShroud:
Range: 6c0
Type: CenterPosition
BodyOrientation:
FLARE:
@@ -77,11 +79,13 @@ FLARE:
OccupiesSpace: false
RevealsShroud:
Range: 3c0
Type: CenterPosition
RenderSprites:
Image: smokland
WithSpriteBody:
StartSequence: open
HiddenUnderFog:
Type: CenterPosition
Tooltip:
Name: Flare
BodyOrientation:

View File

@@ -46,6 +46,7 @@ carryall.infantry:
Type: Light
RevealsShroud:
Range: 12c0
Type: CenterPosition
Plane:
ROT: 4
Speed: 280
@@ -101,6 +102,7 @@ orni:
Type: Light
RevealsShroud:
Range: 10c0
Type: CenterPosition
Armament:
Weapon: ChainGun
LocalOffset: 85,-213,-85

View File

@@ -93,6 +93,7 @@
Armor:
Type: Light
HiddenUnderFog:
Type: CenterPosition
Tooltip:
Name: Wreck
BodyOrientation:
@@ -211,6 +212,7 @@
AppearsOnRadar:
UseLocation: yes
HiddenUnderFog:
Type: CenterPosition
AlwaysVisibleStances: None
ActorLostNotification:
AttackMove:

View File

@@ -142,6 +142,7 @@ camera:
HP: 1000
RevealsShroud:
Range: 8c0
Type: CenterPosition
BodyOrientation:
wormspawner:

View File

@@ -1406,6 +1406,7 @@ Rules:
Image: E7
PRISON:
HiddenUnderShroud:
Type: CenterPosition
Immobile:
OccupiesSpace: false
BodyOrientation:

View File

@@ -1302,6 +1302,7 @@ Rules:
Image: E7
PRISON:
HiddenUnderShroud:
Type: CenterPosition
Immobile:
OccupiesSpace: false
BodyOrientation:

View File

@@ -89,6 +89,7 @@ MIG:
Type: Light
RevealsShroud:
Range: 12c0
Type: CenterPosition
Armament:
Weapon: Maverick
LocalOffset: 0,-640,0, 0,640,0
@@ -140,6 +141,7 @@ YAK:
Type: Light
RevealsShroud:
Range: 10c0
Type: CenterPosition
Armament@PRIMARY:
Weapon: ChainGun.Yak
LocalOffset: 256,-213,0
@@ -195,6 +197,7 @@ TRAN:
Type: Light
RevealsShroud:
Range: 12c0
Type: CenterPosition
Helicopter:
CruiseAltitude: 1024
RearmBuildings: hpad
@@ -234,6 +237,7 @@ HELI:
Type: Light
RevealsShroud:
Range: 12c0
Type: CenterPosition
Armament@PRIMARY:
Weapon: HellfireAA
LocalOffset: 0,-213,-85
@@ -280,6 +284,7 @@ HIND:
Type: Light
RevealsShroud:
Range: 10c0
Type: CenterPosition
Armament@PRIMARY:
Weapon: ChainGun
LocalOffset: 85,-213,-85

View File

@@ -484,7 +484,7 @@ SBRIDGE4:
SpawnOffset: 2,1
BRIDGEHUT:
HiddenUnderShroud:
AlwaysVisible:
Building:
Footprint: __ __
Dimensions: 2,2
@@ -495,7 +495,7 @@ BRIDGEHUT:
TargetTypes: BridgeHut, C4
BRIDGEHUT.small:
HiddenUnderShroud:
AlwaysVisible:
Building:
Footprint: _
Dimensions: 1,1

View File

@@ -305,6 +305,7 @@
TargetTypes: Air
GroundedTargetTypes: Ground, Repair
HiddenUnderFog:
Type: CenterPosition
AttackMove:
Guard:
Guardable:
@@ -519,6 +520,7 @@
Armor:
Type: Heavy
HiddenUnderFog:
Type: CenterPosition
BodyOrientation:
AutoTargetIgnore:
ScriptTriggers:
@@ -565,7 +567,7 @@
FallsToEarth:
^Bridge:
HiddenUnderShroud:
AlwaysVisible:
Tooltip:
Name: Bridge
TargetableBuilding:

View File

@@ -94,6 +94,7 @@ TRAN.Husk:
Offset: 597,0,213
RevealsShroud:
Range: 12c0
Type: CenterPosition
RenderSprites:
Image: tran
@@ -146,6 +147,7 @@ MIG.Husk:
MinDamage: Undamaged
RevealsShroud:
Range: 12c0
Type: CenterPosition
RenderSprites:
Image: mig
@@ -164,6 +166,7 @@ YAK.Husk:
MinDamage: Undamaged
RevealsShroud:
Range: 10c0
Type: CenterPosition
RenderSprites:
Image: yak
@@ -181,6 +184,7 @@ HELI.Husk:
MinDamage: Undamaged
RevealsShroud:
Range: 12c0
Type: CenterPosition
RenderSprites:
Image: heli
@@ -197,6 +201,7 @@ HIND.Husk:
MinDamage: Undamaged
RevealsShroud:
Range: 10c0
Type: CenterPosition
RenderSprites:
Image: hind

View File

@@ -1,5 +1,6 @@
MINP:
HiddenUnderShroud:
Type: CenterPosition
Mine:
CrushClasses: mine
DetonateClasses: mine
@@ -29,6 +30,7 @@ MINP:
MINV:
HiddenUnderShroud:
Type: CenterPosition
Mine:
CrushClasses: mine
DetonateClasses: mine
@@ -173,6 +175,7 @@ CAMERA:
HP: 1000
RevealsShroud:
Range: 10c0
Type: CenterPosition
ProximityCaptor:
Types: Camera
BodyOrientation:
@@ -189,6 +192,7 @@ camera.paradrop:
HP: 1000
RevealsShroud:
Range: 6c0
Type: CenterPosition
ProximityCaptor:
Types: Camera
BodyOrientation:
@@ -201,6 +205,7 @@ SONAR:
HP: 1000
RevealsShroud:
Range: 10c0
Type: CenterPosition
ProximityCaptor:
Types: Sonar
BodyOrientation:
@@ -213,11 +218,13 @@ FLARE:
OccupiesSpace: false
RevealsShroud:
Range: 3c0
Type: CenterPosition
RenderSprites:
Image: smokland
WithSpriteBody:
StartSequence: open
HiddenUnderFog:
Type: CenterPosition
Tooltip:
Name: Flare
ShowOwnerRow: false

View File

@@ -16,6 +16,7 @@ DPOD:
Type: Light
RevealsShroud:
Range: 5c0
Type: CenterPosition
Cargo:
Types: Infantry
MaxWeight: 1
@@ -50,6 +51,7 @@ DSHP:
Type: Heavy
RevealsShroud:
Range: 3c0
Type: CenterPosition
Cargo:
Types: Infantry
MaxWeight: 5
@@ -80,6 +82,7 @@ ORCA:
Type: Light
RevealsShroud:
Range: 10c0
Type: CenterPosition
Armament:
Weapon: Hellfire
AttackHeli:
@@ -118,6 +121,7 @@ ORCAB:
Type: Light
RevealsShroud:
Range: 2c0
Type: CenterPosition
Armament:
Weapon: Bomb
AttackPlane:
@@ -152,6 +156,7 @@ ORCATRAN:
Type: Light
RevealsShroud:
Range: 2c0
Type: CenterPosition
Cargo:
Types: Infantry
MaxWeight: 5
@@ -182,6 +187,7 @@ TRNSPORT:
Type: Light
RevealsShroud:
Range: 2c0
Type: CenterPosition
RenderSprites:
Hovers:
Selectable:
@@ -212,6 +218,7 @@ SCRIN:
Type: Light
RevealsShroud:
Range: 2c0
Type: CenterPosition
Armament:
Weapon: Proton
AttackPlane:
@@ -249,6 +256,7 @@ APACHE:
Type: Light
RevealsShroud:
Range: 2c0
Type: CenterPosition
Armament:
Weapon: HarpyClaw
AttackHeli:

View File

@@ -420,6 +420,7 @@
Voiced:
VoiceSet: Heli
HiddenUnderFog:
Type: CenterPosition
AttackMove:
Voice: Move
ActorLostNotification:

View File

@@ -35,6 +35,7 @@ CAMERA:
HP: 1000
RevealsShroud:
Range: 10c0
Type: CenterPosition
ProximityCaptor:
Types: Camera
BodyOrientation: