Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Based on Zombie Torrent's casings code (I don't know who made the code for those casings)
- Actor S7_CasingSpawnerBase {
- Speed 20
- Projectile
- +NoClip +ClientsideOnly
- }
- Actor S7_CasingBase {
- Speed 6
- +DoomBounce -NoGravity +WindThrust +ClientsideOnly
- +MoveWithSector +Missile +NoBlockmap -DropOff
- +NoTeleport +ForceXYBillboard +NotDMatch +Ghost
- }
- // Shotgun Casing
- Actor S7_ShellCasingSpawn : S7_CasingSpawnerBase {
- States {
- Spawn:
- TNT1 A 0
- TNT1 A 0 A_CustomMissile ("S7_ShotgunCasing", 0, 0, random (-80, -100), 2, random (-40, -60))
- Stop
- }
- }
- Actor S7_ShotgunCasing : S7_CasingBase {
- Height 12
- Radius 9
- SeeSound "Weapons/Shell"
- States {
- Spawn:
- TNT1 A 0
- CAS1 ABCDEFGH 2 A_SpawnItem ("S7_ShotSmokeTrail")
- Loop
- Death:
- CAS1 A 0 A_Jump (256, "Rest1", "Rest2", "Rest3", "Rest4", "Rest5", "Rest6", "Rest7", "Rest8")
- Goto Rest1
- Rest1:
- CAS1 A 1000
- Goto Fade
- Rest2:
- CAS1 B 1000
- Goto Fade
- Rest3:
- CAS1 C 1000
- Goto Fade
- Rest4:
- CAS1 D 1000
- Goto Fade
- Rest5:
- CAS1 E 1000
- Goto Fade
- Rest6:
- CAS1 F 1000
- Goto Fade
- Rest7:
- CAS1 G 1000
- Goto Fade
- Rest8:
- CAS1 H 1000
- Goto Fade
- Fade:
- "----" A 3 A_FadeOut (0.03)
- Loop
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement