Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!

Editing Quake Wiki:Entity documentation project

From Quake Wiki

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 7: Line 7:
  
 
== Article Layout ==
 
== Article Layout ==
If you're comfortable with wiki editing just follow the style of the articles that exist, the [[monster_shalrath]], [[func_button]] and [[func_door]] articles are excellent examples. If you're not, you could copy the below article template and insert the necessary information where it is needed. Alternatively, simply adding the relevant data for someone else to format later is still helpful. Also, even if you don't have ALL the data, some data is better than no data, so feel free to fill in bits of a page, or make modifications to the existing data if you know that it is incorrect.
+
If you're comfortable with wiki editing just follow the style of the articles that exist, the [[func_button]] and [[func_door]] articles are excellent examples. If you're not, you could copy the below article template and insert the necessary information where it is needed. Alternatively, simply adding the relevant data for someone else to format later is still helpful.
 
 
A bit about the Infobox_entity code near the start:
 
 
 
Delete the commonname field if the entity does not have a common name. An example of a common name is Vore, which is the common name of monster_shalrath. Vore also has a [[Vore|wiki page]], so in this case, it would be linked. An entity with no common name would be info_null, or ambient_drone.
 
 
 
Also delete the precache field if the entity does not precache any models or sounds. You can find out if anything is precached by looking in the entity's qc file (usually near the bottom).
 
  
 
  <nowiki>
 
  <nowiki>
{{DISPLAYTITLE:entity_name}}
 
 
{{Infobox_entity
 
| classname = entity_name
 
| commonname = Entity
 
| type = point
 
| class = [[Entity (entity class)|entity]]
 
| dimensions = X x Y x Z
 
| quakec = [[entity.qc]]
 
| precaches =
 
list precached<br>
 
models and sounds<br>
 
here. Otherwise<br>
 
leave empty<br>
 
}}
 
 
 
The '''entity_name''' is a blah blah blah; basic entity information goes here.
 
The '''entity_name''' is a blah blah blah; basic entity information goes here.
  
 
== Usage ==
 
== Usage ==
 
The [[Entity name tutorial]] article has some examples of the creation and use of this entity.
 
The [[Entity name tutorial]] article has some examples of the creation and use of this entity.
 
You might want to add a link to a more detailed article or tutorial, but for some entities the information can be added right here.
 
  
 
== Attributes ==
 
== Attributes ==
Line 43: Line 19:
  
 
=== Keys ===
 
=== Keys ===
{| class="wikitable" width="100%"
+
{| class="wikitable"
 
|-
 
|-
| ! bgcolor="#eeeeee" width="100px" | ''targetname'' |
+
| ! bgcolor="#eeeeee" width="80px" | ''targetname'' || The name of the entity.  
| The targetname of the Entity.
 
 
|-
 
|-
| ! bgcolor="#eeeeee" | ''target''
+
| ! bgcolor="#eeeeee" | ''target'' || The targetname of the entity that will be triggered by this entity.
| The entity to be triggered when the entity is activated / killed / insert whatever is appropriate.
 
 
|-
 
|-
| ! bgcolor="#eeeeee" | ''example_key''  
+
| ! bgcolor="#eeeeee" | ''keyvaluename'' || Additional keyvalues and descriptions can be appended in this format.
| You can keep adding more keeps like this
 
 
|}
 
|}
  
 
===Spawnflags===
 
