THRUGHOST for hitscans?

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
Amuscaria
Posts: 6634
Joined: Mon Jul 26, 2004 12:59 pm
Location: Growing from mycelium near you.

THRUGHOST for hitscans?

Post by Amuscaria »

I know I can add the "THRUGHOST" on an actor and make it go through ghosts. How do I do this for hitscans? Or is it impossible?
User avatar
Ghastly
... in rememberance ...
Posts: 6109
Joined: Fri Jul 06, 2007 2:34 pm

Re: THRUGHOST for hitscans?

Post by Ghastly »

Try putting it on the bulletpuff. I'm not 100% sure it'll work, but if it would be anywhere, it'd be there.
User avatar
Ceeb
Posts: 5125
Joined: Wed Jun 11, 2008 4:07 pm
Location: Castle Wut

Re: THRUGHOST for hitscans?

Post by Ceeb »

The puff won't appear until it hits something. By the time the puff appears, the bullet is gone. :?
User avatar
Ghastly
... in rememberance ...
Posts: 6109
Joined: Fri Jul 06, 2007 2:34 pm

Re: THRUGHOST for hitscans?

Post by Ghastly »

The attack uses the puff for certain things, as well, like damagetype and decals. Like I said, if +ThruGhost could be applied to a hitscan attack, it would be on the puff, if anywhere. If it doesn't work there, try the weapon itself.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: THRUGHOST for hitscans?

Post by Graf Zahl »

In this case the flag is put on the weapon. This feature has been in since forever (some of Heretic's weapons actually need it) - long before the puff was used for defining such things.
User avatar
Amuscaria
Posts: 6634
Joined: Mon Jul 26, 2004 12:59 pm
Location: Growing from mycelium near you.

Re: THRUGHOST for hitscans?

Post by Amuscaria »

Didn't the Heretic hitscan weapons always hit ghost enemies?
User avatar
Ghastly
... in rememberance ...
Posts: 6109
Joined: Fri Jul 06, 2007 2:34 pm

Re: THRUGHOST for hitscans?

Post by Ghastly »

Not the Staff.
User avatar
Amuscaria
Posts: 6634
Joined: Mon Jul 26, 2004 12:59 pm
Location: Growing from mycelium near you.

Re: THRUGHOST for hitscans?

Post by Amuscaria »

Ghastly_dragon wrote:Not the Staff.
I did not know this. :D
Locked

Return to “Editing (Archive)”