Can someone tell me how to make a script
I found this but I don't understand it:
It says: "Open a new text and copy the sample script in it. After you save it, rename the file to "sample.cfg"."
What do they mean with "Open a new text"?
Notepad is the standard Windows text editor. My advice is you go look at your Windows help files some. :)
the link doesn't work for me
ok basically scripts are a series of command which performs certain actions or executes certain settings in game. you can put these scripts in a config file. to create a config file, all you need to do is write up your scripts in notepad, and save it as ######.txt(where ###### is the name you want) now you need to change the *.txt extension to *.cfg (NOTE: you need to have view file extension option checked in your window explorer preferences) put this in the BASE folder which is in your gamedata folder of your jk2 directory.
to execute the config, you open the console in game by pressing shift+`and type:
It is always good to have an autoexec.cfg in your base folder. this will execute the scripts u included in that config file each time you run the game. you can create this by using the same method i mentioned above butu change the name to autoexec.cfg
Heres my autoexec.cfg
seta cg_drawfps 1
seta g_dismember "100"
seta cg_dismember "3"
bind F1 "exec Light.cfg"
bind F2 "exec Dark.cfg"
bind F3 "exec Neutral.cfg"
bind F4 "exec NoForce.cfg"
bind F5 "exec Merc.cfg"
bind F6 "exec Ctf.cfg"
bind F9 "screenshot"
bind F12 "kill"
bind alt "+taunt"
bind ctrl "say lol"
basically you bind scripts to a key by using the format
bind <key> "<command>"
or more complicated:
set <actionname> "<command>"
bind <key> "vstr <actionname>"
you can use this form to bind more things to one key.
you should check out the sticky in the multiplayer strategy centre for a more in depth look at the script
|All times are GMT -4. The time now is 02:40 AM.|
Powered by vBulletin®
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.
LFNetwork, LLC ©2002-2015 - All rights reserved.