All public logs
Jump to navigation
Jump to search
Combined display of all available logs of QuakeQEWiki. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 06:10, 19 December 2022 Teamred talk contribs created page 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'") Tag: Visual edit
- 06:40, 24 March 2022 Teamred talk contribs created page 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.") Tag: Visual edit
- 06:19, 24 March 2022 Teamred talk contribs created page 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
- 07:59, 22 March 2022 Teamred talk contribs created page 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:45, 22 March 2022 Teamred talk contribs created page 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:26, 22 March 2022 Teamred talk contribs created page 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 Teamred talk contribs created page 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...")
- 08:09, 17 February 2022 Teamred talk contribs created page File:Lots of centerprint text!.png
- 08:09, 17 February 2022 Teamred talk contribs uploaded File:Lots of centerprint text!.png
- 07:37, 17 February 2022 Teamred talk contribs created page 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...") Tag: Visual edit
- 07:20, 17 February 2022 Teamred talk contribs created page Spawn() (Created page with "The builtin spawn function creates, intializes, and spawns a fresh entity in the quake game engine") Tag: Visual edit
- 06:59, 17 February 2022 Teamred talk contribs created page 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:25, 17 February 2022 Teamred talk contribs created page Category:Primitive (Created page with "Primitives are the basic types that can be declared, assigned, inspected, and returned from functions.") Tag: Visual edit
- 06:24, 17 February 2022 Teamred talk contribs created page 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:00, 17 February 2022 Teamred talk contribs created page Entity (Created page with "Entity is a primitive type in quake-c language. They are essentially a struct which start with a predefined set of member variables == Engine Callbacks == Entities get callbacks from the engine depending on how they are set up === touch === touch is called when the physics engine has detected a collision between entities or the world and the entity. '''Important note''': The physics engine may not call the touch callback when an entity and the entity's '...") Tag: Visual edit
- 05:29, 17 February 2022 Teamred talk contribs created page Entity Effects (Created page with "Quake-C entities come with an 'effects' field which allows setting a lighting effect that sticks to the entity while the effect flag is set. The 2021 release adds 3 new colored lighting effects to the base set from the original 1996 release. The values and results are as follows: {| class="wikitable" |+ !name (see defs.qc) !value !result |- |EF_BRIGHTFIELD |1 |One time whitish flash |- |EF_MUZZLEFLASH |2 |one time flash used for lightning/missile launch...") Tag: Visual edit
- 08:26, 16 February 2022 Teamred talk contribs created page Quake c string (Created page with "Quake C strings are zero terminated sequences of characters. Vanilla quake c offers no straightforward ways to modify a string once it is created and no way to combine existing strings into a new string. Searching through the existing entities in the world of quake can be done by strings Strings can be printed/output to screen with a number of different methods ====== see also: ====== ftos creates a string from a floating point numb...") Tag: Visual edit
- 08:19, 16 February 2022 Teamred talk contribs created page Quake C (Redirected page to Quake-c) Tags: Visual edit New redirect
- 08:16, 16 February 2022 Teamred talk contribs created page Quake-c printing function (Created page with "There are many ways to get strings of text to appear with quake c including sprint, bprint, centerprint, dprint, and writebyte/writestring.") Tag: Visual edit
- 08:13, 16 February 2022 Teamred talk contribs created page Dprint (Created page with "Dprint is a quake-c printing function call intended for debug messages === defs.qc declaration === void(string s) dprint = #25;") Tag: Visual edit
- 08:11, 16 February 2022 Teamred talk contribs created page Bprint (Created page with "Bprint is a quake-c printing function that 'broadcasts' the print message to all entities in the game. At least in English, the output of bprint appears starting in the upper left corner of the game window screen. === Defs.qc Declaration === void(string s) bprint = #23;") Tag: Visual edit
- 08:06, 16 February 2022 Teamred talk contribs created page Quake-c (Redirected page to Quake c) Tags: Visual edit New redirect
- 08:03, 16 February 2022 Teamred talk contribs created page Quake c (Created page with "Quake C is a cool programming language lacking nothing") Tag: Visual edit: Switched
- 08:02, 16 February 2022 Teamred talk contribs created page Centerprint (Created page with "Centerprint is a quake c function that allows the programmer to display some aligned to the center of the screen defs.qc declaration void(entity client, string s, optional string s1, optional string s2, optional string s3, optional string s4, optional string s5, optional string s6, optional string s7) centerprint = #73; // sprint, but in middle") Tag: Visual edit
- 07:50, 16 February 2022 Teamred talk contribs created page Sprint (Created page with "Sprint is a quake-c engine function that prints text to an entity. Most often it is used by the default game code to print text to the player or to players connected to a multiplayer game. Defs.qc Declaration void(entity client, string s) sprint = #24; Related functions [centerprint] [bprint] [cprint]")
- 07:26, 16 February 2022 Teamred talk contribs created page Ftos (Created page with "ftos is a quake-c function which converts a single floating point to a string (thus the contracted name f-to-s). It is one of very few string methods in vanilla quake c")
- 22:39, 14 February 2022 User account Teamred talk contribs was created