zeek2304 Posted April 22, 2002 Share Posted April 22, 2002 I can't get my autoexec.cfg to execute automatically. Does anyone know why? And if so, how do I fix it? Link to comment Share on other sites More sharing options...
David Veen Posted April 22, 2002 Share Posted April 22, 2002 I am having the exact same problem and I don't know how to fix it. As soon as I know i'll inform you!!!!! Link to comment Share on other sites More sharing options...
teleguy Posted April 22, 2002 Share Posted April 22, 2002 Did you put it in your base folder? Link to comment Share on other sites More sharing options...
DocBandito Posted April 23, 2002 Share Posted April 23, 2002 I'm having the same problems, and I know it's in the base folder. Also, if anyone knows how to get the reflective floors to work, I'd love to know! Link to comment Share on other sites More sharing options...
David Veen Posted April 23, 2002 Share Posted April 23, 2002 I don't even have that file on the CD let alone in my bas folder. If anybody knows the answer, please let us/me know!!!! Link to comment Share on other sites More sharing options...
Maddes Posted April 23, 2002 Share Posted April 23, 2002 AUTOEXEC.CFG isn't there by default (e.g. on the CD). It's for "power" users who build their own configuration system or want to correct misconfiguration on every startup. So YOU have to create it if you WANT to. The AUTOEXEC.CFG goes into your BASE folder or the folder of upcoming mods. For example I call my dismember.cfg in the autoexec.cfg with "exec dismember.cfg". The dismember.cfg is of course also in the base folder. The I call jk2_maddes.cfg which holds all my key bindings, so a guest player can mess up the controls and on ever startup the bindings are corrected (also can fix the bindings through the console with "exec jk2_maddes.cfg") Maddes Link to comment Share on other sites More sharing options...
Maddes Posted April 23, 2002 Share Posted April 23, 2002 Another problem is a Windows Explorer option: hiding file extensions. Disable that feature, otherwise you will see "autoexec.cfg" but its real name is "autoexec.cfg.cfg" or "autoexec.cfg.txt". Maddes Link to comment Share on other sites More sharing options...
David Veen Posted April 24, 2002 Share Posted April 24, 2002 Maddes, can you post me your autoexec.cfg file. Tha might solve my problems. dtjveen@hotmail.com Link to comment Share on other sites More sharing options...
Maddes Posted April 24, 2002 Share Posted April 24, 2002 Will do when back at home. Next time just private message me. Later Link to comment Share on other sites More sharing options...
WhiteChedda Posted April 25, 2002 Share Posted April 25, 2002 Originally posted by David Veen I don't even have that file on the CD let alone in my bas folder. If anybody knows the answer, please let us/me know!!!! David I already told you, autoexec.cfg is not a required file. Its a file you have to create, and its generally for advanced users who want to set up thier keys configuration, though it can be used for other things. If you just want that line to go away from the console, do this open up notepad, or any other text editor program, and type this line bind kp_ins screenshot save the file in the jk2 base folder as autoexec.cfg all it will do is bind the keypad insert/0 key to take a screenshot when pressed, but it will stop that message from appearing. Here david, something to read when you have some free time..... Console guide for the new JK2 players who don't even know what quake was, much less Quake3 engine console commands. This is not for advanced console users. Q: How can I access the console? A: To access the console, hold down shift and pres the ~ key, located by the #1 key on the upper-left of your keyboard. Q: What is a command? A: A command is a word that is performs an action or causes it to be performed such as Attack or jump, these can be issued from the console if you just have a need to suffer, but more often it is used to tweak the system or create combinations of actions. Q: What is a c_var? A: Console variables or cvars are a series of variables that represent some feature in the game. What that feature is will depends on the variable. for instance cg_drawFPS is a variable that is either 0 or 1, if set to 0 your screen will not show your framerate. Some variables will have a broader range of values. Note: use the set command to set a cvar value, while this is not required, it helps distinguish between the two in cfg files. Q: So what can I do with this? A: Well you can turn on features such as dismemberment, or rather tweak it to your liking, as well as have more control over the game's setup, enable cheats, etc. Q: What is binding a key? A: binding a key is defining a command that will occur when that key is pressed. It can be any command supported by JO. Q: How do I take a screenshot? A: Well the command is screenshot, but bringing down the console and typing it is rather annoying, plus you end up with the console in the shot. Instead pick a key, for this example I use 0 {zero}, and bind 0 screenshot now everytime I press 0, a screenshot is taken. Q: Where can I get a list of commands and cvars? A: Well you can use any number of lists on the internet, and I intend to try and create one to go with this file. However, you can also create your own. To create your own use cmdlist, cvarlist, and condump at the console. cvarlist lists all console variables in the console, cmdlist lists all commands, both will be too many for the console to show you all, so use condump to dump them to a text file to look at. example: I will use clear to 'clear' the console first so I don't have other text to delete later. clear cmdlist condump mycmdlist clear cvarlist condump mycvarlist This will generate 2 files, mycmdlist & mycvarlist, in the install path\Gamedata\base folder. Take note the available commands and cvars for multi and single player differ though, so you might was to issue these in both and use spcmd/cvarlist and mpcmd/cvarlist instead. Q: Can I bind multiple commands to one key? A: Yes, but its not a straight forward as you would hope. You cannot simply Bind 0 screenshot; screenshot; screenshot You can execute more than one command placed in a "text string" using vstr like so set myactions "force_throw; wait; screenshot" now use vstr "myactions" this allows you to bind multiple commands to a key bind kp_ins vstr "myactions" this would use force push on a target then snap a screenshot of him being pushed or maybe it would be better with set myactions "force_throw; wait 15; screenshot" which would generate a small wait [15 ticks] before snapping the screenshot so the push could take effect, and actually the initial one will not work because you will still be running the force_throw command, so the screenshot will be ignored. Q: How can I show my FPS? A: cg_drawFps when set a value of 1, will DRAW your frame rate on the screen. or use cl_framerate and then condump it to a file, to get a second by second breakdown. Q: Vstr, set? are any other other commands particularly useful to console key binding? A: toggle will automatically toggle a variable between 1 and 0, so you could bind 0 toggle cg_drawFps and then use the 0 key to turn the framerate counter on and off at will, its useful for other variables more so, but...... Also thanks to JK2.net's debri for this hint I had forgotten about bind 'KEY' "cg_drawFps !" eg. bind SHIFT "cg_drawFps !" the SHIFT key will now toggle the framerate counter on and off. The exclamation marks acts as the 0/1 toggle. Q: How come when I use +moveup sometimes I can't jump agian and sometimes I can? A: Multiplayer automatically issues a -moveup when you land on something, single player does not, so you must issue it yourself. Other move keys are the same way. Q: How can I set up the game so that some of my commands stick, I don't like entering them everytime I run it. A: Use a text editor such as notepad and save them in a file called autoexec.cfg, save it in the \GameData\base folder of the JK2 install path. The commands stored in this file will be AUTOmatically EXECuted every time you run JK2. -Whitechedda and the rest of http://www.jediknightii.net forums at http://www.lucasforums.com Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.