Back to the Vavoom Forum Archives


Forum

ACS that calculates projectile damage?

Sat, 09 Dec 2006 00:50:45

The 4th Class

Hey, for any programming experts, I was wondering if there was an ACS command (or function) that calculates the hitdice of a projectile. Say, you have a one-sided linedef out in the open, and when a projectile crosses it, it calculates how much damage it will cause if it strikes an enemy behind it. If one doesn't exist yet, how can I make one myself? Thanks.
Sat, 09 Dec 2006 08:24:08

Janis Legzdinsh

To do this you would need to use GetActorProperty which is not yet implemented in Vavoom.
Sun, 10 Dec 2006 02:25:41

The 4th Class

Just a curious question, is the hitdice of a projectile predetermined when it's spawned, or is it given its value when it hits a sprite?
Sun, 10 Dec 2006 09:07:49

Janis Legzdinsh

When it hits.
Sun, 10 Dec 2006 15:22:14

The 4th Class

Does it get a hitdice value regardless of what it hits? Say, between hitting an active Korax and hitting a one-sided linedef.
Sun, 10 Dec 2006 15:36:35

Firebrand

It only damages killable objects, there are checks for just exploding against decors and walls.

Back to the Vavoom Forum Archives