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

Difference between revisions of "System fields"

From Quake Wiki

(New page: These are the fields Quake requires to run. Most have special meaning to the engine. All fields before the definition "void end_sys_fields;" (in defs.qc) are system fields. If any ...)
 
m
 
Line 2: Line 2:
 
All [[fields]] before the definition "void [[end_sys_fields]];" (in defs.qc) are system fields. If any are changed or added, the engine must be rebuilt with the progdefs.h file produced by [[QCC]] after compilation. See [[FrikQCC]] warning [[Q208]].
 
All [[fields]] before the definition "void [[end_sys_fields]];" (in defs.qc) are system fields. If any are changed or added, the engine must be rebuilt with the progdefs.h file produced by [[QCC]] after compilation. See [[FrikQCC]] warning [[Q208]].
  
* .float [[modelindex|.modelindex]];
+
* .float [[.modelindex|modelindex]];
* .vector [[absmin|.absmin]];
+
* .vector [[.absmin|absmin]];
* .vector [[absmax|.absmax]];
+
* .vector [[.absmax|absmax]];
* .float [[ltime|.ltime]];
+
* .float [[.ltime|ltime]];
* .float [[movetype|.movetype]];
+
* .float [[.movetype|movetype]];
* .float [[solid|.solid]];
+
* .float [[.solid|solid]];
* .vector [[origin|.origin]];
+
* .vector [[.origin|origin]];
* .vector [[oldorigin|.oldorigin]];
+
* .vector [[.oldorigin|oldorigin]];
* .vector [[velocity|.velocity]];
+
* .vector [[.velocity|velocity]];
* .vector [[angles|.angles]];
+
* .vector [[.angles|angles]];
* .vector [[avelocity|.avelocity]];
+
* .vector [[.avelocity|avelocity]];
* .vector [[punchangle|.punchangle]];
+
* .vector [[.punchangle|punchangle]];
* .string [[classname|.classname]];
+
* .string [[.classname|classname]];
* .string [[model|.model]];
+
* .string [[.model|model]];
* .float [[frame|.frame]];
+
* .float [[.frame|frame]];
* .float [[skin|.skin]];
+
* .float [[.skin|skin]];
* .float [[effects|.effects]];
+
* .float [[.effects|effects]];
* .vector [[mins|.mins]];
+
* .vector [[.mins|mins]];
* .vector [[maxs|.maxs]];
+
* .vector [[.maxs|maxs]];
* .vector [[size|.size]];
+
* .vector [[.size|size]];
* .void() [[touch|.touch]];
+
* .void() [[.touch|touch]];
* .void() [[use|.use]];
+
* .void() [[.use|use]];
* .void() [[think|.think]];
+
* .void() [[.think|think]];
* .void() [[blocked|.blocked]];
+
* .void() [[.blocked|blocked]];
* .float [[nextthink|.nextthink]];
+
* .float [[.nextthink|nextthink]];
* .entity [[groundentity|.groundentity]];
+
* .entity [[.groundentity|groundentity]];
* .float [[health|.health]];
+
* .float [[.health|health]];
* .float [[frags|.frags]];
+
* .float [[.frags|frags]];
* .float [[weapon|.weapon]];
+
* .float [[.weapon|weapon]];
* .string [[weaponmodel|.weaponmodel]];
+
* .string [[.weaponmodel|weaponmodel]];
* .float [[weaponframe|.weaponframe]];
+
* .float [[.weaponframe|weaponframe]];
* .float [[currentammo|.currentammo]];
+
* .float [[.currentammo|currentammo]];
* .float [[ammo_shells|.ammo_shells]];
+
* .float [[.ammo_shells|ammo_shells]];
* .float [[ammo_nails|.ammo_nails]];
+
* .float [[.ammo_nails|ammo_nails]];
* .float [[ammo_rockets|.ammo_rockets]];
+
* .float [[.ammo_rockets|ammo_rockets]];
* .float [[ammo_cells|.ammo_cells]];
+
* .float [[.ammo_cells|ammo_cells]];
* .float [[items|.items]];
+
* .float [[.items|items]];
* .float [[takedamage|.takedamage]];
+
* .float [[.takedamage|takedamage]];
* .entity [[chain|.chain]];
+
* .entity [[.chain|chain]];
* .float [[deadflag|.deadflag]];
+
* .float [[.deadflag|deadflag]];
* .vector [[view_ofs|.view_ofs]];
+
* .vector [[.view_ofs|view_ofs]];
* .float [[button0|.button0]];
+
* .float [[.button0|button0]];
* .float [[button1|.button1]];
+
* .float [[.button1|button1]];
* .float [[button2|.button2]];
+
* .float [[.button2|button2]];
* .float [[impulse|.impulse]];
+
* .float [[.impulse|impulse]];
* .float [[fixangle|.fixangle]];
+
* .float [[.fixangle|fixangle]];
* .vector [[v_angle|.v_angle]];
+
* .vector [[.v_angle|v_angle]];
* .float [[idealpitch|.idealpitch]];
+
* .float [[.idealpitch|idealpitch]];
* .string [[netname|.netname]];
+
* .string [[.netname|netname]];
* .entity [[enemy|.enemy]];
+
* .entity [[.enemy|enemy]];
* .float [[flags|.flags]];
+
* .float [[.flags|flags]];
* .float [[colormap|.colormap]];
+
* .float [[.colormap|colormap]];
* .float [[team|.team]];
+
* .float [[.team|team]];
* .float [[max_health|.max_health]];
+
* .float [[.max_health|max_health]];
* .float [[teleport_time|.teleport_time]];
+
* .float [[.teleport_time|teleport_time]];
* .float [[armortype|.armortype]];
+
* .float [[.armortype|armortype]];
* .float [[armorvalue|.armorvalue]];
+
* .float [[.armorvalue|armorvalue]];
* .float [[waterlevel|.waterlevel]];
+
* .float [[.waterlevel|waterlevel]];
* .float [[watertype|.watertype]];
+
* .float [[.watertype|watertype]];
* .float [[ideal_yaw|.ideal_yaw]];
+
* .float [[.ideal_yaw|ideal_yaw]];
* .float [[yaw_speed|.yaw_speed]];
+
* .float [[.yaw_speed|yaw_speed]];
* .entity [[aiment|.aiment]];
+
* .entity [[.aiment|aiment]];
* .entity [[goalentity|.goalentity]];
+
* .entity [[.goalentity|goalentity]];
* .float [[spawnflags|.spawnflags]];
+
* .float [[.spawnflags|spawnflags]];
* .string [[target|.target]];
+
* .string [[.target|target]];
* .string [[targetname|.targetname]];
+
* .string [[.targetname|targetname]];
* .float [[dmg_take|.dmg_take]];
+
* .float [[.dmg_take|dmg_take]];
* .float [[dmg_save|.dmg_save]];
+
* .float [[.dmg_save|dmg_save]];
* .entity [[dmg_inflictor|.dmg_inflictor]];
+
* .entity [[.dmg_inflictor|dmg_inflictor]];
* .entity [[owner|.owner]];
+
* .entity [[.owner|owner]];
* .vector [[movedir|.movedir]];
+
* .vector [[.movedir|movedir]];
* .string [[message|.message]];
+
* .string [[.message|message]];
* .float [[sounds|.sounds]];
+
* .float [[.sounds|sounds]];
* .string [[noise|.noise]];
+
* .string [[.noise|noise]];
* .string [[noise1|.noise1]];
+
* .string [[.noise1|noise1]];
* .string [[noise2|.noise2]];
+
* .string [[.noise2|noise2]];
* .string [[noise3|.noise3]];
+
* .string [[.noise3|noise3]];
  
 
===[[QuakeWorld]] fields===
 
===[[QuakeWorld]] fields===
  
* .float [[lastruntime|.lastruntime]];
+
* .float [[.lastruntime|lastruntime]];

Latest revision as of 22:34, 30 October 2007

These are the fields Quake requires to run. Most have special meaning to the engine. All fields before the definition "void end_sys_fields;" (in defs.qc) are system fields. If any are changed or added, the engine must be rebuilt with the progdefs.h file produced by QCC after compilation. See FrikQCC warning Q208.

QuakeWorld fields[edit]