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| | + | * .float [[.modelindex|modelindex]]; |
− | * .vector [[absmin| | + | * .vector [[.absmin|absmin]]; |
− | * .vector [[absmax| | + | * .vector [[.absmax|absmax]]; |
− | * .float [[ltime| | + | * .float [[.ltime|ltime]]; |
− | * .float [[movetype| | + | * .float [[.movetype|movetype]]; |
− | * .float [[solid| | + | * .float [[.solid|solid]]; |
− | * .vector [[origin| | + | * .vector [[.origin|origin]]; |
− | * .vector [[oldorigin| | + | * .vector [[.oldorigin|oldorigin]]; |
− | * .vector [[velocity| | + | * .vector [[.velocity|velocity]]; |
− | * .vector [[angles| | + | * .vector [[.angles|angles]]; |
− | * .vector [[avelocity| | + | * .vector [[.avelocity|avelocity]]; |
− | * .vector [[punchangle| | + | * .vector [[.punchangle|punchangle]]; |
− | * .string [[classname| | + | * .string [[.classname|classname]]; |
− | * .string [[model| | + | * .string [[.model|model]]; |
− | * .float [[frame| | + | * .float [[.frame|frame]]; |
− | * .float [[skin| | + | * .float [[.skin|skin]]; |
− | * .float [[effects| | + | * .float [[.effects|effects]]; |
− | * .vector [[mins| | + | * .vector [[.mins|mins]]; |
− | * .vector [[maxs| | + | * .vector [[.maxs|maxs]]; |
− | * .vector [[size| | + | * .vector [[.size|size]]; |
− | * .void() [[touch| | + | * .void() [[.touch|touch]]; |
− | * .void() [[use| | + | * .void() [[.use|use]]; |
− | * .void() [[think| | + | * .void() [[.think|think]]; |
− | * .void() [[blocked| | + | * .void() [[.blocked|blocked]]; |
− | * .float [[nextthink| | + | * .float [[.nextthink|nextthink]]; |
− | * .entity [[groundentity| | + | * .entity [[.groundentity|groundentity]]; |
− | * .float [[health| | + | * .float [[.health|health]]; |
− | * .float [[frags| | + | * .float [[.frags|frags]]; |
− | * .float [[weapon| | + | * .float [[.weapon|weapon]]; |
− | * .string [[weaponmodel| | + | * .string [[.weaponmodel|weaponmodel]]; |
− | * .float [[weaponframe| | + | * .float [[.weaponframe|weaponframe]]; |
− | * .float [[currentammo| | + | * .float [[.currentammo|currentammo]]; |
− | * .float [[ammo_shells| | + | * .float [[.ammo_shells|ammo_shells]]; |
− | * .float [[ammo_nails| | + | * .float [[.ammo_nails|ammo_nails]]; |
− | * .float [[ammo_rockets| | + | * .float [[.ammo_rockets|ammo_rockets]]; |
− | * .float [[ammo_cells| | + | * .float [[.ammo_cells|ammo_cells]]; |
− | * .float [[items| | + | * .float [[.items|items]]; |
− | * .float [[takedamage| | + | * .float [[.takedamage|takedamage]]; |
− | * .entity [[chain| | + | * .entity [[.chain|chain]]; |
− | * .float [[deadflag| | + | * .float [[.deadflag|deadflag]]; |
− | * .vector [[view_ofs| | + | * .vector [[.view_ofs|view_ofs]]; |
− | * .float [[button0| | + | * .float [[.button0|button0]]; |
− | * .float [[button1| | + | * .float [[.button1|button1]]; |
− | * .float [[button2| | + | * .float [[.button2|button2]]; |
− | * .float [[impulse| | + | * .float [[.impulse|impulse]]; |
− | * .float [[fixangle| | + | * .float [[.fixangle|fixangle]]; |
− | * .vector [[v_angle| | + | * .vector [[.v_angle|v_angle]]; |
− | * .float [[idealpitch| | + | * .float [[.idealpitch|idealpitch]]; |
− | * .string [[netname| | + | * .string [[.netname|netname]]; |
− | * .entity [[enemy| | + | * .entity [[.enemy|enemy]]; |
− | * .float [[flags| | + | * .float [[.flags|flags]]; |
− | * .float [[colormap| | + | * .float [[.colormap|colormap]]; |
− | * .float [[team| | + | * .float [[.team|team]]; |
− | * .float [[max_health| | + | * .float [[.max_health|max_health]]; |
− | * .float [[teleport_time| | + | * .float [[.teleport_time|teleport_time]]; |
− | * .float [[armortype| | + | * .float [[.armortype|armortype]]; |
− | * .float [[armorvalue| | + | * .float [[.armorvalue|armorvalue]]; |
− | * .float [[waterlevel| | + | * .float [[.waterlevel|waterlevel]]; |
− | * .float [[watertype| | + | * .float [[.watertype|watertype]]; |
− | * .float [[ideal_yaw| | + | * .float [[.ideal_yaw|ideal_yaw]]; |
− | * .float [[yaw_speed| | + | * .float [[.yaw_speed|yaw_speed]]; |
− | * .entity [[aiment| | + | * .entity [[.aiment|aiment]]; |
− | * .entity [[goalentity| | + | * .entity [[.goalentity|goalentity]]; |
− | * .float [[spawnflags| | + | * .float [[.spawnflags|spawnflags]]; |
− | * .string [[target| | + | * .string [[.target|target]]; |
− | * .string [[targetname| | + | * .string [[.targetname|targetname]]; |
− | * .float [[dmg_take| | + | * .float [[.dmg_take|dmg_take]]; |
− | * .float [[dmg_save| | + | * .float [[.dmg_save|dmg_save]]; |
− | * .entity [[dmg_inflictor| | + | * .entity [[.dmg_inflictor|dmg_inflictor]]; |
− | * .entity [[owner| | + | * .entity [[.owner|owner]]; |
− | * .vector [[movedir| | + | * .vector [[.movedir|movedir]]; |
− | * .string [[message| | + | * .string [[.message|message]]; |
− | * .float [[sounds| | + | * .float [[.sounds|sounds]]; |
− | * .string [[noise| | + | * .string [[.noise|noise]]; |
− | * .string [[noise1| | + | * .string [[.noise1|noise1]]; |
− | * .string [[noise2| | + | * .string [[.noise2|noise2]]; |
− | * .string [[noise3| | + | * .string [[.noise3|noise3]]; |
===[[QuakeWorld]] fields=== | ===[[QuakeWorld]] fields=== | ||
− | * .float [[lastruntime| | + | * .float [[.lastruntime|lastruntime]]; |
Latest revision as of 23: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.
- .float modelindex;
- .vector absmin;
- .vector absmax;
- .float ltime;
- .float movetype;
- .float solid;
- .vector origin;
- .vector oldorigin;
- .vector velocity;
- .vector angles;
- .vector avelocity;
- .vector punchangle;
- .string classname;
- .string model;
- .float frame;
- .float skin;
- .float effects;
- .vector mins;
- .vector maxs;
- .vector size;
- .void() touch;
- .void() use;
- .void() think;
- .void() blocked;
- .float nextthink;
- .entity groundentity;
- .float health;
- .float frags;
- .float weapon;
- .string weaponmodel;
- .float weaponframe;
- .float currentammo;
- .float ammo_shells;
- .float ammo_nails;
- .float ammo_rockets;
- .float ammo_cells;
- .float items;
- .float takedamage;
- .entity chain;
- .float deadflag;
- .vector view_ofs;
- .float button0;
- .float button1;
- .float button2;
- .float impulse;
- .float fixangle;
- .vector v_angle;
- .float idealpitch;
- .string netname;
- .entity enemy;
- .float flags;
- .float colormap;
- .float team;
- .float max_health;
- .float teleport_time;
- .float armortype;
- .float armorvalue;
- .float waterlevel;
- .float watertype;
- .float ideal_yaw;
- .float yaw_speed;
- .entity aiment;
- .entity goalentity;
- .float spawnflags;
- .string target;
- .string targetname;
- .float dmg_take;
- .float dmg_save;
- .entity dmg_inflictor;
- .entity owner;
- .vector movedir;
- .string message;
- .float sounds;
- .string noise;
- .string noise1;
- .string noise2;
- .string noise3;
QuakeWorld fields[edit]
- .float lastruntime;