Jump to content

Make dehacked turret


Recommended Posts

Hi

Is it possible to make a stationary enemy that just stands in place and shoots without having to be triggered in the first place? This is for vanilla doom 2. Thank ye.

Share this post


Link to post

I think it's possible, though it might be kind of scuffed. First, you'll want to give the turret thing a very high mass to keep it from getting moved by damage. Then, you'll want to give it an initial spawn state where it keeps calling A_Look.

 

But instead of using A_Chase for its chase frames, you can just give it a cycle of A_FaceTarget starting at its "First moving frame" to make it face its target, and then, after the last A_FaceTarget frame (which will depend on how long you want it to wait before firing), have it go directly to its attack sequence, skipping A_Chase entirely.

 

Have its attack sequence then loop back not to its first moving frame, but to its initial spawn frame. This will keep it from continuing to attack the player after they've left line of sight.

 

It'll require some trial and error, but it should work with enough tweaking.

 

(This should probably go to Editing Questions forum, however.)

Edited by bofu

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...