[SOLVED] Help With Decals And FastProjectiles

Discuss all aspects related to modding Zandronum here.
Post Reply
false_chicken
 
Posts: 36
Joined: Sat Aug 09, 2014 10:47 pm

[SOLVED] Help With Decals And FastProjectiles

#1

Post by false_chicken » 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.
Last edited by false_chicken on Thu May 28, 2015 3:03 pm, edited 1 time in total.

Post Reply