actor TimeScatterWep : BaseMM8BDMWep
{
Weapon.AmmoUse 28
Weapon.AmmoGive 28
Weapon.SlotNumber 6
Tag "$TAG_TIMESCATTER"
Obituary "$OB_TIMESCATTER"
Inventory.Pickupmessage "$PU_TIMESCATTER"
weapon.ammotype "TimeScatterAmmo"
inventory.icon "RNCWP8"
States
{
SpawnLoop:
RNCW H -1
loop
Ready:
NCH2 V 0 ACS_ExecuteAlways(998,0,COL_ZaWarudo)
NCH2 V 1 A_WeaponReady
Goto Ready+1
Deselect:
TNT1 AAAAAAAAAAAAAAAAAAAAAA 0 A_Lower
NCH2 V 1 A_Lower
Loop
Select:
TNT1 AAAAAAAAAAAAAAAAAAAAAA 0 A_Raise
NCH2 V 1 A_Raise
Loop
Fire:
NCH2 V 0 A_JumpIfNoAmmo("NoAmmo")
NCH2 WXY 1
TNT1 A 9
NCH2 Z 1
TNT1 A 0 A_SpawnItemEx("TimeScatterSparkleHelper",0)
NCH3 A 2
NCH3 A 0 A_PlaySoundEx("weapon/timestopper","Weapon")
NCH3 A 0 A_PlaySoundEx("weapon/jewelsatellite","SoundSlot5")
NCH3 A 0 A_SpawnItemEx("TimeScatterRadius",0,0,28,0,0,0,0)
NCH3 A 0 A_TakeInventory("TimeScatterAmmo",28,TIF_NOTAKEINFINITE)
TNT1 A 0 A_SpawnItemEx("TimeScatterSparkleHelper",0)
NCH3 B 30
NCH3 A 2
NCH2 Z 2
TNT1 A 2
NCH2 YXW 2
Goto Ready+1
NoAmmo:
NCH2 V 1 ACS_Execute(979,0)
goto Ready+1
}
}
actor TimeScatterWepSH : TimeScatterWep replaces TimeScatterWep
{+INVENTORY.RESTRICTABSOLUTELY Inventory.RestrictedTo megamans}

actor TimeScatterAmmo : Ammo {inventory.amount 1 inventory.maxamount 28}

actor TimeScatterGiver : CustomInventory //20008
{
//$Category RNC-Weapons
//$Title Za Warudo
Inventory.Pickupmessage "Power up! Za Warudo!"
inventory.pickupsound "weapon/weaponup"
Inventory.RespawnTics 900
scale 2.0
states
{
Spawn:
RNCW H 1
loop
Pickup:
RNCW H 0 A_JumpIfInventory("TimeScatterWepSH",1,2)
RNCW H 0 A_GiveInventory("TimeScatterWepSH")
stop
RNCW H 1
fail
Death:
TNT1 A 0
stop
}
}

actor TimeScatterRadius
{
+NOINTERACTION
Obituary "$OB_TimeScatter"
PROJECTILE
radius 1
height 1
+PIERCEARMOR
+FOILINVUL
damagetype "TimeScatter"
states
{
Spawn:
TNT1 A 0
TNT1 A 1 A_Explode(200, TSTOPPER_RADIUS, 0, 0, TSTOPPER_RADIUS)
stop
}
}

actor TimeScatterSparkle
{
+CLIENTSIDEONLY
+NOINTERACTION
+NOGRAVITY
-SOLID
radius 2
height 2
scale 2.5
Renderstyle "Translucent"
Alpha 0.95
ReactionTime 15
States
{
Spawn:
FLAS A 0
FLAS A 0 A_Jump(256,1,2,3)
FLAS ABC 2 bright A_CountDown
}
}

