t.v.
Junior Member

Posts: 217
Registered: 10-06 |
I am making a PrBoom compatible version of Harmony.
Now I ran into a strange bug involving the altered weapons behaviour.
PrBoom seems to be reading the dehacked differently than I expected.
In Harmony the pistol is replaced with a futuristic energy gun with unlimited ammo. But when I fire it in PrBoom, something strange happens:
Every shot from the new pistol takes 1 shell out of the maximum amount of shells (shotgun is still weapon #3).
I start out with 0 / 24 shells (meaning I have no shells but if I find any I can hold 24 max). When I fire my pistol once I can only hold 23 shells. When I reach below 0, I get a big red "minus" symbol on the status bar and I cannot select any other weapon anymore (except for weaopon #0, which is unable to fire).
PrBoom, should read dehacked the same as other ports right?
So... can anyone help me figure out what is going on and how to fix it? All I want is to have the pistol to fire energy bolts with unlimited ammo (as it does in the zdoom version).
I made a wad with the dehacked coding in it, so you can see it for yourselves:
rabotik.nl/temp/weapons-bug-01.wad
(please ignore the bad coloring: Harmony uses a different palette than Doom).
I am using PrBoom-Plus 2.5.1.3 BTW
thanks in advance.
|