Action Functions For specific hexen weapon
Moderator: GZDoom Developers
Action Functions For specific hexen weapon
I would like to be able to use the AI from several unique hexen weapons (like the Bloodscourge, Wrathverge, and Arc of Death) Within my own decorate weapons. Since its been expressed that giving user control over the logic for these weapons is more work for less gain, would it be possible to turn the attack into action functions? (Example: A_FireBloodscourge, A_FireWrathverge and A_FireLightening)
- wildweasel
- Posts: 21706
- Joined: Tue Jul 15, 2003 7:33 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): A lot of them
- Graphics Processor: Not Listed
- Contact:
To fire the Wraithverge, I believe that all you have to do is fire its projectile as a custom missile (in this case, it's called "HolyMissile"). The only thing that it will be missing is the screen flash. For Bloodscourge, the missile would be MageStaffFX2 (haven't tested this), and to shoot the Arc of Death, you would (theoretically) shoot LightningCeiling, LightningFloor, and LightningZap simultaneously.
- Deathsong12
- Posts: 1083
- Joined: Sat May 07, 2005 1:29 pm
- Location: On the hunt
- Deathsong12
- Posts: 1083
- Joined: Sat May 07, 2005 1:29 pm
- Location: On the hunt
Monsters come out as missiles, so they die on contact with anything. You can use A_PainAttack to spawn monsters as an attack, however. Trying to launch an inventory item causes nothing to happen, but they can be tossed across the room (and remain functional) using A_ThrowGrenade. I was going to use that to create fake status effects, but it seems Graf has added A_GiveToTarget, which makes my hack useless.
- Deathsong12
- Posts: 1083
- Joined: Sat May 07, 2005 1:29 pm
- Location: On the hunt