DE 2.0 & jHRP - Flag not defined errors
Greetings all - I am working on getting jHRP working with the new DE 2.0.
Several of the errors are "Flag 'xxx_xxxxx' is not defined (or is used out of context)"
I am new to creating resource packs for DE and trying to learn as I go.
The flags are: gnf_dietouch, ptf_srcdir, and ptf_srcvel
I am guessing that DE is expecting these to be defined in a .ded file (no files in the resource pack contain those flag name strings).
I've been reading Doomsday.out but it doesn't indicate which .ded file it's reading when it finds those errors.
Am I on the right track?
Can anyone offer any advice or info about those flags?
Any help would be greatly appreciated!
Several of the errors are "Flag 'xxx_xxxxx' is not defined (or is used out of context)"
I am new to creating resource packs for DE and trying to learn as I go.
The flags are: gnf_dietouch, ptf_srcdir, and ptf_srcvel
I am guessing that DE is expecting these to be defined in a .ded file (no files in the resource pack contain those flag name strings).
I've been reading Doomsday.out but it doesn't indicate which .ded file it's reading when it finds those errors.
Am I on the right track?
Can anyone offer any advice or info about those flags?
Any help would be greatly appreciated!
Comments
- "dietouch" is a Generator Stage flag, meaning it has to be used in the Flags of a Stage block inside a Generator block.
- "srcdir" and "srcvel" are Generator flags. They are used in the Flags of a Generator block.
Here's an excerpt of a Generator definition:I searched all .ded files in jHRP for those 3 flag names and found no files (thus my confusion initially! ). Sorry if this is just me missing something or being a newb!
The older, equivalent syntax was:
I also find gnf_srcdir instead of ptf_srcdir.
Are those just other flag names or could they be errors?
Am I doing something wrong?
EDIT: It seems that despite the error verbosity level was set. My question now is should that setting be sticky? Running DE from the start menu (with no -vvv) still seems to produce the extra verbosity in the UI. Should that be happening?
EDIT 2: Just FYI, it seems the verbosity level is a bit too sticky. If I run DE from a cmd line with -vvv, it remains effective even when I run it from the Start Menu (with no -vvv). A little weird in the UI watching all those messages!
Ok just to confirm I am understanding you clearly... any flags that are in the Generator->Stage->Flags section can be written "dietouch" without the "gnf_" prefix - correct?
EDIT: When I added gnf_ I got errors that listed gnf_gnf_dietouch not found, and ptf_gnf_dietouch not found. So I think I'm not understanding this correctly.
For testing purposes I'm just looking at 1 flag and 1 .ded file to see if I can eliminate it.
Here is a snip from the .out file:
And indeed in the file Golem.ded there are 3 references to the flag.
Here is the code:
Isn't that correct?
EDIT: I did try both dietouch and gnf_dietouch and saw the same error in Doomsday.out.
Flags = bright | dietouch
OR (the older variant):
Flags = "ptf_bright ptf_dietouch";
No, Generator > Stage > Flags uses the "ptf_" prefix. It's the Generator > Flags that uses "gnf_".
I'm still getting a gnf_dietouch error in Wand-ammo.ded with the following code - but it looks ok to me - what am I missing?
For the gnf_dietouch error, I removed the flag as I hadn't seen it anywhere else in the Generator block - it was always within a Stage block.
And for the srcvel and srcdir flags, I also removed them from the Stage block because again, I only see them in the Generator block.
I'm reading the Wiki on DED, but I'm guessing that those flags just aren't supposed to be used in that context. Is that correct?
Everything seems to run ok, as far as I can tell right now.