Skip to content

Weapon traits: basics

Petrenko edited this page Jun 29, 2011 · 10 revisions

Everything about weapons, warheads, explosions etc.

(Description follows)

	Burst: 2				# If present, the unit fires a burst
	BurstDelay: 0				# Defines the period of bursts in ticks
	Projectile: Bullet			
		Speed: 5			# Speed of projectile
		High: yes			# If it fires on a high tray like artillery does
		Angle: .1			# The angle of the high tray
		Inaccuracy: 5			# Inaccuracy of the projectile, the higher the more inaccurate
		Image: ""			# Image of Projectile
	Projectile: Missile
		Arm: 5
		High: yes
		Shadow: no			# Projectile got shadow?
		Proximity: yes			# Projectile follows its target?
		Inaccuracy: 3			
		Image: DRAGON´			# Image of projectile
		ROT: 6				# Rate of Turning, how fast the projectile can turn (?)
		Trail: smokey			# Difenes the trail of the projectile
		Speed: 35
		RangeLimit: 40			# The projectile not further than 40 and then explodes
	Projectile: LaserZap
		BeamRadius: 1
		UsePlayerColor: true		# The Beam uses the playercolor
	Report: RAMGUN2				# Sound (?)
	ROF: 40					# Rate of Fire
	Range: 7
	ValidTargets: Ground, Air		# Defines at what targets the weapon can shoot at
	Warhead:
		Damage: 500
		Spread: 10
		Versus: 			# Defines the power against certain armortypes.
			None: 90%
			Wood: 75%
			Light: 60%
			Heavy: 25%
		Explosion: 8
		InfDeath: 3			# How does infantry die? By fire? chem?
		ImpactSound: xplobig4

Back

Clone this wiki locally