• Do not use Works in Progress as a way of avoiding the releases system! Works in Progress can be used for sharing early betas and for getting suggestions for improvement. Releases of finished content are not allowed in this forum! If you would like to submit a finished addon, click here for instructions on how to do so.

Custom blocks

Status
Not open for further replies.

ST218

Member
Okay. Linetype 87, the Custom FOF, or Custom block doesn't have much documentation to it:
SRB2 Specials List said:
Place the appropriate flag values in hex (do not include the 0x in front of it) in the line's UPPER TEXTURE field on the 2nd side of the linedef.

Yet no one says what those hex values are. So, my question is, how exactly do you use this thing?
 
I think these are the values (taken from r_defs.h):

Code:
FF_EXISTS            = 0x1,       ///< Always set, to check for validity.
FF_SOLID             = 0x2,       ///< Clips things.
FF_RENDERSIDES       = 0x4,       ///< Renders the sides.
FF_RENDERPLANES      = 0x8,       ///< Renders the floor/ceiling.
FF_RENDERALL         = 0xC,       ///< Renders everything.
FF_SWIMMABLE         = 0x10,      ///< Is a water block.
FF_NOSHADE           = 0x20,      ///< Messes with the lighting?
FF_CUTSOLIDS         = 0x40,      ///< Cuts out hidden solid pixels.
FF_CUTEXTRA          = 0x80,      ///< Cuts out hidden translucent pixels.
FF_CUTLEVEL          = 0xC0,      ///< Cuts out all hidden pixels.
FF_CUTSPRITES        = 0x100,     ///< Final step in making 3D water.
FF_BOTHPLANES        = 0x200,     ///< Renders both planes all the time.
FF_EXTRA             = 0x400,     ///< Gets cut by ::FF_CUTEXTRA.
FF_TRANSLUCENT       = 0x800,     ///< See through!
FF_FOG               = 0x1000,    ///< Fog "brush."
FF_INVERTPLANES      = 0x2000,    ///< Reverse the plane visibility rules.
FF_ALLSIDES          = 0x4000,    ///< Render inside and outside sides.
FF_INVERTSIDES       = 0x8000,    ///< Only render inside sides.
FF_DOUBLESHADOW      = 0x10000,   ///< Make two lightlist entries to reset light?
FF_FLOATBOB          = 0x20000,   ///< Floats on water and bobs if you step on it.
FF_NORETURN          = 0x40000,   ///< Used with ::FF_CRUMBLE. Will not return to its original position after falling.
FF_CRUMBLE           = 0x80000,   ///< Falls 2 seconds after being stepped on, and randomly brings all touching crumbling 3dfloors down with it, providing their master sectors share the same tag (allows crumble platforms above or below, to also exist).
FF_AIRBOB            = 0x100000,  ///< Moves down by 16 units when stepped on, goes back to original position when weight is removed.
FF_MARIO             = 0x200000,  ///< Acts like a question block when hit from underneath. Goodie spawned at top is determined by master sector.
FF_BUSTUP            = 0x400000,  ///< You can spin through/punch this block and it will crumble!
FF_QUICKSAND         = 0x800000,  ///< Quicksand!
FF_PLATFORM          = 0x1000000, ///< You can jump up through this to the top.
FF_SHATTER           = 0x2000000, ///< Used with ::FF_BUSTUP. Thinks everyone's Knuckles.
FF_SPINBUST          = 0x4000000, ///< Used with ::FF_BUSTUP. Jump or fall onto it while curled in a ball.
 
Status
Not open for further replies.

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top