Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • 0
Uni000

Bullet Impact/Ricochet System

Question

So I use Token Like Things with Names such as ShotConcrete or ShotWood.

 

Then I try to use a BulletPuff Like Actor and Customize it to Play those Specific Sounds, but Trouble was, they won't Play, and I want them to play on all Kinds of Surfaces, not just Floor Flats.

 

Code Stuff: (UniPuff is just a Base BulletPuff Reskinned)
 

Spoiler

ACTOR UniBulletPuff : UniPuff
{
  +PUFFGETSOWNER
  Decal "UniBulletChip"
  States
  {
  Spawn:
    TNT1 A 0 A_CheckFloor("SpawnFloor")
    SMOK HHII 4
    Stop
  SpawnFloor:
    TNT1 A 0
    TNT1 A 2
    TNT1 A 0 A_JumpIfInventory("ShotWater", 1, "SpawnWater")
    TNT1 A 0 A_JumpIfInventory("ShotDirtGrass", 1, "SpawnDirtGrass")
    TNT1 A 0 A_JumpIfInventory("ShotGravel", 1, "SpawnGravel")
    TNT1 A 0 A_JumpIfInventory("ShotWood", 1, "SpawnWood")
    TNT1 A 0 A_JumpIfInventory("ShotConcrete", 1, "SpawnConcrete")
    TNT1 A 0 A_JumpIfInventory("ShotGMetal", 1, "SpawnGMetal")
    TNT1 A 0 A_JumpIfInventory("ShotBMetal", 1, "SpawnBMetal")
    TNT1 A 0 A_JumpIfInventory("ShotTile", 1, "SpawnTile")
    TNT1 A 0 A_JumpIfInventory("ShotCarpet", 1, "SpawnCarpet")
    SMOK HHII 4
    Stop
  SpawnWater:
    TNT1 A 0
    TNT1 A 0 A_GiveToTarget("ShotWater", 1)
    SMOK HHII 4
    Stop
  SpawnDirtGrass:
    TNT1 A 0
    TNT1 A 0 A_GiveToTarget("ShotDirtGrass", 1)
    SMOK HHII 4
    Stop
  SpawnGravel:
    TNT1 A 0
    TNT1 A 0 A_GiveToTarget("ShotGravel", 1)
    SMOK HHII 4
    Stop
  SpawnConcrete:
    TNT1 A 0
    TNT1 A 0 A_GiveToTarget("ShotConcrete", 1)
    SMOK HHII 4
    Stop
  SpawnGMetal:
    TNT1 A 0
    TNT1 A 0 A_GiveToTarget("ShotGMetal", 1)
    SMOK HHII 4
    Stop
  SpawnBMetal:
    TNT1 A 0
    TNT1 A 0 A_GiveToTarget("ShotBMetal", 1)
    SMOK HHII 4
    Stop
  SpawnTile:
    TNT1 A 0
    TNT1 A 0 A_GiveToTarget("ShotTile", 1)
    SMOK HHII 4
    Stop
  SpawnCarpet:
    TNT1 A 0
    TNT1 A 0 A_GiveToTarget("ShotCarpet", 1)
    SMOK HHII 4
    Stop
  SpawnWood:
    TNT1 A 0
    TNT1 A 0 A_GiveToTarget("ShotWood", 1)
    SMOK HHII 4
    Stop
  }
}

 

Hopefully this System will either be Fixed or Remade using Different Methods.

Share this post


Link to post

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×