actor G2_GhostPlayer : PlayerPawn
{
	Speed 1
	Health 666
	Radius 16
	Height 56
	Mass 900
	PainChance 255
	Player.DisplayName "Ghost player"
	Player.StartItem "Ghosted"
	Player.StartItem "G2_IsGhost"
	Player.ColorRange 112, 127
	Player.ViewHeight 56

	MaxStepHeight 33

	renderstyle none

	+NOTARGET
	+INVISIBLE
	+NORADIUSDMG
	-PICKUP

	species "Ghost"
	+THRUSPECIES
	States
	{
		Spawn:
		See:
		Missile:
		Melee:
		Pain:
		Death:
		XDeath:
			TNT1 A -1
			loop
	}
}

actor Ghosted : Weapon
{
	States
	{
		Select:
			TNT1 A 1 A_Raise
			loop
		Deselect:
			TNT1 A 1 A_Lower
			loop
		Ready:
		Fire:
			TNT1 A 2 ACS_NamedExecuteWithResult("vs_primary")
			goto Ready
		AltFire:
			TNT1 A 2 ACS_NamedExecuteWithResult("vs_secondary")
			goto Ready
		Ready:	
			TNT1 A 1 A_WeaponReady
			loop
		Spawn:
			TNT1 A 0
			stop		
	}
}