NukeSilo Community https://forums.nukesilo.net/ |
|
Useful User Scripts https://forums.nukesilo.net/viewtopic.php?f=50&t=7544 |
Page 1 of 1 |
Author: | MoeODonoghue [ 07 Mar 2009, 21:45 ] |
Post subject: | Useful User Scripts |
If anyone needs convenience, I'll post some of my scripts for RP. Update: I've found that a lot of people have sets of binds. Now, I don't like having my binds all over the keyboard. So I've whipped up a script that allows you to load different sets of binds on the keypad. NOTE: IF YOU HAVE ANY BINDS ON THE KEYPAD, THEY WILL BE GONE IF YOU DECIDE TO DO THIS. Making Sets of Binds 1. Make files named "police.cfg", "advert.cfg" and so on inside your ts folder. They can be named whatever you want as long as it ends in .cfg. 2. Open each file with notepad and copy and paste the template: Code: kpunbind Edit the template according to your will. This also sends a message to yourself in-game to tell you which binds are loaded. Make sure to do this with each .cfg file YOU made, customizing it to your needs. 3. Now open (or make) your autoexec.cfg in your TS folder. Once that file is open with notepad, paste this at the end of it: Code: bind del "exec police.cfg" This binds delete, pageup, pagedown, home, insert and end to be your bind loaders. In the above example, it binds delete to load the police binds. You can replace the keys with F1-F12 if you want to do that. Using the Bind Sets In-Game Using the above example, pressing delete will load your police binds and sms yourself telling you that you have your police binds loaded (and it'll be in console). Then pressing 0 on the keypad will shout this is the police. Pressing end will load the adverts. Pressing 0 on the keypad then would say an advert instead. How to Use Scripts 1. Navigate to "C:\Program Files\Steam\steamapps\steamaccounthere\half-life\ts" 2. In that folder, make a new text file and rename it to autoexec.cfg. 3. Open autoexec.cfg in notepad. 4. Copy and paste the scripts you want into the file. 5. Replace any PUTYOURKEYHERE with the button you want it bound to 6. If you are still in game while doing this, type in console: exec autoexec.cfg 7. Test the binds. Here's to toggle sitting. Toggle Sitting/Crouching Code: alias crouch "duck" Here's one that lets you pick up guns AND use doors. Code: alias +usedoor "+use; say /usedoor" This one toggles between walking and running. Code: alias togglewalk togwalk If you're annoyed by the /me stuff, just remove "say /me does stuff" part of it. |
Author: | johndelgado [ 08 Mar 2009, 00:18 ] |
Post subject: | Re: Useful User Scripts |
do you put all this stuff in console? |
Author: | MoeODonoghue [ 08 Mar 2009, 01:10 ] |
Post subject: | Re: Useful User Scripts |
I'm sorry, this might have been confusing for some people. You're suppose to put this in a file called autoexec.cfg in your TS folder. I'll edit the post. |
Author: | Mikhail Zhukov [ 09 Mar 2009, 07:21 ] |
Post subject: | Re: Useful User Scripts |
do you seperate the scripts if you use more than one? |
Author: | Mikhail Zhukov [ 09 Mar 2009, 17:05 ] |
Post subject: | Re: Useful User Scripts |
ok the walking one doesnt work at all, i keep going the same speed |
Author: | johndelgado [ 09 Mar 2009, 22:36 ] |
Post subject: | Re: Useful User Scripts |
it all works for me you must be doing something wrong |
Author: | Mikhail Zhukov [ 10 Mar 2009, 06:18 ] |
Post subject: | Re: Useful User Scripts |
i got it to work, nevermind |
Author: | MoeODonoghue [ 15 Mar 2009, 13:38 ] |
Post subject: | Re: Useful User Scripts |
I've added another useful script: loading different sets of binds onto the keypad. |
Page 1 of 1 | All times are UTC-06:00 |
Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |