Skip to content

Instantly share code, notes, and snippets.

@MustaphaTR
Created May 7, 2017 05:53
Show Gist options
  • Select an option

  • Save MustaphaTR/4c10ecb03a0e1a569ede2dada9ea76e5 to your computer and use it in GitHub Desktop.

Select an option

Save MustaphaTR/4c10ecb03a0e1a569ede2dada9ea76e5 to your computer and use it in GitHub Desktop.
^Plane:
Inherits@1: ^ExistsInWorld
Inherits@2: ^SpriteActor
Huntable:
AppearsOnRadar:
UseLocation: true
HiddenUnderFog:
Type: CenterPosition
AlwaysVisibleStances: None
ActorLostNotification:
AttackMove:
DrawLineToTarget:
WithFacingSpriteBody:
WithShadow:
ornithopter:
Inherits: ^Plane
Targetable:
TargetTypes: Air
AttackBomber:
Armament:
Weapon: OrniBomb
Health:
HP: 900
Armor:
Type: light
Aircraft:
CruiseAltitude: 1920
Speed: 189
TurnSpeed: 2
Repulsable: False
CanHover: True
AmmoPool:
Ammo: 5
Tooltip:
Name: Ornithopter
SpawnActorOnDeath:
Actor: ornithopter.husk
RejectsOrders:
ornithopter.controllable:
Inherits: ornithopter
Valued:
Cost: 1000
Buildable:
Queue: Aircraft
BuildPaletteOrder: 2
Prerequisites: outpost, ~hightech.ornithopter, ~techlevel.6
BuildDuration: 555
BuildDurationModifier: 40
Description: Light air unit armed with dual rocket launchers.\n Strong vs Tanks\n Weak vs Infantry
-AttackBomber:
AmmoPool:
Ammo: 8
SelfReloads: true
SelfReloadDelay: 200
ResetOnFire: true
ReloadCount: 2
AttackPlane:
FacingTolerance: 20
Armament:
Weapon: OrniRocket
LocalOffset: 0,128,0, 0,-128,0
Aircraft:
Speed: 156
MaximumPitch: 56
CanHover: false
RevealsShroud:
Range: 4c0
Type: GroundPosition
Guard:
Voice: Guard
Guardable:
Selectable:
Bounds: 40,30,0,0
SelectionDecorations:
VisualBounds: 40,30,0,0
SpawnActorOnDeath:
Actor: ornithopter.controllable.husk
-RejectsOrders:
RenderSprites:
Image: ornithopter
swarmer:
Inherits: ^Plane
Valued:
Cost: 400
Buildable:
Queue: Aircraft
BuildPaletteOrder: 3
Prerequisites: outpost, ~hightech.swarmer, ~techlevel.6
BuildDuration: 300
BuildDurationModifier: 40
Description: Light plane armed with dual machine guns.\n Strong vs Tanks\n Weak vs Infantry
Tooltip:
Name: Swarmer
Health:
HP: 400
Armor:
Type: light
RevealsShroud:
Range: 5c0
Type: GroundPosition
AmmoPool:
Ammo: 24
PipCount: 8
SelfReloads: true
SelfReloadDelay: 200
ResetOnFire: true
ReloadCount: 4
AttackPlane:
FacingTolerance: 20
Armament@PRIMARY:
Weapon: ChainGun
LocalOffset: 256,-213,0
MuzzleSequence: muzzle
Armament@SECONDARY:
Name: secondary
Weapon: ChainGun
LocalOffset: 256,213,0
MuzzleSequence: muzzle
Aircraft:
CruiseAltitude: 1920
Speed: 196
TurnSpeed: 4
Repulsable: False
MaximumPitch: 56
CanHover: false
Guard:
Voice: Guard
Guardable:
WithMuzzleOverlay:
Targetable:
TargetTypes: Air
SpawnActorOnDeath:
Actor: swarmer.Husk
Selectable:
Bounds: 40,30,0,0
SelectionDecorations:
VisualBounds: 40,30,0,0
RenderSprites:
Scale: 0.8
PlayerPalette: raplayer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment