]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blobdiff - scripts/entities.def
Merge remote branch 'origin/tzork/ent-def-fixes'
[xonotic/xonotic-maps.pk3dir.git] / scripts / entities.def
index f2bb5298bbc527fe692e8423d4dcd7faf01b626a..786deed43d3936431385a2a5c3fd7102406765a1 100644 (file)
@@ -7,6 +7,17 @@ angles: Individual control of PITCH, YAW, and ROLL (default 0 0 0).
 _scale: scaling factor (default 64), good values are between 50 and 300, depending on the map.
 */
 
+/*QUAKED _decal (1.0 0.77 0.88) ?
+Compiler-only entity that projects a surface (which must be a patch mesh) in a direction (which is given by the vector from the center of this entity to the "target" entity)
+-------- KEYS --------
+target: the entity to be targeted by the projection
+-------- NOTES --------
+This entity MUST contain one or more patch meshes.
+The shaders of these patches SHOULD have the "polygonoffset" shader keyword (or you will get insane z-fighting).
+The targeted entity is preferably an info_null.
+The projection is a linear projection, and originates from the center of this entity (the start of the arrow line in Radiant) to the origin of the targeted entity (the end of the arrow line in Radiant).
+*/
+
 /*QUAKED dom_controlpoint (.3 .3 1) (-16 -16 -16) (16 16 16) 
 Domination  control point
 In order to get Domination working well in your map, you need to place dom_team and dom_controlpoint entities.  You *must* have at least 3 dom_team entities - 2 minimum teams and one blank one (empty netname and no team).  You can have up to 4 teams (5 dom_team entities).
@@ -1237,8 +1248,8 @@ modeldisabled="models/weapons/g_uzi.md3"
 /*QUAKED worldspawn (0 0 0) ? 
 The world.
 If you see this, the currently selected brush is not of an entity.
--------- KEYS --------
-fog: fog parameters of the map (density red green blue alpha mindist maxdist); works just like the "fog" console command
+-------- KEYS --------         
+fog: fog parameters of the map (density red green blue alpha mindist maxdist maxheight fade-height); works just like the "fog" console command
 author: name of the author of the map, if not specified in "message". Will get copied to the "author" entry of the mapinfo file when none is present.
 message: text to print at user logon. Used for name of level. Ideally: "NAMEOFLEVEL by AUTHOR". Will get copied to the "title" and "author" entries of the mapinfo file when none is present.
 _description: one-line description of the map. Will get copied to the "description" entry of the mapinfo file when none is present.