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
		Description: Deploys into another Keep.\n  Unarmed
	Buildable:
        IconPalette: ra
		BuildPaletteOrder: 100
		Prerequisites: anyhq, ~techlevel.medium, vehicleproduction
		Queue: MSiege.GDI, MSiege.Nod
	Selectable:
		Priority: 4
	AttackFrontal:
    Mobile:
		Speed: 65
        TurnSpeed: 3
	Health:
		HP: 120000
	Armor:
		Type: Light
	RevealsShroud:
		Range: 8c0
    RenderSprites:
        Image: newmcv
        PlayerPalette: raplayer
    WithInfantryBody:
	MustBeDestroyed:
		RequiredForShortGame: true
	BaseBuilding:
	-GainsExperience:
	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)
		Icon: mcvicnh
	TransformOnCapture:
		IntoActor: mcvnew
	RenderSprites:
		Image: mcvnew.destroyed
        PlayerPalette: raplayer
    Burns:
        Interval: 8
        

SIEGE1:
	Inherits: ^Siege
	Valued:
		Cost: 900
	Tooltip:
		Name: Siege Ballista
		Description: Long-range artillery.\n  Strong vs Infantry, Cavalry and Buildings
	Buildable:
        IconPalette: ra
		BuildPaletteOrder: 20
        Prerequisites: anyhq, ~techlevel.medium
		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
		AttackSequence: shoot
    Armor:
		Type: LightCavalry
    Selectable:
		Bounds: 35,35,0,-6
    Power:
		Amount: -4
    Targetable:
		TargetTypes: Ground, Siege


SIEGE2:
	Inherits: ^Siege
	Valued:
		Cost: 1000
	Tooltip:
		Name: Siege Catapult
		Description: Long range boulder barrage.\n  Strong vs all Ground units.
	Buildable:
        IconPalette: ra
		BuildPaletteOrder: 20
        Prerequisites: anyhq, ~techlevel.medium
		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
		AttackSequence: shoot
    Armor:
		Type: LightCavalry
    Selectable:
		Bounds: 35,35,0,-6
    Power:
		Amount: -4
    Targetable:
		TargetTypes: Ground, Siege
        

SIEGE3:
	Inherits: ^Siege
    UpgradeManager:
    Cargo:
        MaxWeight: 4
        PipCount: 4
        Types: Archer
        InitialUnits: e4new, e4new
        EjectOnDeath: True
	Valued:
		Cost: 800
	Tooltip:
		Name: Siege Tower
		Description: Strong siege weapon.\nYou can station up to 4 Archers shooting of it\n Highly Armored, Crushes walls
	Buildable:
        IconPalette: ra
		BuildPaletteOrder: 20
        Prerequisites: barracks, ~techlevel.medium
		Queue: MSiege.GDI
	Mobile:
        Crushes: wall, heavywall, crate, infantry
		Speed: 55
        SharesCell: false
        TurnSpeed: 3
    Health:
		HP: 40000
    WithIdleOverlay@top:
        Sequence: top
    RenderSprites:
        Image: siege3
        PlayerPalette: raplayer
	-WithInfantryBody:
    WithFacingSpriteBody:
        IdleSequence: idle
    BodyOrientation:
		UseClassicFacingFudge: True
    WithMoveAnimation:
		MoveSequence: run
    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: -106,-244,882, 356,-244,882, -106,150,882, 356,150,882
        DisplayTypes: Archer
    AttackGarrisoned:
        Armaments: garrisoned
        PortOffsets: -106,-244,882, 356,-244,882, -106,150,882, 356,150,882
        PortYaws: 360, 360, 360, 360
        PortCones: 360, 360, 360, 360
    Targetable:
		TargetTypes: Ground, Siege

SIEGE4:
	Inherits: ^Siege
    UpgradeManager:
    Cargo:
        MaxWeight: 8
        PipCount: 8
        Types: Infantry, Archer
        EjectOnDeath: True
	Valued:
		Cost: 700
	Tooltip:
		Name: Battering Ram
		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
	Buildable:
        IconPalette: ra
		BuildPaletteOrder: 20
        Prerequisites: barracks, ~techlevel.medium
		Queue: MSiege.Nod
    Mobile:
        Crushes: wall, heavywall, crate, infantry
		Speed: 20
        SharesCell: false
        TurnSpeed: 2
    Health:
		HP: 50000
    RenderSprites:
        Image: siege5
        PlayerPalette: raplayer
	WithInfantryBody:
		IdleSequences: stand
        MoveSequence: run
		AttackSequence: 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:
        UpgradeTypes: batteringupgrade
        Modifier: 110,120,130,140,160,180,200,220,240
        BaseLevel: 1
    ReloadDelayMultiplier:
        UpgradeTypes: batteringupgrade
        Modifier: 94,82,76,70,64,58,52,46
        BaseLevel: 1      
        
EHARVXL:
	Inherits: ^Siege
    BodyOrientation:
        QuantizedFacings: 8
    QuantizeFacingsFromSequence:
		Sequence: stand
    -WithInfantryBody:
    WithFacingSpriteBody:
        Sequence: idle
    WithHarvestAnimation:
        HarvestSequence: harvest
        PrefixByFullness: empty-, half-, full-
    WithDockingAnimation:
    WithMoveAnimation:
        MoveSequence: move
	Valued:
		Cost: 1000
	Tooltip:
		Name: Harvester
		Description: Collects iron, copper and gold ore.\n  Unarmed
	Buildable:
        IconPalette: ra
		BuildPaletteOrder: 0
		Queue: MVehicle.GDI, MVehicle.Nod
    Mobile:
        TurnSpeed: 5
		Speed: 85
        SharesCell: false
	Health:
		HP: 60000
    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