Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ACTOR BulletCasingSpawner //Shamelessly stolen from probably one of Weasel's mods, yoink. (Then taken by me, double yoink)
- {
- Speed 13
- PROJECTILE
- +NOCLIP
- States
- {
- Spawn:
- TNT1 AA 0 A_CustomMissile("BulletCasing",0,0,random(-100,-80),CMF_AIMDIRECTION,random(-15,15))
- Stop
- }
- }
- ACTOR BulletCasing
- {
- Radius 2
- Height 4
- Speed 8
- Scale 0.1
- PROJECTILE
- -NOGRAVITY
- +BOUNCEONACTORS
- +DONTSPLASH
- Gravity 0.75
- BounceType Doom
- BounceCount 6
- BounceFactor 0.6
- +clientsideonly
- States
- {
- Spawn:
- CAS1 ABCDEFGH 1 bright
- Goto rollingloop
- rollingloop:
- TNT1 A 0 a_playsound ("Casing/Bullet",0,1,0,1.6)
- CAS1 A 0 A_Jump(128,1,3,5,7)
- CAS1 ABCDEFGH 1 bright
- Loop
- Death:
- TNT1 A 0 a_jump (256, "dead1","dead2")
- loop
- dead1:
- TNT1 A 0 a_playsound ("Casing/Bullet",0,1,0,1.6)
- CAS1 I 60 bright
- CAS1 I 1 bright a_fadeout (0.01)
- wait
- dead2:
- TNT1 A 0 a_playsound ("Casing/Bullet",0,1,0,1.6)
- CAS1 J 60 bright
- CAS1 J 1 bright a_fadeout (0.01)
- wait
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement