Source Entities:Entity pages/BC

From Source Entities
Jump to navigation Jump to search
Source Entities:Entity pages/B

For entities without code classes (also known as an internal entity), the process is mostly the same to Source Entities:Entity pages/BB, but with a few obvious differences.

Title[edit source]

The title of the page should obviously match the entity classname, as close as the wiki software allows. The first letter of the page will always be changed into a capital, and underscores will get turned into spaces. Template:Entity will do the job of lowercasing and adding underscores back, for the title at the top.

If an entity is in two games but are significantly different, add /<game> at the end. For example:

  • weapon_pistol/Left 4 Dead
  • weapon_pistol/Half-Life 2

The /game part won't appear once Template:Entity is added. This applies to all entities, for game engines. Do not ever have a page that covers both Source and GoldSrc.

Top area[edit source]

Use Template:Entity or Template:Entitygs to add the "entity is a brush or point entity in games" message. If the template does not make it immediately clear which games have the entity, add Template:Gamelistbox or Template:Gamelistboxgs to clear it up.

The next part should be a general description of the entity. If the description is quite long, put it in an Entity Description header.

Keyvalues and flags[edit source]

Since internal entities don't exist at runtime, they cannot receive any IO. Add keyvalues with Template:KIO. Add flags with Template:Fl. They should be in this order:

  1. Flags
  2. Keyvalues