===Spawnflags===
The entity_name entity supports the following [[Entity#Spawnflags|spawnflags]]:
+
The button supports [[Entity#Spawnflags|standard spawnflags]] for difficulty and deathmatch presence.
{| class="wikitable" width="100%"
+
{| class="wikitable collapsible collapsed"
! width="50" | Flag
+
|-
! width="150" | Common Name
+
! Flag !! Common Name
! Description
+
|-
 +
| 256 || Not on Easy
 +
|-
 +
| 512 || Not on Normal
 +
|-
 +
| 1024 || Not on Hard
 +
|-
 +
| 2048 || Not in Deathmatch
 +
|}
 +
It also has the following additional flags enabled:
 +
{| class="wikitable"
 +
|-
 +
! Flag !! Common Name !! Description
 
|-
 
|-
| flag #
+
| flag # || Some Name ||| Description of spawnflag
| flag name in editor (TrenchBroom is ideal)
 
| Description of flag effects
 
 
|}
 
|}
 
It also supports the standard spawnflags for difficulty and deathmatch presence.
 
{{Template:Mode_spawnflags
 
| entity = The Entity
 
}}
 
 
==Definitions==
 
 
===FGD Definition===
 
This is the format used by [[TrenchBroom]] and [[Worldcraft]]. Note that the model(...) parameter is not supported by Worldcraft. This does not include the base class definition, which may also be required.
 
<pre>
 
[ code from entity entry in an .fgd file goes in here ]
 
</pre>
 
===DEF Definition===
 
This is the definition format used for most old Quake editors, including the original [[QuakeEd]].
 
<pre>
 
[ code from entity entry in a .def file goes in here ]
 
</pre>
 
 
 
[[Category:Quake entities]]
 
[[Category:Quake entities]]
 
</nowiki>
 
</nowiki>
Line 91: Line 55:
 
----
 
----
 
=entity_name=
 
=entity_name=
 
{{Infobox_entity
 
| classname = entity_name
 
| commonname = Entity
 
| type = point
 
| class = [[Entity (entity class)|entity]]
 
| dimensions = X x Y x Z
 
| quakec = [[entity.qc]]
 
| precaches =
 
list precached<br>
 
models and sounds<br>
 
here. Otherwise<br>
 
leave empty<br>
 
}}
 
 
 
The '''entity_name''' is a blah blah blah; basic entity information goes here.
 
The '''entity_name''' is a blah blah blah; basic entity information goes here.
  
 
== Usage ==
 
== Usage ==
The [[Entity name tutorial]] article has some examples of the creation and use of this entity.
+
The '''Entity name tutorial''' article has some examples of the creation and use of this entity.
 
 
You might want to add a link to a more detailed article or tutorial, but for some entities the information can be added right here.
 
  
 
== Attributes ==
 
== Attributes ==
Line 117: Line 64:
  
 
=== Keys ===
 
=== Keys ===
{| class="wikitable" width="100%"
+
{| class="wikitable"
 
|-
 
|-
| ! bgcolor="#eeeeee" width="100px" | ''targetname'' |
+
| ! bgcolor="#eeeeee" width="80px" | ''targetname'' || The name of the entity.  
| The targetname of the Entity.
 
 
|-
 
|-
| ! bgcolor="#eeeeee" | ''target''
+
| ! bgcolor="#eeeeee" | ''target'' || The targetname of the entity that will be triggered by this entity.
| The entity to be triggered when the entity is activated / killed / insert whatever is appropriate.
 
 
|-
 
|-
| ! bgcolor="#eeeeee" | ''example_key''  
+
| ! bgcolor="#eeeeee" | ''keyvaluename'' || Additional keyvalues and descriptions can be appended in this format.
| You can keep adding more keeps like this
 
 
|}
 
|}
  
 
===Spawnflags===
 
===Spawnflags===
The entity_name entity supports the following [[Entity#Spawnflags|spawnflags]]:
+
The button supports [[Entity#Spawnflags|standard spawnflags]] for difficulty and deathmatch presence.
{| class="wikitable" width="100%"
+
{| class="wikitable collapsible collapsed"
! width="50" | Flag
+
|-
! width="150" | Common Name
+
! Flag !! Common Name
! Description
+
|-
 +
| 256 || Not on Easy
 +
|-
 +
| 512 || Not on Normal
 +
|-
 +
| 1024 || Not on Hard
 +
|-
 +
| 2048 || Not in Deathmatch
 +
|}
 +
It also has the following additional flags enabled:
 +
{| class="wikitable"
 +
|-
 +
! Flag !! Common Name !! Description
 
|-
 
|-
| flag #
+
| flag # || Some Name ||| Description of spawnflag
| flag name in editor (TrenchBroom is ideal)
 
| Description of flag effects
 
 
|}
 
|}
 
It also supports the standard spawnflags for difficulty and deathmatch presence.
 
{{Template:Mode_spawnflags
 
| entity = The Entity
 
}}
 
 
==Definitions==
 
 
===FGD Definition===
 
This is the format used by [[TrenchBroom]] and [[Worldcraft]]. Note that the model(...) parameter is not supported by Worldcraft. This does not include the base class definition, which may also be required.
 
<pre>
 
[ code from entity entry in an .fgd file goes in here ]
 
</pre>
 
===DEF Definition===
 
This is the definition format used for most old Quake editors, including the original [[QuakeEd]].
 
<pre>
 
[ code from entity entry in a .def file goes in here ]
 
</pre>
 
 
[[Category:Quake entities]]
 
  
 
----
 
----

Please note that all contributions to Quake Wiki are considered to be released under the GNU Free Documentation License 1.3 or later (see Quake Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)

Templates used on this page: