[SOLVED] Help With Decals And FastProjectiles
Posted: Thu May 28, 2015 12:07 pm
Hello. I seem to be running into an issue with my mod. I want to implement "real" bullets (as FastProjectiles) into my WWII Realism mod (http://zandronum.com/forum/showthread.php?tid=5577) but I cannot seem to get the FastProjectiles to leave the BulletChip decal on the walls when they hit.
I have tried giving the decal property to the Bullet class (derived from FastProjectile) but that doesn’t seem to work. Any suggestions? Am I defining this in the right place? I am using A_FireCustomMissile to launch the projectile from the weapon (Which also has the BulletChip decal set). Thanks!
Edit: Figured it out. After reading the ZDoom wiki I found that the projectile did not exist for a tic in its death state. Causing no decal to be drawn.
I have tried giving the decal property to the Bullet class (derived from FastProjectile) but that doesn’t seem to work. Any suggestions? Am I defining this in the right place? I am using A_FireCustomMissile to launch the projectile from the weapon (Which also has the BulletChip decal set). Thanks!
Edit: Figured it out. After reading the ZDoom wiki I found that the projectile did not exist for a tic in its death state. Causing no decal to be drawn.