Hi, im new at coding, i been searching trough the web and i cant find an answer, so maybe asking here i can finally found it
my faq its...
how to make a piercing bullet? a bullet that can hit just 2 or 3 targets behind the first enemy
since railgun act like piercing bullet, but the railgun penetrates everything, and i just need to pierce 3 enemies.
i tried with projectile actor with ripper, but its not working like i want
is there a way to remove ripper flag when hitting the first target?
piercing bullets
RE: piercing bullets
Nope.
You can try stacked hitscan attacks but they have to have 0 spread.
You can try stacked hitscan attacks but they have to have 0 spread.
Reinforcements: midgame Survival joining/respawning
Doom64: Unabsolved: Doom64 + Diablo II
ZandroSkins: a pack made by our community
AeniPuffs: 3D blood and bullet puff effects, free to use for your own mods
Squad Radio: a WASD-based radio chat menu, add your own custom sounds!
Mercenaries (on hold)

Doom64: Unabsolved: Doom64 + Diablo II
ZandroSkins: a pack made by our community
AeniPuffs: 3D blood and bullet puff effects, free to use for your own mods
Squad Radio: a WASD-based radio chat menu, add your own custom sounds!
Mercenaries (on hold)

- SwordGrunt
- Forum Regular
- Posts: 377
- Joined: Thu Jun 07, 2012 8:43 pm
RE: piercing bullets
The only way to do this would be with some scripting, giving your +RIPPER projectile a custom TID and damagetype; when an enemy is hit by it, they activate a script in their custom pain state that counts down to however many times you want it to pierce, then removes the projectile actor by its TID.
Or you can just do stacked hitscans like he said, if your weapon is supposed to be perfectly accurate (I'd assume you want piercing bullets for something like a Sniper Rifle, so that wouldn't be an issue)
Or you can just do stacked hitscans like he said, if your weapon is supposed to be perfectly accurate (I'd assume you want piercing bullets for something like a Sniper Rifle, so that wouldn't be an issue)
RE: piercing bullets
i dont know how to do that :C
im new xD
where i can read about hitscan?
thx btw
im new xD
where i can read about hitscan?
thx btw
RE: piercing bullets
Reinforcements: midgame Survival joining/respawning
Doom64: Unabsolved: Doom64 + Diablo II
ZandroSkins: a pack made by our community
AeniPuffs: 3D blood and bullet puff effects, free to use for your own mods
Squad Radio: a WASD-based radio chat menu, add your own custom sounds!
Mercenaries (on hold)

Doom64: Unabsolved: Doom64 + Diablo II
ZandroSkins: a pack made by our community
AeniPuffs: 3D blood and bullet puff effects, free to use for your own mods
Squad Radio: a WASD-based radio chat menu, add your own custom sounds!
Mercenaries (on hold)

RE: piercing bullets
You can use a FastProjectile that, upon hitting something bleeding, will spawn another one from behind. It's very tricky to do properly tho, and I don't feel like coding ATM, so here it is.