I'm afraid my internet is having serious issues at the moment, so I can't send you the wads. But when things are working properly again, I will not hesitate to post them here. The closest thing I suggest is that there are download links to both wads at the top of this discussion. B-Doom should be easy to obtain, but the other is trickier, but you should find it on page 5 of the discussion, I cannot remember which person posted it, it should be "enhanced.wad"
No helper, I think you just about figured it out.FDARI wrote:I think, if I am to be of any more use to you, I will need the wads you are working with. A note on graphics lumps though: They might be understood differently depending on their location in the wad or pk3. In wads, marker lumps such as S_START|S_END (or SS_START|SS_END) inform the game that graphics have a specific purpose. Folders provide similar information in the pk3-structure. It might be possible for the graphics to be misplaced and therefore not used for your weapon. Graphics lumps might also contain offsets and perhaps other data that I have little knowledge of.
Actually, when working with graphics you should hope for a better helper than me. I'm primarily good at locating the code-line that fails and guessing the reason.
The sprites were not where they should have been, in between the markers like you said. I tested the was on it's own and to my surprise, BFGFA and BFGFB (the sprites that I wish to use) both appeared. Also that bit of code you gave me for the "Select" state also seems to work now. It appears only briefly though. To be sure it was working, I added a Ready state to the mix using the same sprite as Select, and it showed up.
I think we may have it my friend. But one challenge remains: getting the code to incorporate all of the sprites for the animation, cause copying over the code from the B-Doom wad doesn't seem to work. It has to be entered manually.
