Template/ACrab

From Data Realms Wiki

Revision as of 21:27, 10 June 2010 by Petethegoat (Talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This is the source code to the Dummy Dreadnought ACrab unit. It contains all of the required variables and can be used as a framework for your own mod.

AddActor = ACrab
	PresetName = Dreadnought
	Description = Armored tank on 4 legs.  Armed with a machine gun and covered with multiple layers of armor.
	AddToGroup = Actors
	Mass = 21.71
	GoldValue = 200
	HitsMOs = 1
	GetsHitByMOs = 1
	SpriteFile = ContentFile
		FilePath = Dummy.rte/Actors/Dreadnought/MountMobileA.bmp
	FrameCount = 2
	SpriteOffset = Vector
		X = -6
		Y = -6
	EntryWound = AEmitter
		CopyOf = Leaking Machinery Light
	ExitWound = AEmitter
		CopyOf = Leaking Machinery Light
	AtomGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Military Stuff
		Resolution = 4
		Depth = 0
	DeepCheck = 0
	BodyHitSound = Sound
		CopyOf = Bone Crack
	PainSound = Sound
		CopyOf = Bone Crack
	DeathSound = Sound
		CopyOf = Bone Crack
	DeviceSwitchSound = Sound
		CopyOf = Device Switch
	Status = 0
	Health = 100
	ImpulseDamageThreshold = 2100
	AimAngle = 0
	AimRange = 0.5
	AimDistance = 30
	CharHeight = 110
	Turret = Turret
		CopyOf = Dummy Turret Large
		ParentOffset = Vector
			X = 0
			Y = -5
	LFGLeg = Leg
		CopyOf = Dummy Crab Leg FG
//		CopyOf = Dummy Leg FG A
		ParentOffset = Vector
			X = -5
			Y = 1
	LBGLeg = Leg
		CopyOf = Dummy Crab Leg BG
//		CopyOf = Dummy Leg BG A
		ParentOffset = Vector
			X = -5
			Y = 1
	RFGLeg = Leg
		CopyOf = Dummy Crab Leg FG
//		CopyOf = Dummy Leg FG A
		ParentOffset = Vector
			X = 5
			Y = 1
	RBGLeg = Leg
		CopyOf = Dummy Crab Leg BG
//		CopyOf = Dummy Leg BG A
		ParentOffset = Vector
			X = 5
			Y = 1
	LFootGroup = AtomGroup
		CopyOf = CrabFootGroup
	RFootGroup = AtomGroup
		CopyOf = CrabFootGroup
	StrideSound = Sound
		CopyOf = Robot Stride
	LStandLimbPath = LimbPath
		PresetName = Dummy Crab Stand Path Left
		StartOffset = Vector
			X = -6
			Y = 6
		StartSegCount = 0
		SlowTravelSpeed = 0.1
		NormalTravelSpeed = 0.5
		FastTravelSpeed = 1.5
		PushForce = 1800
	LWalkLimbPath = LimbPath
		PresetName = Dummy Crab Walk Path Left
		StartOffset = Vector
			X = -13
			Y = -12
		StartSegCount = 4
		AddSegment = Vector
			X = 10
			Y = 0
		AddSegment = Vector
			X = 5
			Y = 8
		AddSegment = Vector
			X = 0
			Y = 3
		AddSegment = Vector
			X = 0
			Y = 3
		AddSegment = Vector
			X = 0
			Y = 3
		AddSegment = Vector
			X = -2
			Y = 2
		AddSegment = Vector
			X = -13
			Y = 0
		SlowTravelSpeed = 1.5
		NormalTravelSpeed = 2.5
		FastTravelSpeed = 4.5
		PushForce = 5500
	LDislodgeLimbPath = LimbPath
		PresetName = Dummy Crab Dislodge Path Left
		StartOffset = Vector
			X = -1
			Y = -10
		StartSegCount = 0
		AddSegment = Vector
			X = 0
			Y = 6
		SlowTravelSpeed = 1.5
		NormalTravelSpeed = 2.5
		FastTravelSpeed = 4.5
		PushForce = 10000
	RStandLimbPath = LimbPath
		CopyOf = Dummy Crab Stand Path Left
		PresetName = Dummy Crab Stand Path Right
		StartOffset = Vector
			X = 6
			Y = 6
	RWalkLimbPath = LimbPath
		CopyOf = Dummy Crab Walk Path Left
		PresetName = Dummy Crab Walk Path Right
		StartOffset = Vector
			X = -2
			Y = -12
	RDislodgeLimbPath = LimbPath
		CopyOf = Dummy Crab Dislodge Path Left
		PresetName = Dummy Crab Dislodge Path Right
		StartOffset = Vector
			X = 2
			Y = -10
	AddGib = Gib
		GibParticle = MOSRotating
			CopyOf = Gib Metal Grey Small B
		Offset = Vector
			X = 0
			Y = -1
Personal tools