actor TimeScatterSparkleHelper
{
+CLIENTSIDEONLY
+NOINTERACTION
-SOLID
+MISSILE
radius 1
height 1
+NOGRAVITY
+DONTBLAST
renderstyle none
ReactionTime 3
States
{
Spawn:
TNT1 A 0
NCH3 DDDDDDDDDDDDDD 0 A_SpawnItemEx("TimeScatterSparkle", random(0,TSTOPPER_RADIUS), 0, random(0,TSTOPPER_RADIUS - 175), random(0,3), 0, random(-3,3), random(0, 359))
NCH3 DDDDDDDDDDDDDD 0 A_SpawnItemEx("TimeScatterSparkle", random(0,TSTOPPER_RADIUS), 0, random(0,TSTOPPER_RADIUS - 175), random(0,3), 0, random(-3,3), random(0, 359))
NCH3 DDDDDDDDDDDDDD 0 A_SpawnItemEx("TimeScatterSparkle", random(0,TSTOPPER_RADIUS), 0, random(0,TSTOPPER_RADIUS - 175), random(0,3), 0, random(-3,3), random(0, 359))
NCH3 DDDDDDDDDDDDDD 0 A_SpawnItemEx("TimeScatterSparkle", random(0,TSTOPPER_RADIUS), 0, random(0,TSTOPPER_RADIUS - 175), random(0,3), 0, random(-3,3), random(0, 359))
NCH3 DDDDDDDDDDDDDD 0 A_SpawnItemEx("TimeScatterSparkle", random(0,TSTOPPER_RADIUS), 0, random(0,TSTOPPER_RADIUS - 175), random(0,3), 0, random(-3,3), random(0, 359))
NCH3 DDDDDDDDDDDDDD 0 A_SpawnItemEx("TimeScatterSparkle", random(0,TSTOPPER_RADIUS), 0, random(0,TSTOPPER_RADIUS - 175), random(0,3), 0, random(-3,3), random(0, 359))
NCH3 DDDDDDDDDDDDDD 0 A_SpawnItemEx("TimeScatterSparkle", random(0,TSTOPPER_RADIUS), 0, random(0,TSTOPPER_RADIUS - 175), random(0,3), 0, random(-3,3), random(0, 359))
NCH3 DDDDDDDDDDDDDD 0 A_SpawnItemEx("TimeScatterSparkle", random(0,TSTOPPER_RADIUS), 0, random(0,TSTOPPER_RADIUS - 175), random(0,3), 0, random(-3,3), random(0, 359))
NCH3 DDDDDDDDDDDDDD 0 A_SpawnItemEx("TimeScatterSparkle", random(0,TSTOPPER_RADIUS), 0, random(0,TSTOPPER_RADIUS - 175), random(0,3), 0, random(-3,3), random(0, 359))
NCH3 DDDDDDDDDDDDDD 0 A_SpawnItemEx("TimeScatterSparkle", random(0,TSTOPPER_RADIUS), 0, random(0,TSTOPPER_RADIUS - 175), random(0,3), 0, random(-3,3), random(0, 359))
NCH3 DDDDDDDDDDDDDD 0 A_SpawnItemEx("TimeScatterSparkle", random(0,TSTOPPER_RADIUS), 0, random(0,TSTOPPER_RADIUS - 175), random(0,3), 0, random(-3,3), random(0, 359))
NCH3 DDDDDDDDDDDDDD 0 A_SpawnItemEx("TimeScatterSparkle", random(0,TSTOPPER_RADIUS), 0, random(0,TSTOPPER_RADIUS - 175), random(0,3), 0, random(-3,3), random(0, 359))
NCH3 DDDDDDDDDDDDDD 0 A_SpawnItemEx("TimeScatterSparkle", random(0,TSTOPPER_RADIUS), 0, random(0,TSTOPPER_RADIUS - 175), random(0,3), 0, random(-3,3), random(0, 359))
NCH3 DDDDDDDDDDDDDD 0 A_SpawnItemEx("TimeScatterSparkle", random(0,TSTOPPER_RADIUS), 0, random(0,TSTOPPER_RADIUS - 175), random(0,3), 0, random(-3,3), random(0, 359))
NCH3 DDDDDDDDDDDDDD 0 A_SpawnItemEx("TimeScatterSparkle", random(0,TSTOPPER_RADIUS), 0, random(0,TSTOPPER_RADIUS - 175), random(0,3), 0, random(-3,3), random(0, 359))
NCH3 DDDDDDDDDDDDDD 0 A_SpawnItemEx("TimeScatterSparkle", random(0,TSTOPPER_RADIUS), 0, random(0,TSTOPPER_RADIUS - 175), random(0,3), 0, random(-3,3), random(0, 359))
NCH3 DDDDDDDDDDDDDD 0 A_SpawnItemEx("TimeScatterSparkle", random(0,TSTOPPER_RADIUS), 0, random(0,TSTOPPER_RADIUS - 175), random(0,3), 0, random(-3,3), random(0, 359))
NCH3 DDDDDDDDDDDDDD 0 A_SpawnItemEx("TimeScatterSparkle", random(0,TSTOPPER_RADIUS), 0, random(0,TSTOPPER_RADIUS - 175), random(0,3), 0, random(-3,3), random(0, 359))
NCH3 DDDDDDDDDDDDDD 0 A_SpawnItemEx("TimeScatterSparkle", random(0,TSTOPPER_RADIUS), 0, random(0,TSTOPPER_RADIUS - 175), random(0,3), 0, random(-3,3), random(0, 359))
NCH3 DDDDDDDDDDDDDD 0 A_SpawnItemEx("TimeScatterSparkle", random(0,TSTOPPER_RADIUS), 0, random(0,TSTOPPER_RADIUS - 175), random(0,3), 0, random(-3,3), random(0, 359))
NCH3 DDDDDDDDDDDDDD 0 A_SpawnItemEx("TimeScatterSparkle", random(0,TSTOPPER_RADIUS), 0, random(0,TSTOPPER_RADIUS - 175), random(0,3), 0, random(-3,3), random(0, 359))
NCH3 DDDDDDDDDDDDDD 0 A_SpawnItemEx("TimeScatterSparkle", random(0,TSTOPPER_RADIUS), 0, random(0,TSTOPPER_RADIUS - 175), random(0,3), 0, random(-3,3), random(0, 359))
NCH3 DDDDDDDDDDDDDD 0 A_SpawnItemEx("TimeScatterSparkle", random(0,TSTOPPER_RADIUS), 0, random(0,TSTOPPER_RADIUS - 175), random(0,3), 0, random(-3,3), random(0, 359))
NCH3 DDDDDDDDDDDDDD 0 A_SpawnItemEx("TimeScatterSparkle", random(0,TSTOPPER_RADIUS), 0, random(0,TSTOPPER_RADIUS - 175), random(0,3), 0, random(-3,3), random(0, 359))
NCH3 DDDDDDDDDDDDDD 0 A_SpawnItemEx("TimeScatterSparkle", random(0,TSTOPPER_RADIUS), 0, random(0,TSTOPPER_RADIUS - 175), random(0,3), 0, random(-3,3), random(0, 359))
NCH3 DDDDDDDDDDDDDD 0 A_SpawnItemEx("TimeScatterSparkle", random(0,TSTOPPER_RADIUS), 0, random(0,TSTOPPER_RADIUS - 175), random(0,3), 0, random(-3,3), random(0, 359))
NCH3 DDDDDDDDDDDDDD 0 A_SpawnItemEx("TimeScatterSparkle", random(0,TSTOPPER_RADIUS), 0, random(0,TSTOPPER_RADIUS - 175), random(0,3), 0, random(-3,3), random(0, 359))
NCH3 DDDDDDDDDDDDDD 0 A_SpawnItemEx("TimeScatterSparkle", random(0,TSTOPPER_RADIUS), 0, random(0,TSTOPPER_RADIUS - 175), random(0,3), 0, random(-3,3), random(0, 359))
NCH3 DDDDDDDDDDDDDD 0 A_SpawnItemEx("TimeScatterSparkle", random(0,TSTOPPER_RADIUS), 0, random(0,TSTOPPER_RADIUS - 175), random(0,3), 0, random(-3,3), random(0, 359))
NCH3 DDDDDDDDDDDDDD 0 A_SpawnItemEx("TimeScatterSparkle", random(0,TSTOPPER_RADIUS), 0, random(0,TSTOPPER_RADIUS - 175), random(0,3), 0, random(-3,3), random(0, 359))
NCH3 DDDDDDDDDDDDDD 0 A_SpawnItemEx("TimeScatterSparkle", random(0,TSTOPPER_RADIUS), 0, random(0,TSTOPPER_RADIUS - 175), random(0,3), 0, random(-3,3), random(0, 359))
NCH3 DDDDDDDDDDDDDD 0 A_SpawnItemEx("TimeScatterSparkle", random(0,TSTOPPER_RADIUS), 0, random(0,TSTOPPER_RADIUS - 175), random(0,3), 0, random(-3,3), random(0, 359))
NCH3 DDDDDDDDDDDDDD 0 A_SpawnItemEx("TimeScatterSparkle", random(0,TSTOPPER_RADIUS), 0, random(0,TSTOPPER_RADIUS - 175), random(0,3), 0, random(-3,3), random(0, 359))
NCH3 DDDDDDDDDDDDDD 0 A_SpawnItemEx("TimeScatterSparkle", random(0,TSTOPPER_RADIUS), 0, random(0,TSTOPPER_RADIUS - 175), random(0,3), 0, random(-3,3), random(0, 359))
NCH3 DDDDDDDDDDDDDD 0 A_SpawnItemEx("TimeScatterSparkle", random(0,TSTOPPER_RADIUS), 0, random(0,TSTOPPER_RADIUS - 175), random(0,3), 0, random(-3,3), random(0, 359))
NCH3 DDDDDDDDDDDDDD 0 A_SpawnItemEx("TimeScatterSparkle", random(0,TSTOPPER_RADIUS), 0, random(0,TSTOPPER_RADIUS - 175), random(0,3), 0, random(-3,3), random(0, 359))
TNT1 A 2 A_CountDown
stop
}
}
