added PassengerTypes to rules
This commit is contained in:
@@ -57,6 +57,7 @@ namespace OpenRa.Game.GameRules
|
|||||||
public readonly int[] SelectionSize = null;
|
public readonly int[] SelectionSize = null;
|
||||||
public readonly int Passengers = 0;
|
public readonly int Passengers = 0;
|
||||||
public readonly int UnloadFacing = 0;
|
public readonly int UnloadFacing = 0;
|
||||||
|
public readonly UnitMovementType[] PassengerTypes = null;
|
||||||
|
|
||||||
public UnitInfo(string name) { Name = name; }
|
public UnitInfo(string name) { Name = name; }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ using OpenRa.Game.Graphics;
|
|||||||
|
|
||||||
namespace OpenRa.Game
|
namespace OpenRa.Game
|
||||||
{
|
{
|
||||||
enum UnitMovementType : byte
|
public enum UnitMovementType : byte
|
||||||
{
|
{
|
||||||
Foot = 0,
|
Foot = 0,
|
||||||
Track = 1,
|
Track = 1,
|
||||||
|
|||||||
@@ -62,6 +62,7 @@ MuzzleFlash=yes
|
|||||||
Voice=VehicleVoice
|
Voice=VehicleVoice
|
||||||
LongDesc=Tough infantry transport.\n Strong vs Infantry, Light Vehicles\n Weak vs Tanks, Aircraft
|
LongDesc=Tough infantry transport.\n Strong vs Infantry, Light Vehicles\n Weak vs Tanks, Aircraft
|
||||||
UnloadFacing=220
|
UnloadFacing=220
|
||||||
|
PassengerTypes=Foot
|
||||||
|
|
||||||
;; non-combat vehicles
|
;; non-combat vehicles
|
||||||
[MRJ]
|
[MRJ]
|
||||||
@@ -141,6 +142,7 @@ Description=Transport
|
|||||||
WaterBound=yes
|
WaterBound=yes
|
||||||
Traits=Unit, Mobile, RenderUnit, Cargo
|
Traits=Unit, Mobile, RenderUnit, Cargo
|
||||||
LongDesc=General-purpose naval transport.\nCan carry infantry and tanks.\n Unarmed
|
LongDesc=General-purpose naval transport.\nCan carry infantry and tanks.\n Unarmed
|
||||||
|
PassengerTypes=Foot,Wheel,Track
|
||||||
[PT]
|
[PT]
|
||||||
Description=Gunboat
|
Description=Gunboat
|
||||||
WaterBound=yes
|
WaterBound=yes
|
||||||
@@ -183,6 +185,7 @@ BuiltAt=hpad
|
|||||||
Traits=Unit, Helicopter, RenderUnitRotor, WithShadow, Cargo
|
Traits=Unit, Helicopter, RenderUnitRotor, WithShadow, Cargo
|
||||||
InitialFacing=20
|
InitialFacing=20
|
||||||
LongDesc=Fast Infantry Transport Helicopter.\n Unarmed
|
LongDesc=Fast Infantry Transport Helicopter.\n Unarmed
|
||||||
|
PassengerTypes=Foot
|
||||||
[HELI]
|
[HELI]
|
||||||
Description=Longbow
|
Description=Longbow
|
||||||
BuiltAt=hpad
|
BuiltAt=hpad
|
||||||
|
|||||||
Reference in New Issue
Block a user