Gameinfo.gi: Difference between revisions
Jump to navigation
Jump to search

Note:Booleans are represented as 0 or 1.
Note:If a string contains spaces or tabs you have to wrap it in "quote marks".
Note:Last retrieved Oct 2, 2023.
m (→See Also) |
m (Pulling this crap outta my a-- from what I see in the file provided in the article. Please doublecheck this! SealEnthusiast may be of assistance.) |
||
Line 2: | Line 2: | ||
{{ModernTodo|Add more information and KeyValues.}} | {{ModernTodo|Add more information and KeyValues.}} | ||
{{stub}} | {{stub}} | ||
{{Code|preset=2|GameInfo.gi}} is a [[KeyValues]] config file that describes a Source 2 games/mod. It is slightly different compared to the [[Gameinfo.txt|Source 1 counterpart (gameinfo.txt)]]. | {{Code|preset=2|GameInfo.gi}} is a [[KeyValues]] config file that describes a Source 2 games/mod. It is slightly different compared to the [[Gameinfo.txt|Source 1 counterpart (gameinfo.txt)]]. For example, {{code|preset=2|GameInfo.gi}} can contain a Source 2 equivalent of an "autoexec.cfg|{{code|preset=2|[[autoexec.cfg]]}}", which is defined in the "[[#convarref|ConVars]]" KeyValue. {{Clarify|I don't know if this is technically correct, just what I am seeing from the file provided below. Please, someone who knows what they are talking about, correct this! | ||
-[[User:Equalizer5118|Equalizer5118, an idiot who cant spel]] ([[User talk:Equalizer5118|talk]]) 23:17, 25 December 2023 (PST)}} | |||
{{Note|[[Boolean]]s are represented as 0 or 1.}} | {{Note|[[Boolean]]s are represented as 0 or 1.}} | ||
Line 12: | Line 14: | ||
{{Note|Last retrieved Oct 2, 2023.}} | {{Note|Last retrieved Oct 2, 2023.}} | ||
{{CodeBlock|<nowiki>"GameInfo" | {{CodeBlock|1=<nowiki>"GameInfo" | ||
{ | { | ||
// ******************************************************************************** | // ******************************************************************************** | ||
Line 65: | Line 67: | ||
} | } | ||
ConVars | </nowiki><span id="convarref"></span><nowiki>ConVars | ||
{ | { | ||
// Bandwidth control default: 300,000 Bps | // Bandwidth control default: 300,000 Bps |
Revision as of 00:17, 26 December 2023


GameInfo.gi is a KeyValues config file that describes a Source 2 games/mod. It is slightly different compared to the Source 1 counterpart (gameinfo.txt). For example, GameInfo.gi can contain a Source 2 equivalent of an "autoexec.cfg|autoexec.cfg", which is defined in the "ConVars" KeyValue.
Clarify: I don't know if this is technically correct, just what I am seeing from the file provided below. Please, someone who knows what they are talking about, correct this!
-Equalizer5118, an idiot who cant spel (talk) 23:17, 25 December 2023 (PST)


Counter-Strike 2 Example
A GameInfo.gi from Counter-Strike 2.
