Talk:CVars (Quake 4)
From modwiki
I'd like to investigate dumping built in documentation into this section, similar to how the script events section got its start. However, I'd rather not have to edit it via these editing pagess. Is there a way to dump raw wiki code into a section? I can write a script that outputs text files for any necessary format.
Contents |
Bots
It is possible to have "bots" edit and add pages, there are some python bots here but I have no idea how that stuff works. Contact me in person if you figure it out. --iceheart 14:16, 31 October 2005 (W. Europe Standard Time)
Some CVars not listed here...
In this thread...
http://www.doom3world.org/phpbb2/viewtopic.php?t=13571
... there is mention of the CVar "in_toggleZoom", however that console command isn't listed here.
Should I add this to the Uncategorized section or is there a specific heading it should go under?
I'm assuming that if there's one, there are quite a few CVars missing so I'll start adding them tomorrow.
--Rich 09:57, 22 November 2005 (W. Europe Standard Time)
Strange
That's odd, I just did this and its a complete listcvars printout, so if it's not here, then it's not in that list (or I screwed up), but feel free to check it/add any missing ones. --iceheart 10:02, 22 November 2005 (W. Europe Standard Time)
Oops
Turns out I had missed the entire "SYS" cvars section (I have them in different files and must've overlooked it somehow), I'm adding it now... --iceheart 10:06, 22 November 2005 (W. Europe Standard Time)
added definitions
i'm tempted to write a quick php script to parse syscvars.cpp and dump a mediawiki compatible sql script out heh
or at least at the minimum, a preformatted text file for a mass of copy > pasting... this is rediculous
--Gate 02:44, 16 December 2005 (W. Europe Standard Time)
You're certainly welcome to try.
I'm not going to object, all good content is accepted :). --iceheart 02:52, 16 December 2005 (W. Europe Standard Time)
An Easier Way
It might be a bit easier just to parse the contents of a console dump.
First you'd clear the console using the "clear" command. Then, you can use the command "listCvars -flags" to obtain a list of CVars and their coorisponding flags. You can follow that up with "listCvars -help" for a list of CVars and their coorisponding short descriptions. Then you can dump the entire contents of the console using "conDump cvars.txt".
Hell, maybe this sort of thing could be parsed using Excel? Hmmm....
--Rich 07:48, 16 December 2005 (W. Europe Standard Time)
eh, already sent iceheart a wiki-formatted textfile (well, a file for each cvar) of each idCvar found. Gonna be a pain to insert into the pages, but at least it's a start : ) note: was only 30 mins of time. console doesn't list the CVAR_* flags iirc (?).
--Gate 10:25, 16 December 2005 (W. Europe Standard Time)
Table...
I should have read this sooner. I created a table of my own which I then converted into wiki markup but somewhere along the line some elements ended up getting swizzled.
In other words, beyond the first few entries, everything is wrong. I realized this after adding about 10 articles and then deleted them.
I'll check my tables to see where the problem is and give it another go later. Perhaps you can email me what you've done?
I'm more than happy to copy and paste a few entries every night until it's finished.
--Rich 08:05, 17 December 2005 (W. Europe Standard Time)
Okay, I think I've got it.
I think I found the problem. Everything appears to be correct now.
I'll add a few CVars and you guys can verify.
--Rich 08:19, 17 December 2005 (W. Europe Standard Time)

