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

How to add reload feature to custom gun?

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.

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
×