Specify interaction bounds relative to the mod tile size.

This commit is contained in:
Paul Chote
2021-03-27 14:51:28 +00:00
committed by teinarss
parent 852241d98e
commit 7c0e4b25ae
36 changed files with 291 additions and 233 deletions

View File

@@ -134,7 +134,7 @@ ORCA:
Prerequisites: ~gahpad
Description: Fast assault gunship with\ndual missile launchers.\n Strong vs Buildings, Vehicles\n Weak vs Infantry, Aircraft
Selectable:
Bounds: 30,24
Bounds: 905, 1448
Aircraft:
TurnSpeed: 20
Speed: 186
@@ -195,7 +195,7 @@ ORCAB:
Prerequisites: ~gahpad, gatech
Description: Heavy bomber.\n Strong vs Buildings, Vehicles\n Weak vs Infantry, Aircraft
Selectable:
Bounds: 30,24
Bounds: 905, 1448
Aircraft:
CruiseAltitude: 5c512
TurnSpeed: 12
@@ -323,7 +323,7 @@ TRNSPORT:
Type: CenterPosition
RenderSprites:
Selectable:
Bounds: 44,32,0,-8
Bounds: 1327, 1930, 0, -482
SpawnActorOnDeath:
Actor: TRNSPORT.Husk
RequiresCondition: !empdisable
@@ -347,7 +347,7 @@ SCRIN:
Prerequisites: ~nahpad, natech
Description: Advanced fighter-bomber craft\nwith twin plasma cannons.\n Strong vs Buildings, Vehicles\n Weak vs Infantry, Aircraft
Selectable:
Bounds: 30,24
Bounds: 905, 1448
Voiced:
VoiceSet: Scrin
Aircraft:
@@ -414,7 +414,7 @@ APACHE:
Prerequisites: ~nahpad
Description: Anti-personnel support gunship\narmed with dual chain guns.\n Strong vs Infantry, Light armor, Aircraft\n Weak vs Vehicles
Selectable:
Bounds: 30,24
Bounds: 905, 1448
Aircraft:
Pitch: -32
PitchSpeed: 8

View File

@@ -89,7 +89,7 @@ LOBRDG_A_D:
AOffset: 1,-1
BOffset: 1,1
Interactable:
Bounds: 96, 48
Bounds: 2896, 2896
LOBRDG_B:
Inherits: ^LowBridge
@@ -128,7 +128,7 @@ LOBRDG_B_D:
AOffset: 1,1
BOffset: -1,1
Interactable:
Bounds: 96, 48
Bounds: 2896, 2896
LOBRDG_R_SE:
Inherits: ^LowBridgeRamp
@@ -190,7 +190,7 @@ LOBRDG_R_SW:
MapEditorData:
Categories: Bridge
Interactable:
Bounds: 96, 144
Bounds: 2896, 8688
BRIDGE1:
Inherits: ^ElevatedBridgePlaceholder

View File

@@ -10,7 +10,7 @@ DOGGIE:
Health:
HP: 25000
Selectable:
Bounds: 24,24
Bounds: 724, 1448
Valued:
Cost: 100
Armor:
@@ -138,7 +138,7 @@ JFISH:
Image: floater
Palette: player-nobright
Selectable:
Bounds: 32,32,0,-5
Bounds: 965, 1930, 0, -301
AmbientSound:
SoundFiles: floatmov.aud, flotmov2.aud, flotmov3.aud, flotmov4.aud
Delay: 150, 450

View File

