Generalize RallyPointInfo.Offset to support arbitrary length paths.

This commit is contained in:
Paul Chote
2020-02-09 15:30:14 +00:00
committed by abcdefg30
parent 9dc4ea8541
commit b2f0ac15e8
16 changed files with 80 additions and 25 deletions

View File

@@ -376,7 +376,7 @@ HAND:
Range: 5c0
WithBuildingBib:
RallyPoint:
Offset: 1,2
Path: 1,2
Exit@1:
SpawnOffset: 512,1024,0
ExitCell: 1,2
@@ -432,7 +432,7 @@ AFLD:
RevealsShroud:
Range: 7c0
RallyPoint:
Offset: 4,2
Path: 4,2
Exit@1:
SpawnOffset: -1024,0,0
ExitCell: 3,1
@@ -497,7 +497,7 @@ WEAP:
RequiresCondition: !build-incomplete
Sequence: build-top
RallyPoint:
Offset: 0,2
Path: 0,2
Exit@1:
SpawnOffset: -512,-512,0
ExitCell: 0,1

View File

@@ -106,7 +106,7 @@ BIO:
ProductionBar:
ProductionType: Biolab
RallyPoint:
Offset: -1,-1
Path: -1,-1
SpawnActorOnDeath:
Actor: BIO.Husk
ProvidesPrerequisite@buildingname:

View File

@@ -202,7 +202,7 @@ barracks:
RevealsShroud:
Range: 3c768
RallyPoint:
Offset: 1,2
Path: 1,2
Exit@1:
SpawnOffset: 352,576,0
ExitCell: 0,2
@@ -418,7 +418,7 @@ light_factory:
Queues: Vehicle
Sequence: production-welding
RallyPoint:
Offset: 2,2
Path: 2,2
Exit@1:
SpawnOffset: 544,-224,0
ExitCell: 2,1
@@ -500,7 +500,7 @@ heavy_factory:
RevealsShroud:
Range: 4c768
RallyPoint:
Offset: 0,3
Path: 0,3
Exit@1:
SpawnOffset: 256,192,0
ExitCell: 0,2
@@ -652,7 +652,7 @@ starport:
RevealsShroud:
Range: 3c768
RallyPoint:
Offset: 1,3
Path: 1,3
Exit@1:
SpawnOffset: 0,-480,0
ExitCell: 2,2
@@ -907,7 +907,7 @@ repair_pad:
FinishRepairingNotification: UnitRepaired
PlayerExperience: 15
RallyPoint:
Offset: 1,3
Path: 1,3
RenderSprites:
Image: repair_pad.ordos
FactionImages:

View File

@@ -1814,7 +1814,7 @@ KENN:
WithBuildingBib:
HasMinibib: True
RallyPoint:
Offset: 0,2
Path: 0,2
Exit@0:
RequiresCondition: !being-captured
SpawnOffset: -280,400,0

View File

@@ -96,7 +96,7 @@ GAPILE:
Range: 5c0
MaxHeightDelta: 3
RallyPoint:
Offset: 2,3
Path: 2,3
Palette: mouse
IsPlayerPalette: false
LineWidth: 2
@@ -196,7 +196,7 @@ GAWEAP:
Armor:
Type: Heavy
RallyPoint:
Offset: 4,1
Path: 4,1
Palette: mouse
IsPlayerPalette: false
LineWidth: 2

View File

@@ -150,7 +150,7 @@ NAHAND:
ExitCell: 0,2
ExitsDebugOverlay:
RallyPoint:
Offset: 3,3
Path: 3,3
Palette: mouse
IsPlayerPalette: false
LineWidth: 2
@@ -208,7 +208,7 @@ NAWEAP:
Range: 4c0
MaxHeightDelta: 3
RallyPoint:
Offset: 4,1
Path: 4,1
Palette: mouse
IsPlayerPalette: false
LineWidth: 2