Aeyesx Dominating!
Joined: 13 Oct 2012
|
Posted: Mon Sep 05, 2016 10:34 am Post subject: New handling of ThingBits |
|
|
Hey there.
As discussed on IRC lately, and several times on forums,
This reguest is about new Decorate-like handling of thing flags (aka bits).
Since the DeHackEd nature can be kinda confusing.
The current method
-----------------------
When you wan't to specify a flag you gotta to do this:
Code: |
# This is just a standard comentory in deh.
# The (Demon) is ignored by DeHackEd and only tell us what the ID is.
# The Thing ID tells DeHackEd what actor bits are we trying to modify.
Thing 13 (Demon)
Bits = TRANSPARENT + ANYOTHERFLAG
|
And this is where we run into some problems:
A)
The way of design thing flags are in various groups from MF_ to MF5_!
Each time you add some, if in same group it *can* overwrite all others that are set by default by the engine. Sou you must have to specify them all again!
B)
The removing of flags.
Due the nature of ability to remove all the flags as described in A).
You can use any flag that is in the same group to remove flags.
But there is no public list in which group which flag is. (and which is a subject to change)
This is very needed thing since DehSUPP allows you to utilize most of Heretic and Hexen actors that have already some flags.
Summary
This method can be very confusing.
The new method
-------------------
Could look like this:
Code: |
Thing 13 (Demon)
Bits = 0
AddBits = SOLID
RemoveBits = CLIENTSIDE + FLOATBOB
|
The reason to keep default behaviour of "Bits ="
Is to remain compatible with dozens of older wads.
The new AddBits/RemoveBits would be independent from those old side-effects and would behave same way as in decorate.
Summary
This method is cool and friendly
I know that beign always user-friendly is not always good and allows noobs to raise and take the world but things just happens |
|