User contributions for Teamred
Jump to navigation
Jump to search
- 06:10, 19 December 2022 diff hist +272 N While Created page with "Vanilla Quake C has while and do while loops. They function much as in other languages allowing multiple passes through the same instruction set. Importantly, in Quake Enhanced, trying to loop more than 6644 times will cause the game to crash with a 'runaway loop error'" current Tag: Visual edit
- 04:13, 13 May 2022 diff hist +471 Quake c string added sub snippet current Tag: Visual edit
- 03:39, 16 April 2022 diff hist +19 Centerprint current Tag: Visual edit
- 05:15, 25 March 2022 diff hist +218 Entity current Tag: Visual edit
- 05:09, 25 March 2022 diff hist +12 Entity →Engine Callbacks Tag: Visual edit
- 07:43, 24 March 2022 diff hist +467 Quake c string Tag: Visual edit
- 07:26, 24 March 2022 diff hist +342 Quake c string Tag: Visual edit
- 07:11, 24 March 2022 diff hist +142 Main Page current Tag: Visual edit
- 07:05, 24 March 2022 diff hist +1,399 Traceline current Tag: Visual edit
- 06:45, 24 March 2022 diff hist +88 Built In Functions current Tag: Visual edit
- 06:40, 24 March 2022 diff hist +133 N Time Created page with "time is a floating point representation of the number of seconds since the current level was started. It is set in the quake engine." current Tag: Visual edit
- 06:31, 24 March 2022 diff hist +55 Engine Hooks current Tag: Visual edit
- 06:19, 24 March 2022 diff hist +1,069 N Engine Hooks Created page with "Engine hooks are the functions that the quake engine calls in quake-c. With the exception of level initialization, virtually all quake-c code is executed starting from in of these functions {| class="wikitable" |+ !function name !brief description |- |.think() |called for each entity in the world as soon as time becomes larger than the specific .nextthink |- |.touch() |called for entities that collide with each other subject to physics |- | colspan="2"..." Tag: Visual edit
- 05:51, 24 March 2022 diff hist +32 Built In Functions Tag: Visual edit
- 05:47, 24 March 2022 diff hist +280 Built In Functions Tag: Visual edit
- 05:45, 24 March 2022 diff hist +114 Built In Functions Tag: Visual edit
- 05:38, 24 March 2022 diff hist −311 Built In Functions Tag: Visual edit
- 05:24, 24 March 2022 diff hist −650 Built In Functions Tag: Visual edit
- 05:13, 24 March 2022 diff hist −234 Built In Functions Tag: Visual edit
- 07:59, 22 March 2022 diff hist +5,054 N Built In Functions Created page with "{| class="wikitable" |+ !number !name !return !brief |- |1 |makevectors |void |// sets v_forward, etc globals |- |2 |setorigin |void |set movetype and solid first |- |3 |setmodel |void | |- |4 |setsize |void | |- |6 |break |void | |- |7 |random |float |returns 0 - 1 |- |8 |sound |void | |- |9 |normalize |vector | |- |10 |error |void | |- |11 |objerror |void | |- |12 |vlen |float | |- |13 |vectoyaw |float | |- |14 |[spawn] |entity | |- |15 |remove |void | |- | | | | |}..." Tag: Visual edit
- 07:48, 22 March 2022 diff hist +87 Draw circle current Tag: Visual edit
- 07:45, 22 March 2022 diff hist +116 N Traceline Created page with "traceline is a built-in function that does a raycast in the world. See also: https://quakewiki.org/wiki/traceline" Tag: Visual edit
- 06:40, 22 March 2022 diff hist +8 Draw circle Tag: Visual edit
- 06:31, 22 March 2022 diff hist +141 m Draw circle added table Tag: Visual edit
- 06:26, 22 March 2022 diff hist +734 N Draw circle Created page with "'draw_circle' is a new debug-drawing function in quake c in quake enhanced. for these draw calls to be visible sv_cheats has to be set to 1 The function draws a circle centered at the origin vector of the color specified by the colormap argument in the x/y plane. The signature is: draw_circle( vector origin, float radius, float colormap, float lifetime, float depthtest ) = #85; argument description: origin: vector of the center of the circle radius: radius of the circ..."
- 06:05, 22 March 2022 diff hist +553 N Draw line Created page with "'draw_line' is a new function in the 2021 quake rerelease that was part of the 'major update' on oct 7th 2021 (src: https://store.steampowered.com/news/app/2310/?emclan=103582791433474629&emgid=2945904318371492362) just like the other new draw functions sv_cheats needs to be set to 1 for the debug rendering to be visible the color is an index into the palette as illustrated here: https://quakewiki.org/wiki/Quake_palette The function signature is: void draw_line( vect..." current
- 08:27, 17 February 2022 diff hist +29 Ftos current Tag: Visual edit
- 08:17, 17 February 2022 diff hist +5 Centerprint Tag: Visual edit
- 08:10, 17 February 2022 diff hist +45 Centerprint Tag: Visual edit
- 08:09, 17 February 2022 diff hist +53 N File:Lots of centerprint text!.png current
- 07:59, 17 February 2022 diff hist +335 Centerprint Tag: Visual edit
- 07:51, 17 February 2022 diff hist +207 Sprint current Tag: Visual edit
- 07:37, 17 February 2022 diff hist +840 N Vector Created page with "Quake-C vectors are 3-dimensional vectors of floats. These are often used to represent a specific point in 3D space, a direction in 3D space, or a set of rotations. == Operations == === Dot Product === <code>vector a, b;</code> <code>float dp = a * b;</code> === Addition === <code>vector a, b;</code> <code>vector c = a + b;</code> === Scaling === <code>vector a;</code> <code>a = a * 3.5;</code> === Length === <code>vector a;</code> <code>float lengt..." current Tag: Visual edit
- 07:21, 17 February 2022 diff hist +35 Spawn() current Tag: Visual edit
- 07:20, 17 February 2022 diff hist +98 N Spawn() Created page with "The builtin spawn function creates, intializes, and spawns a fresh entity in the quake game engine" Tag: Visual edit
- 07:17, 17 February 2022 diff hist +9 Float current Tag: Visual edit
- 07:16, 17 February 2022 diff hist +631 Flag current Tag: Visual edit
- 06:59, 17 February 2022 diff hist +764 N Flag Created page with "Vanilla Quake-C files make ample use of binary flags for entity properties as disparate as whether the entity is touching the ground to which weapons a player possesses. Binary flags can be thought of as a bunch of switches that are either on or off pushed up next to each other. The weapons are a great example of this: {| class="wikitable" |+ !item flag-constant !integer value !2 !binary value |- |IT_SHOTGUN |1 |2^0 |<code>0000 0001</code> |- |IT_SUPER_SHOTGUN |2 |2^1..." Tag: Visual edit
- 06:38, 17 February 2022 diff hist +369 Entity Tag: Visual edit
- 06:28, 17 February 2022 diff hist +56 Quake c string Tag: Visual edit
- 06:27, 17 February 2022 diff hist +32 Quake c string Tag: Visual edit
- 06:25, 17 February 2022 diff hist +102 N Category:Primitive Created page with "Primitives are the basic types that can be declared, assigned, inspected, and returned from functions." current Tag: Visual edit
- 06:24, 17 February 2022 diff hist +456 N Float Created page with "Float is the numerical primitive in Quake-C. Like in many other languages 'float' is short for '[https://floating-point-gui.de/ floating point]'. Variables of type 'float' can be used as: * Floating point precision numbers ** <code>local float myVar = 3.14;</code> * Binary flag stores ** <code>local float flag = 2 | 8; // flag = 1010</code> * Boolean logic ** <code>local float isTall = height > 10; // isTall = 1</code> Category:Primitive" Tag: Visual edit
- 06:10, 17 February 2022 diff hist +23 Entity Tag: Visual edit
- 06:09, 17 February 2022 diff hist +4 Bprint current Tag: Visual edit
- 06:09, 17 February 2022 diff hist +28 Centerprint Tag: Visual edit
- 06:08, 17 February 2022 diff hist +30 Sprint Tag: Visual edit
- 06:07, 17 February 2022 diff hist −1 Centerprint Tag: Visual edit
- 06:05, 17 February 2022 diff hist +92 Sprint →Notes Tag: Visual edit
- 06:02, 17 February 2022 diff hist −4 Sprint →Notes Tag: Visual edit