Transportable Placeable System (TPS)

From Sinfar
Revision as of 17:56, 13 May 2025 by ItsABadger (talk | contribs) (Created page with "The Transportable Placeable System (TPS) allows an item to be turned into a placeable of any kind, usable or otherwise, by dropping it on the ground. The system has some inherent rules: The placeable cannot be in an area with enemies, and if enemies come too close, it will be destroyed. They are not intended to block or limit access to areas, but rather as a roleplay tool. For builders, new TPS objects can be made by making an item and, usually though not necessarily,...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The Transportable Placeable System (TPS) allows an item to be turned into a placeable of any kind, usable or otherwise, by dropping it on the ground. The system has some inherent rules:

The placeable cannot be in an area with enemies, and if enemies come too close, it will be destroyed. They are not intended to block or limit access to areas, but rather as a roleplay tool.

For builders, new TPS objects can be made by making an item and, usually though not necessarily, a placeable in their ERF.

The item must have the variable EVENT_UNACQUIRE[string]tps_ev_unacqitem. It must then have either,

A: TPS_PLC_RESREF[string] and the ResRef of a Placeable that should spawn when dropped OR

B: The following variables which will create a dynamic placeable:

  • TPS_NAME[string]
  • TPS_DESCRIPTION[string]
  • TPS_PLC_APPEARANCE[int]
  • TPS_MAX_HP[int]
  • TPS_HARDNESS[int]
  • TPS_PLACED_SCRIPT[string]


Additionally, in all cases, the variable TPS_FLAGS[int] can be set to restrict how and where it can be used:

TPS_FLAGS_CAN_RENAME =             0x00000001;

TPS_FLAGS_CAN_CHANGE_DESCRIPTION = 0x00000002;

TPS_FLAGS_PRIVATE =                0x00000004;

TPS_FLAGS_DROP_ANYWHERE =          0x00000008;

Add the numbers together to combine restrictions, so TPS_FLAGS[int]5 would mean that the object can only be picked up by the owner who dropped it (it's private) and the owner can also rename it, but not change description.

Note: do NOT use DROP_ANYWHERE under any circumstances without admin approval.