Jump to content
  • 0

How to add reload feature to custom gun?


Skully195

Question

So excuse me for the dumb question and i know i'm late to the doom community but I've just recently gotten interested in Doom mods and such.

Right now I'm working on adding the Laser Rifle from the Fallout series into doom, and I've got everything working, except i can't find anywhere how to add a reload feature to the gun. if anyone is interested in helping, I can send you the WAD fie to look at my code so far or if someone could just reply telling me what to do. I have the sprites and everything for the reload but again can't find out how to implement it. (Just started modding and coding Doom today, its been easy so far but this darn reload problem)

 

Will try to attach the rar file so you can look at it :)

 

LSR.rar

 

EDIT: I am using GZ Doom as a loader. edited my wad using slade3. I only have the sprites for the reload animation, i need the actual code. 

Edited by Skully195

Share this post


Link to post

2 answers to this question

Recommended Posts

  • 0
3 hours ago, Kappes Buur said:

Reloading is not a trivial addon for weapons and requires a fairly lengthy explanation.

 

So, instead of rewriting a tutorial I just point you to an existing tutorial.

I figured it out a couple hours ago using that same website xD

Thanks for trying to help though! And you are right, it is VERY confusing and lengthy but i got it done.

I'm about to upload the WAD file for the finished weapon on Mod DB if anyone's interested.

Edited by Skully195

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
Answer this question...

×   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...