Template/ACRocket

From Data Realms Wiki

Jump to: navigation, search

This is the source code for a Dummy rocket. It contains all of the required declarations to create your own rocket.

AddEffect = ACRocket
	PresetName = Rocklet
	Description = Small and compact space transport.  Incredibly light and fast.
	AddToGroup = Craft
	Mass = 480
	Position = Vector
		X = 520
		Y = 20
	Velocity = Vector
		X = 0
		Y = -5
	HitsMOs = 1
	GetsHitByMOs = 1
	SpriteFile = ContentFile
		FilePath = Dummy.rte/Crafts/Dummy Rocket/RocketBodyA.bmp
	FrameCount = 6
	SpriteOffset = Vector
		X = -13
		Y = -22
	EntryWound = AEmitter
		CopyOf = Gas Leak
	ExitWound = AEmitter
		CopyOf = Gas Leak
	GoldValue = 30
	AtomGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Civilian Stuff
		Resolution = 8
		Depth = 0
	DeepGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Civilian Stuff
		Resolution = 20
		Depth = 10
	DeepCheck = 1
	BodyHitSound = Sound
		CopyOf = Metal Body Blunt Hit
	Status = 0
	Health = 100
	ImpulseDamageThreshold = 3000
	Team = 0
	AimAngle = 0
	AimDistance = 30
	CharHeight = 50
	HolsterOffset = Vector
		X = -6
		Y = 14
	RLeg = Leg
		CopyOf = Dummy Rocket Leg A
		ParentOffset = Vector
			X = 8
			Y = 17
	LLeg = Leg
		CopyOf = Dummy Rocket Leg A
		ParentOffset = Vector
			X = -7
			Y = 18
	RFootGroup = AtomGroup
		CopyOf = Rocket Landing Gear Foot Right
	LFootGroup = AtomGroup
		CopyOf = Rocket Landing Gear Foot Left
	MThruster = AEmitter
		CopyOf = Dummy Rocket Main Thruster
		ParentOffset = Vector
			X = 0
			Y = 20
	RThruster = AEmitter
		CopyOf = Dummy Rocket Side Thruster
		ParentOffset = Vector
			X = 12
			Y = -16
	LThruster = AEmitter
		CopyOf = Dummy Rocket Side Thruster
		ParentOffset = Vector
			X = -13
			Y = -16
	URThruster = AEmitter
		CopyOf = Dummy Rocket Side Thruster
		ParentOffset = Vector
			X = 12
			Y = 12
	ULThruster = AEmitter
		CopyOf = Dummy Rocket Side Thruster
		ParentOffset = Vector
			X = -13
			Y = 12
	HatchDelay = 250
	HatchOpenSound = Sound
		AddSample = ContentFile
			Path = Base.rte/Actors/Rockets/HatchOpen.wav
	AddExit = Exit
		Offset = Vector
			X = 15
			Y = 2
		Velocity = Vector
			X = 5
			Y = 0
		Radius = 12
	AddExit = Exit
		Offset = Vector
			X = -15
			Y = 2
		Velocity = Vector
			X = -5
			Y = 0
		Radius = 12
	RaisedGearLimbPath = LimbPath
		PresetName = Rocket Gear Raised Path
		StartOffset = Vector
			X = 0
			Y = 5
		StartSegCount = 0
		SlowTravelSpeed = 0.25
		NormalTravelSpeed = 12
		FastTravelSpeed = 10
		PushForce = 10000
	LoweredGearLimbPath = LimbPath
		PresetName = Rocket Gear Lowered Path
		StartOffset = Vector
			X = 5
			Y = 11
		StartSegCount = 0
		SlowTravelSpeed = 0.25
		NormalTravelSpeed = 12
		FastTravelSpeed = 10
		PushForce = 5000
	LoweringGearLimbPath = LimbPath
		PresetName = Rocket Gear Lowering Path
		StartOffset = Vector
			X = 5
			Y = -10
		StartSegCount = 0
		AddSegment = Vector
			X = 30
			Y = 3
		AddSegment = Vector
			X = -2
			Y = 13
		AddSegment = Vector
			X = -10
			Y = 8
		SlowTravelSpeed = 0.25
		NormalTravelSpeed = 0.5
		FastTravelSpeed = 1
		PushForce = 20000
	RaisingGearLimbPath = LimbPath
		PresetName = Rocket Gear Raising Path
		StartOffset = Vector
			X = 5
			Y = 8
		StartSegCount = 0
		AddSegment = Vector
			X = 11
			Y = -13
		AddSegment = Vector
			X = -11
			Y = -10
		SlowTravelSpeed = 0.25
		NormalTravelSpeed = 0.5
		FastTravelSpeed = 1
		PushForce = 20000
	CrashSound = Sound
		CopyOf = Metal Body Blunt Hit Large
	GibImpulseLimit = 6000
	GibWoundLimit = 16
	GibSound = Sound
		CopyOf = Ship Explosion
	AddGib = Gib
		GibParticle = AEmitter
			CopyOf = Fuel Fire Trace Gray
			PresetName = Ship Explosion
			LifeTime = 175
		Count = 8
		Spread = 2.25
		MaxVelocity = 20
		MinVelocity = 5
		LifeVariation = 0.25
Personal tools