Merge pull request #3063 from pchote/repairable-bridges

Repairable bridges, closes #2619
This commit is contained in:
Matthias Mailänder
2013-04-15 05:49:56 -07:00
41 changed files with 704 additions and 200 deletions

View File

@@ -246,7 +246,8 @@ BARL:
AutoTargetIgnore:
Armor:
Type: Light
-C4Demolishable:
TargetableBuilding:
TargetTypes: Ground, DemoTruck
BRL3:
Inherits: ^TechBuilding
@@ -261,7 +262,8 @@ BRL3:
AutoTargetIgnore:
Armor:
Type: Light
-C4Demolishable:
TargetableBuilding:
TargetTypes: Ground, DemoTruck
MISS:
Inherits: ^TechBuilding
@@ -320,6 +322,9 @@ BR1:
DamagedTemplate: 236
DestroyedTemplate: 237
SouthOffset: 0,2
FreeActor:
Actor: bridgehut
SpawnOffset: 2,0
BR2:
Inherits: ^Bridge
@@ -328,6 +333,9 @@ BR2:
DamagedTemplate: 239
DestroyedTemplate: 240
NorthOffset: 3,0
FreeActor:
Actor: bridgehut
SpawnOffset: 1,1
BR3:
Inherits: ^Bridge
@@ -352,6 +360,12 @@ BRIDGE1:
Building:
Footprint: _____ _____ _____
Dimensions: 5,3
FreeActor@north:
Actor: bridgehut
SpawnOffset: 2,-1
FreeActor@south:
Actor: bridgehut
SpawnOffset: 0,1
BRIDGE2:
Inherits: ^Bridge
@@ -362,6 +376,12 @@ BRIDGE2:
Building:
Footprint: _____ _____
Dimensions: 5,2
FreeActor@north:
Actor: bridgehut
SpawnOffset: 0,-1
FreeActor@south:
Actor: bridgehut
SpawnOffset: 2,1
SBRIDGE1:
Inherits: ^SVBridge
@@ -372,6 +392,13 @@ SBRIDGE1:
Building:
Footprint: ___ ___
Dimensions: 3,2
FreeActor@north:
Actor: bridgehut.small
SpawnOffset: 1,0
FreeActor@south:
Actor: bridgehut.small
SpawnOffset: 1,1
SBRIDGE2:
Inherits: ^SHBridge
Bridge:
@@ -381,6 +408,13 @@ SBRIDGE2:
Building:
Footprint: __ __ __
Dimensions: 2,3
FreeActor@west:
Actor: bridgehut.small
SpawnOffset: 0,1
FreeActor@east:
Actor: bridgehut.small
SpawnOffset: 1,1
SBRIDGE3:
Inherits: ^STDBridge
Bridge:
@@ -390,6 +424,13 @@ SBRIDGE3:
Building:
Footprint: ____ ____
Dimensions: 4,2
FreeActor@north:
Actor: bridgehut
SpawnOffset: 2,-1
FreeActor@south:
Actor: bridgehut
SpawnOffset: 0,1
SBRIDGE4:
Inherits: ^STDBridge
Bridge:
@@ -399,6 +440,34 @@ SBRIDGE4:
Building:
Footprint: ____ ____
Dimensions: 4,2
FreeActor@north:
Actor: bridgehut
SpawnOffset: 0,-1
FreeActor@south:
Actor: bridgehut
SpawnOffset: 2,1
BRIDGEHUT:
Building:
Footprint: __ __
Dimensions: 2,2
Selectable:
Selectable: false
Bounds: 48,48
BridgeHut:
TargetableBuilding:
TargetTypes: BridgeHut
BRIDGEHUT.small:
Building:
Footprint: _
Dimensions: 1,1
Selectable:
Selectable: false
Bounds: 24,24
BridgeHut:
TargetableBuilding:
TargetTypes: BridgeHut
#Desert Terrain Expansion
V20:

View File

@@ -96,7 +96,7 @@
Selectable:
Voice: GenericVoice
TargetableUnit:
TargetTypes: Ground
TargetTypes: Ground, Disguise
RenderInfantry:
AutoTarget:
DebugRetiliateAgainstAggressor:
@@ -196,7 +196,7 @@
Selectable:
Priority: 3
TargetableBuilding:
TargetTypes: Ground
TargetTypes: Ground, C4, DemoTruck
Building:
Dimensions: 1,1
Footprint: x
@@ -227,7 +227,6 @@
AcceptsSupplies:
GivesBounty:
UpdatesPlayerStatistics:
C4Demolishable:
DebugMuzzlePositions:
^Wall:
@@ -249,7 +248,7 @@
Selectable:
Priority: 1
TargetableBuilding:
TargetTypes: Ground
TargetTypes: Ground, C4, DemoTruck
RenderBuildingWall:
HasMakeAnimation: false
Palette: terrain
@@ -262,7 +261,6 @@
Types:Wall
Sellable:
UpdatesPlayerStatistics:
C4Demolishable:
^TechBuilding:
Inherits: ^Building

View File

@@ -167,6 +167,7 @@ E6:
Passenger:
PipType: Yellow
EngineerRepair:
RepairsBridges:
Captures:
TakeCover:
-AutoTarget: