Disallow building placement on bridges and fix radar color.
This commit is contained in:
@@ -20,7 +20,7 @@ namespace OpenRA.Mods.TS.Traits
|
|||||||
[Desc("Bridge actor that can't be passed underneath.")]
|
[Desc("Bridge actor that can't be passed underneath.")]
|
||||||
class LowBridgeInfo : ITraitInfo, Requires<BuildingInfo>
|
class LowBridgeInfo : ITraitInfo, Requires<BuildingInfo>
|
||||||
{
|
{
|
||||||
public readonly string TerrainType = "Road";
|
public readonly string TerrainType = "Bridge";
|
||||||
|
|
||||||
public object Create(ActorInitializer init) { return new LowBridge(init.Self, this); }
|
public object Create(ActorInitializer init) { return new LowBridge(init.Self, this); }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -261,6 +261,7 @@
|
|||||||
TerrainSpeeds:
|
TerrainSpeeds:
|
||||||
Clear: 90
|
Clear: 90
|
||||||
Road: 100
|
Road: 100
|
||||||
|
Bridge: 100
|
||||||
Rail: 90
|
Rail: 90
|
||||||
DirtRoad: 100
|
DirtRoad: 100
|
||||||
Rough: 80
|
Rough: 80
|
||||||
@@ -430,6 +431,7 @@
|
|||||||
TerrainSpeeds:
|
TerrainSpeeds:
|
||||||
Clear: 70
|
Clear: 70
|
||||||
Road: 100
|
Road: 100
|
||||||
|
Bridge: 100
|
||||||
Rail: 50
|
Rail: 50
|
||||||
DirtRoad: 90
|
DirtRoad: 90
|
||||||
Rough: 40
|
Rough: 40
|
||||||
@@ -497,6 +499,7 @@
|
|||||||
TerrainSpeeds:
|
TerrainSpeeds:
|
||||||
Clear: 70
|
Clear: 70
|
||||||
Road: 100
|
Road: 100
|
||||||
|
Bridge: 100
|
||||||
Rail: 100
|
Rail: 100
|
||||||
DirtRoad: 90
|
DirtRoad: 90
|
||||||
Rough: 60
|
Rough: 60
|
||||||
@@ -632,6 +635,7 @@
|
|||||||
TerrainSpeeds:
|
TerrainSpeeds:
|
||||||
Clear: 90
|
Clear: 90
|
||||||
Road: 100
|
Road: 100
|
||||||
|
Bridge: 100
|
||||||
Rail: 80
|
Rail: 80
|
||||||
DirtRoad: 90
|
DirtRoad: 90
|
||||||
Rough: 70
|
Rough: 70
|
||||||
@@ -891,7 +895,7 @@
|
|||||||
AutoSelectionSize:
|
AutoSelectionSize:
|
||||||
AppearsOnRadar:
|
AppearsOnRadar:
|
||||||
RadarColorFromTerrain:
|
RadarColorFromTerrain:
|
||||||
Terrain: Road
|
Terrain: Bridge
|
||||||
BodyOrientation:
|
BodyOrientation:
|
||||||
UseClassicPerspectiveFudge: false
|
UseClassicPerspectiveFudge: false
|
||||||
QuantizedFacings: 1
|
QuantizedFacings: 1
|
||||||
|
|||||||
@@ -62,6 +62,7 @@ HVR:
|
|||||||
TerrainSpeeds:
|
TerrainSpeeds:
|
||||||
Clear: 100
|
Clear: 100
|
||||||
Road: 100
|
Road: 100
|
||||||
|
Bridge: 100
|
||||||
Rail: 100
|
Rail: 100
|
||||||
DirtRoad: 100
|
DirtRoad: 100
|
||||||
Rough: 100
|
Rough: 100
|
||||||
|
|||||||
@@ -78,6 +78,7 @@ FLAMEGUY:
|
|||||||
TerrainSpeeds:
|
TerrainSpeeds:
|
||||||
Clear: 45
|
Clear: 45
|
||||||
Road: 50
|
Road: 50
|
||||||
|
Bridge: 50
|
||||||
Rail: 45
|
Rail: 45
|
||||||
DirtRoad: 50
|
DirtRoad: 50
|
||||||
Rough: 40
|
Rough: 40
|
||||||
|
|||||||
@@ -67,6 +67,7 @@ HARV:
|
|||||||
Clear: 90
|
Clear: 90
|
||||||
Rough: 70
|
Rough: 70
|
||||||
Road: 100
|
Road: 100
|
||||||
|
Bridge: 100
|
||||||
Beach: 70
|
Beach: 70
|
||||||
Tiberium: 80
|
Tiberium: 80
|
||||||
BlueTiberium: 80
|
BlueTiberium: 80
|
||||||
|
|||||||
@@ -18,6 +18,10 @@ Terrain:
|
|||||||
Type: Road
|
Type: Road
|
||||||
Color: 2D2B28
|
Color: 2D2B28
|
||||||
TargetTypes: Ground
|
TargetTypes: Ground
|
||||||
|
TerrainType@Bridge:
|
||||||
|
Type: Bridge
|
||||||
|
Color: 5A5C5A
|
||||||
|
TargetTypes: Ground
|
||||||
TerrainType@Rail:
|
TerrainType@Rail:
|
||||||
Type: Rail
|
Type: Rail
|
||||||
Color: 363739
|
Color: 363739
|
||||||
|
|||||||
@@ -18,6 +18,10 @@ Terrain:
|
|||||||
Type: Road
|
Type: Road
|
||||||
Color: 745537
|
Color: 745537
|
||||||
TargetTypes: Ground
|
TargetTypes: Ground
|
||||||
|
TerrainType@Bridge:
|
||||||
|
Type: Bridge
|
||||||
|
Color: 403C34
|
||||||
|
TargetTypes: Ground
|
||||||
TerrainType@Rail:
|
TerrainType@Rail:
|
||||||
Type: Rail
|
Type: Rail
|
||||||
Color: 745537
|
Color: 745537
|
||||||
|
|||||||
Reference in New Issue
Block a user