MCVNEW:
	Inherits: ^Siege
    Power:
		Amount: 10
    Transforms:
		IntoActor: factnew
		Offset: -1,-1
		Facing: 160
		TransformSounds: constru2.aud, hvydoor1.aud
		NoTransformNotification: BuildingCannotPlaceAudio
	Valued:
		Cost: 4000
	Tooltip:
		Name: Supply wagon
	Buildable:
        IconPalette: raicon
		BuildPaletteOrder: 100
		Prerequisites: anyhq, ~techlevel.medium, vehicleproduction
		Description: Deploys into another Keep.\n  Unarmed
		Queue: MSiege.GDI, MSiege.Nod
	Selectable:
		Priority: 4
	AttackFrontal:
    Mobile:
        Crushes: crate, infantry
		Speed: 65
        TurnSpeed: 3
	Health:
		HP: 120000
	Armor:
		Type: Light
	RevealsShroud:
		Range: 8c0
    RenderSprites:
        Image: newmcv
        PlayerPalette: raplayer
    WithInfantryBody:
	MustBeDestroyed:
		RequiredForShortGame: true
	BaseBuilding:
	SelectionDecorations:
		VisualBounds: 36,36
    -WithDeathAnimation:
    SpawnActorOnDeath:
		Actor: MCVNEW.Husk 
        OwnerType: InternalName
		InternalOwner: Neutral
    SpawnActorOnDeath@2:
        Probability: 100
        Actor: emptyross
		OwnerType: InternalName
		InternalOwner: Neutral
    Voiced:
		VoiceSet: CivilianFemaleVoice

MCVNEW.Husk:
	Inherits: ^Husk
	Tooltip:
		Name: Supply wagon (Destroyed)
	TransformOnCapture:
		IntoActor: mcvnew
	RenderSprites:
		Image: mcvnew.destroyed
        PlayerPalette: raplayer
    Burns:
        Interval: 8
        

SIEGE1:
	Inherits: ^Siege
    Inherits@2: ^GainsExperience
	Valued:
		Cost: 600
	Tooltip:
		Name: Siege Ballista
	Buildable:
        IconPalette: raicon
		BuildPaletteOrder: 20
        Prerequisites: anyhq, ~techlevel.medium
		Description: Long-range artillery.\n  Strong vs Infantry, Cavalry and Buildings
		Queue: MSiege.Nod
	Mobile:
		TurnSpeed: 2
		Speed: 60
	Health:
		HP: 10000
	Armament:
		Weapon: siegebalista
	AttackFrontal:
    AutoTarget:
		ScanRadius: 11
    RenderSprites:
        Image: siege1
        PlayerPalette: raplayer
	WithInfantryBody:
		IdleSequences: stand
		DefaultAttackSequence: shoot
    Armor:
		Type: LightCavalry
    Selectable:
		Bounds: 35,35,0,-6
    Power:
		Amount: -4
    Targetable:
		TargetTypes: Ground, Siege


SIEGE2:
	Inherits: ^Siege
	Inherits@2: ^GainsExperience
	Valued:
		Cost: 1200
	Tooltip:
		Name: Siege Catapult
	Buildable:
        IconPalette: raicon
		BuildPaletteOrder: 20
        Prerequisites: anyhq, ~techlevel.medium
		Description: Long range boulder barrage.\n  Strong vs all Ground units.
		Queue: MSiege.GDI
	Mobile:
		Speed: 60
		TurnSpeed: 2
	Health:
		HP: 12000
	Armament:
        LocalOffset: 0,0,500
		Weapon: siegeboulder
	AttackFrontal:
    AutoTarget:
		ScanRadius: 12
    RenderSprites:
        Image: siege2
        PlayerPalette: raplayer
	WithInfantryBody:
		IdleSequences: stand
		DefaultAttackSequence: shoot
    Armor:
		Type: LightCavalry
    Selectable:
		Bounds: 35,35,0,-6
    Power:
		Amount: -4
    Targetable:
		TargetTypes: Ground, Siege
        

SIEGE3:
	Inherits: ^Siege
	Inherits@2: ^GainsExperience
    ConditionManager:
    Cargo:
        MaxWeight: 6
        PipCount: 6
        Types: Archer, Infantry
        InitialUnits: e4new, e4new
	Valued:
		Cost: 600
	Tooltip:
		Name: Siege Tower
	Buildable:
        IconPalette: raicon
		BuildPaletteOrder: 20
        Prerequisites: barracks, ~techlevel.medium
		Description: Strong siege weapon.\nYou can station up to 4 Archers shooting of it\n Highly Armored, Crushes walls
		Queue: MSiege.GDI
	Mobile:
        Crushes: wall, heavywall, crate, infantry
		Speed: 55
        SharesCell: false
        TurnSpeed: 3
    Health:
		HP: 35000
    WithRoof:
        Sequence: top
    RenderSprites:
        Image: siege3
        PlayerPalette: raplayer
	WithInfantryBody:
		IdleSequences: stand
    BodyOrientation:
		QuantizedFacings: 32
    AutoTarget:
		ScanRadius: 7
        InitialStance: AttackAnything
    Armor:
		Type: HeavyCavalry
    Selectable:
		Bounds: 42,54,0,-8
    SelectionDecorations:
		VisualBounds: 42,54,0,-8
    Power:
		Amount: -4
    WithCargo:
        LocalOffset: -150,-150,950, 150,-150,950, -150,150,950, 150,150,950
        DisplayTypes: Archer
    AttackGarrisoned:
        Armaments: garrisoned
        PortOffsets: -150,-150,950, 150,-150,950, -150,150,950, 150,150,950
        PortYaws: 360, 360, 360, 360
        PortCones: 360, 360, 360, 360
    Targetable:
		TargetTypes: Ground, Siege

