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

Problems with my wad

Question

Okay I've tried for a while to figure this stuff out on my own and I've hit a brick wall. So I'm just going to explain what I'm doing and hopefully somebody can help me.

 

I want to make a standalone game, an iwad. People keep saying "don't edit the iwad" but I do not want to just make an addon, I want this to be like Freedoom is. A standalone iwad. I've managed to figure out how to get my iwad to load into GZDoom with the other iwads, so that is not my problem.

 

My problem is that I want to edit the code for the guns but none of it is working. Specifically I am replacing the chaingun with the assault rifle from Marathon 2. I've already replaced the sprites with the ones I want, and I created a DECORATE lump which includes the code for the chaingun that I got from the wiki page. I then edited that code so that the animation frames are faster because the MA-75b assault rifle fires very fast but when I save the iwad and run it, the frames still run on the same ticks as the chaingun. I also tried to replace dspistol with the sound for the rifle, but still named it dspistol and that also did not change at all. Am I doing something wrong? Is there an easier way to do this?

Share this post


Link to post

3 answers to this question

Recommended Posts

  • 0
  57 minutes ago, CPLJigsoreQuandary said:

I want to make a standalone game, an iwad. People keep saying "don't edit the iwad" but I do not want to just make an addon, I want this to be like Freedoom is. A standalone iwad.


I'm doing one as well but you still should make a PWAD, and then import into it ALL the resources the game will use. menu text, sprites, textures, EVERYTHING. Then edit with a hex editor to make it an IWAD when it's completely finished and self-sufficient. Editing the IWAD caused me trouble and was just an inefficient way of working due to all the useless stuff in there + you WILL forget some proprietery doom stuff in there. Just make a PWAD while you're working on it. That can solve your DSPISTOL issues at the very least :)

Share this post


Link to post
  • 0
10 minutes ago, CPLJigsoreQuandary said:

How would I go about doing that?

 

Open your WAD with an hex editor, and the four first bytes are either "IWAD" or "PWAD". when your PWAD is 100% complete just change PWAD to IWAD and save. It's better than messing with the stock D2 IWAD

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
×