Insimenator.org

Simmers' Paradise => Modding Database => Topic started by: Eric on August 28, 2005, 10:11:42 pm



Title: Placement Flags [Data Label]
Post by: Eric on August 28, 2005, 10:11:42 pm
These are my notes on how the Placement Flags are used. This is by no means a complete set of instructions for this Data Label, but a work in progress.

Placement flags define where an object can be placed. (under water, pool, slope etc.)

In your objects Function - Init BHAV, you would place any, none or all of the following script to set the objects placement flags (depending on the objects purpose or function).

My 0x002A Set Flag Literal Value 0x0001 - allow on floor
My 0x002A Set Flag Literal Value 0x0002 - allow on terrain
My 0x002A Set Flag Literal Value 0x0003 - allow under water
My 0x002A Set Flag Literal Value 0x0004 - forced to slot orientation
------------ 0x0005 ------------ *unused -----------
------------ 0x0006 ------------ *unused -----------
My 0x002A Set Flag Literal Value 0x0007 - allow on locked tile
My 0x002A Set Flag Literal Value 0x0008 - detached from floor
My 0x002A Set Flag Literal Value 0x0009 - allow on slope
My 0x002A Set Flag Literal Value 0x000A - allow in air
My 0x002A Set Flag Literal Value 0x000B - allow wall intersection
My 0x002A Set Flag Literal Value 0x000C - allow in pool
My 0x002A Set Flag Literal Value 0x000D - attached to ceiling
My 0x002A Set Flag Literal Value 0x000E - allow on fence post
My 0x002A Set Flag Literal Value 0x000F - allow on water surface
My 0x002A Set Flag Literal Value 0x0010 - allow roof intersection

To remove any of the above flags you would replace Set Flag with Clear Flag.

Check Filetypes Object Functions in your objects file structure, if you are not sure which BHAV is the Function - Init file being used by your object.



Feel free to offer your input and/or correct errors on my part.


SimplePortal 2.1.1