SIEGE4:
	Inherits: ^Siege
	Inherits@2: ^GainsExperience
    ConditionManager:
    Cargo:
        MaxWeight: 8
        PipCount: 8
        Types: Infantry, Archer
        EjectOnDeath: True
	Valued:
		Cost: 700
	Tooltip:
		Name: Battering Ram
	Buildable:
        IconPalette: raicon
		BuildPaletteOrder: 20
        Prerequisites: barracks, ~techlevel.medium
		Description: Strong anti Building siege weapon.\n You can station up to 8 Infantry in it\n Highly Armored, Crushes walls\n Getting faster with each infantry stationed
		Queue: MSiege.Nod
    Mobile:
        Crushes: wall, heavywall, crate, infantry
		Speed: 30
        SharesCell: false
        TurnSpeed: 2
    Health:
		HP: 50000
    RenderSprites:
        Image: siege5
        PlayerPalette: raplayer
	WithInfantryBody:
		IdleSequences: stand
        MoveSequence: run
		DefaultAttackSequence: shoot
    Armor:
		Type: Knight
    Selectable:
		Bounds: 42,38,0,-8
    SelectionDecorations:
		VisualBounds: 42,38,0,-8
    AttackFrontal:
    Power:
		Amount: -4
    Targetable:
		TargetTypes: Ground, Siege
    AutoTarget:
		ScanRadius: 7
        InitialStance: AttackAnything
    Armament:
        Weapon: battering
    SpeedMultiplier:
        RequiresCondition: batteringupgrade == 1
        Modifier: 110
    SpeedMultiplier@1:
        RequiresCondition: batteringupgrade == 2
        Modifier: 120
    SpeedMultiplier@2:
        RequiresCondition: batteringupgrade == 3
        Modifier: 130
    SpeedMultiplier@3:
        RequiresCondition: batteringupgrade == 4
        Modifier: 140
    SpeedMultiplier@4:
        RequiresCondition: batteringupgrade == 5
        Modifier: 160
    SpeedMultiplier@5:
        RequiresCondition: batteringupgrade == 6
        Modifier: 180
    SpeedMultiplier@6:
        RequiresCondition: batteringupgrade == 7
        Modifier: 200
    SpeedMultiplier@7:
        RequiresCondition: batteringupgrade == 8
        Modifier: 220
    ReloadDelayMultiplier@1:
        RequiresCondition: batteringupgrade == 1
        Modifier: 94
    ReloadDelayMultiplier@2:
        RequiresCondition: batteringupgrade == 2
        Modifier: 82 
    ReloadDelayMultiplier@3:
        RequiresCondition: batteringupgrade == 3
        Modifier: 76
    ReloadDelayMultiplier@4:
        RequiresCondition: batteringupgrade == 4
        Modifier: 70
    ReloadDelayMultiplier@5:
        RequiresCondition: batteringupgrade == 5
        Modifier: 64
    ReloadDelayMultiplier@6:
        RequiresCondition: batteringupgrade == 6
        Modifier: 58
    ReloadDelayMultiplier@7:
        RequiresCondition: batteringupgrade == 7
        Modifier: 52     
    ReloadDelayMultiplier@8:
        RequiresCondition: batteringupgrade == 8
        Modifier: 46 
        
EHARVXL:
	Inherits: ^Siege
    BodyOrientation:
        QuantizedFacings: 8
    QuantizeFacingsFromSequence:
		Sequence: stand
    WithInfantryBody:
		IdleSequences: idle
        MoveSequence: move
        RequiresCondition: MoveAnim
    #-WithInfantryBody:
    GrantConditionOnMovement:
        Condition: MoveAnim
    WithFacingSpriteBody:
        Sequence: idle
        RequiresCondition: !MoveAnim
    #WithFacingSpriteBody@MOVING:
    #    Sequence: move
    #    RequiresCondition: MoveAnim
    WithHarvestAnimation:
        HarvestSequence: harvest
        PrefixByFullness: empty-, half-, full-
    WithDockingAnimation:
    #WithMoveAnimation:
    #    MoveSequence: move
	Valued:
		Cost: 1000
	Tooltip:
		Name: Harvester
	Buildable:
        IconPalette: raicon
		BuildPaletteOrder: 0
		Description: Collects iron, copper and gold ore.\n  Unarmed
		Queue: MVehicle.GDI, MVehicle.Nod
    Mobile:
        TurnSpeed: 5
		Speed: 85
        SharesCell: false
	Health:
		HP: 30000
    RenderSprites:
        Image: eharvxl
        PlayerPalette: raplayer
    AttackFrontal:
    Armor:
		Type: HeavyCavalry       
    Selectable:
		Priority: 7
    Harvester:
		Resources: Tiberium, BlueTiberium, Copper
		PipCount: 7
		Capacity: 20
		BaleLoadDelay: 12
		BaleUnloadDelay: 3
		SearchFromProcRadius: 25
		SearchFromOrderRadius: 15
    Selectable:
		Bounds: 36,36,0,0
	SelectionDecorations:
		VisualBounds: 36,36,0,0
        
PLANEWAGEN:
	Inherits: ^Siege
    Cargo:
        MaxWeight: 8
        PipCount: 8
        Types: Infantry, Archer
	Valued:
		Cost: 500
	Tooltip:
		Name: Covered Wagon
	Mobile:
		TurnSpeed: 2
		Speed: 60
	Health:
		HP: 10000
    AttackFrontal:
    RenderSprites:
        Image: planewagen
        PlayerPalette: raplayer
	WithInfantryBody:
		IdleSequences: stand
    Armor:
		Type: LightCavalry
    Selectable:
		Bounds: 35,35,0,-6
    Targetable:
		TargetTypes: Ground, Siege
