Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • 0

What happens if you use demon attack states for weapons in dehacked?


2 answers to this question

Recommended Posts

  • 0

As far as I'm concerned, it won't work. The explanation is that enemy attack functions check for the source of the attack (the enemy) having a target (usually the player), and the player's attacks mostly rely on the player's angle. A target is set and used for autoaim calculations, but the approach is different to the one used by enemies, so enemy attack functions cannot find a target within the player, so they skip the rest of their code (the code that would actually perform the attack).


If you want to use enemy projectiles, the best you can do in most DeHackEd formats is to modify the player's unique projectiles (Plasma Ball and BFG Ball) so that they mimic other projectiles. However, in the case of Mancubus fireballs, you can't replicate their spread.

Your other option is to use MBF21, with which you could replicate most enemy attacks.

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now