@@ -466,7 +466,7 @@
MapEditorData:
Categories: System
Interactable:
Bounds: 24,24
Bounds: 724, 1448
^Wall:
Inherits@1: ^SpriteActor
@@ -570,8 +570,8 @@
Locomotor: foot
TurnOnIdle:
Selectable:
DecorationBounds: 15,23,0,-9
Bounds: 24,24,0,-9
DecorationBounds: 452, 1387, 0, -543
Bounds: 724, 1448, 0, -543
Voiced:
VoiceSet: Infantry
Targetable:
@@ -781,7 +781,7 @@
TurnSpeed: 20
Voice: Move
Selectable:
Bounds: 40,24
Bounds: 1206, 1448
Voiced:
VoiceSet: Vehicle
Targetable:
@@ -987,7 +987,7 @@
TurnSpeed: 64
Locomotor: visceroid
Selectable:
Bounds: 26,26,0,-3
Bounds: 784, 1568, 0, -181
Targetable:
TargetTypes: Ground, Creep
AttackMove:
@@ -1151,7 +1151,7 @@
MaxHeightDelta: 3
RequiresCondition: !inside-tunnel
Selectable:
Bounds: 40,24
Bounds: 1206, 1448
Voiced:
VoiceSet: Vehicle
Targetable:
@@ -1213,7 +1213,7 @@
MapEditorData:
Categories: Tunnel
Interactable:
Bounds: 144, 144
Bounds: 4344, 8688
^Gate:
Inherits: ^Building

View File

@@ -68,7 +68,7 @@ HVR:
Speed: 99
Locomotor: hover
Selectable:
Bounds: 40,24,0,-10
Bounds: 1206, 1448, 0, -603
Health:
HP: 23000
Armor:
@@ -153,7 +153,7 @@ SMECH:
MoveSequence: walk
ValidMovementTypes: Horizontal, Turn
Selectable:
Bounds: 20, 32, 0, -8
Bounds: 603, 1930, 0, -482
-DamagedByTerrain@VEINS:
-LeavesTrails@VEINS:
@@ -214,7 +214,7 @@ MMCH:
WithVoxelBarrel:
LocalOffset: 0,51,256
Selectable:
Bounds: 30, 42, 0, -8
Bounds: 905, 2534, 0, -482
Carryable:
LocalOffset: 0,0,577
@@ -261,7 +261,7 @@ HMEC:
WithVoxelWalkerBody:
TickRate: 1
Selectable:
Bounds: 40, 40, 0, -8
Bounds: 1206, 2413, 0, -482
Carryable:
LocalOffset: 0,0,509
@@ -416,4 +416,4 @@ JUGG:
RevealOnFire:
ArmamentNames: deployed
Selectable:
DecorationBounds: 48,40,0,-8
DecorationBounds: 1448, 2413, 0, -482

View File

@@ -53,8 +53,8 @@ CYBORG:
Prerequisites: ~nahand, ~techlevel.medium
Description: Cybernetic infantry unit.\n Strong vs Infantry, Light armor\n Weak vs Vehicles, Aircraft
Selectable:
Bounds: 16,31,0,-10
DecorationBounds: 16,31,0,-10
Bounds: 482, 1870, 0, -603
DecorationBounds: 482, 1870, 0, -603
Voiced:
VoiceSet: Cyborg
Mobile:
@@ -91,8 +91,8 @@ CYC2:
BuildLimit: 1
Description: Elite cybernetic infantry unit.\n Strong vs Infantry, Vehicles, Buildings\n Weak vs Aircraft\nMaximum 1 can be trained.
Selectable:
Bounds: 16,32,-1,-12
DecorationBounds: 16,32,-1,-12
Bounds: 482, 1930, -30, -724
DecorationBounds: 482, 1930, -30, -724
Voiced:
VoiceSet: CyborgCommando
Mobile:

View File

@@ -162,7 +162,7 @@ NAFNCE:
Pieces: 0, 1
Range: 2c0, 5c0
Interactable:
Bounds: 48, 24
Bounds: 1448, 1448
NALASR:
Inherits: ^Defense

View File

@@ -12,7 +12,7 @@ MCV:
Tooltip:
Name: Mobile Construction Vehicle
Selectable:
DecorationBounds: 42,42
DecorationBounds: 1267, 2534
Health:
HP: 100000
Armor:
@@ -54,8 +54,8 @@ HARV:
Prerequisites: ~factory, proc, ~techlevel.low
Description: Collects Tiberium for processing.\n Unarmed
Selectable:
Bounds: 36,36
DecorationBounds: 36,36
Bounds: 1086, 2172
DecorationBounds: 1086, 2172
Harvester:
DeliveryBuildings: proc
Capacity: 28