PeceMan Posted October 25, 2020 I've tried so many things... I made three custom projectiles, one which hits the first enemy, the second one has ThruActors or something, and the last one hits the second enemy I tried making the projectile into a monster and making each hit its own custom melee attack I haven't tried toying around with ripper projectiles yet, but I'm about to Does anyone know how to implement this? 0 Quote Share this post Link to post
0 tealdude Posted November 17, 2020 Doosk has something similar. It's a faithful port of DUSK to Doom. The hunting rifle in the mod shoots out 2 bullets. If the first bullet deals enough damage to instantly kill the enemy, the second bullet pierces through. Test out that mod & see if it helps you. 0 Quote Share this post Link to post
0 DiR Posted January 4, 2021 I'm probably late to this but I'll try to offer some help. If it's a hitscan weapon, then each bullet does half the intended damage like tealdude said, so a 100 damage sniper rifle shot with piercing would be two 50 damage bullets instead, and so on. The issue is that it isn't guaranteed to pierce the first enemy all the time, only if the enemy gets killed by one of the two shots. If it's a railgun-type weapon (or anything else that is hitscan and has a "beam" of some sort) then you can set a limit on the amount of monsters it can pierce through, which is good if you want it to consistently pierce the first enemy regardless of whether they were killed by the pierce shot or not. The issue with rippers is that there is no "cap" on the number of pierces, so it will pass through every single monster it comes across until it collides with the wall of the level. You also cannot control how much damage it does since for every tic it is inside an enemy it will deal damage, so wider enemies (like the mancubus) get hit more. So I hope that provided at least a little insight into how to get a limited pierce, perhaps combine an invisible hitscan or railgun attack with a very fast missile so that it appears to pierce? Or maybe you can copy the double bullet idea with projectiles (fire the first projectile ever so slightly earlier then the second, and make it invisible) and make the first projectile's blast radius very small (or not have it explode at all) so that it can have the percevied piercing effect of the bullets but with projectiles. But that's just an idea I had while writing this, I'm not sure if it works in practice. TD;DR: it's possible for railguns, semi-possible for hitscan, and hard to implement for projectiles 0 Quote Share this post Link to post
0 DiR Posted January 4, 2021 Just now, Valgilton said: I'm probably late to this but I'll try to offer some help. If it's a hitscan weapon, then each bullet does half the intended damage like tealdude said, so a 100 damage sniper rifle shot with piercing would be two 50 damage bullets instead, and so on. The issue is that it isn't guaranteed to pierce the first enemy all the time, only if the enemy gets killed by one of the two shots. If it's a railgun-type weapon (or anything else that is hitscan and has a "beam" of some sort) then you can set a limit on the amount of monsters it can pierce through, which is good if you want it to consistently pierce the first enemy regardless of whether they were killed by the pierce shot or not. The issue with rippers is that there is no "cap" on the number of pierces, so it will pass through every single monster it comes across until it collides with the wall of the level. You also cannot control how much damage it does since for every tic it is inside an enemy it will deal damage, so wider enemies (like the mancubus) get hit more. So I hope that provided at least a little insight into how to get a limited pierce, perhaps combine an invisible hitscan or railgun attack with a very fast missile so that it appears to pierce? Or maybe you can copy the double bullet idea with projectiles (fire the first projectile ever so slightly earlier then the second, and make it invisible) and make the first projectile's blast radius very small (or not have it explode at all) so that it can have the percevied piercing effect of the bullets but with projectiles. But that's just an idea I had while writing this, I'm not sure if it works in practice. TD;DR: it's possible for railguns, semi-possible for hitscan, and hard to implement for projectiles Oh wait my bad, I just reread the question and it said to pierce through TWO enemies instead of just one enemy and hitting the second. A tweak is to divide the damage into three, and spawn three bullets/projectiles, or just raise the pierce cap of the railgun. Everything else should still work the same in theory (I think) Good luck on your weapon mod! 0 Quote Share this post Link to post
Question
PeceMan
I've tried so many things...
I made three custom projectiles, one which hits the first enemy, the second one has ThruActors or something, and the last one hits the second enemy
I tried making the projectile into a monster and making each hit its own custom melee attack
I haven't tried toying around with ripper projectiles yet, but I'm about to
Does anyone know how to implement this?
Share this post
Link to post
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.