hAx0r. Esteemed GDC|Member
Number of posts : 612 Age : 28 Location : Finland, Espoo Registration date : 2009-01-03
| Subject: *~CFG~* (another one,yes) Fri Jan 30, 2009 12:27 pm | |
| Okay, No matter I know there are many many many CFG tutorials, I wanna post one too Here I will add some of the things, I have in my cfg (Well probably all.) So if YOU need help in CFG's, you might find it here. If you dont, feel free to PM me, and I will try to help out. So, lets go to the point. I will put here scripts, in this order: 1. Name Changing Script. 2. Normal Binds With Big Letters. 3. Reload Bind With Big Letters. 4. Weaponbank Binds With Big Letters. ____________________________________________________________________ //*~Name Changing Script*~//
//This Script will allow you to Change Your Name In-Game by pressing one button. This will probably be pretty annoying to others, when in console rolls a log with name changes, but it can be cool. If you copy this, make sure on the things that are inside "[" and "]", delete those marks. ( [ ] )
Bind [key] vstr NameScript
set NameScript vstr Name_1
set Name_1 "set name [Name u wish]; set NameScript vstr Name_2"; set Name_2 "set name [Name u wish]; set NameScript vstr Name_3"; set Name_3 "set name [Name u wish]; set NameScript vstr Name_1"
//~*This You can keep on adding more names as much as you want. Here I added only 3. Remember, when you add more, you need to change the Name_[?] thing in the end of each line to the next number that is. Also the next one needs to be next number in beginning. As long as they go like Name_1 Name_2 Name_3 Name_4 it should be ok. As you see, they go Name_1, Name_2 and Name_3. You can do it if you want 100 names. AND** Remember, last one must be setted to Name_1! That way it will start rolling all from beginning. If Any Questions, PM ME!*~//
----------------------------------------------------------------------------
//~*Normal Binds*~//
//This Script, is made to show you how you can do normal binds, with big letters. With normal binds, I mean vsay binds and normal binds. So, I will show here how to do them. Here to, if you copy, delete "[" and "]" marks.
//Vsay Binds. bind [key] vstr bind_1;set bind_1 vsay [vsay u want here] [text u want here] bind [key] vstr bind_2; set bind_2 vsay [vsay u want here] [text u want here] bind [key] vstr bind_3; set bind_3 vsay [vsay u want here] [text u want here]
//Normal binds. bind [key] vstr bind_4; set bind_4 say [Text u want here] bind [key] vstr bind_5; set bind_5 say [Text u want here] bind [key] vstr bind_6; set bind_6 say [Text u want here]
-----------------------------------------------------------------------------
//~*Reload Bind*~//
//This bind, will allow your team-mates (if set to say_team) to see when you are Reloading. When you will reload, in game on the chat log will come a text saying the text you want there to be, and the same time you will reload. This you can set to: //1. say_team - wich will set it so that it says it to team only //2. say - wich will set it so that it says to everyone
//So, do it as you want, if you want . Although it may seem confusing, it is just normal.
bind [key] "+vstr reload_a reload_b" set reload_a "+reload; vstr say_reload" set reload_b "-reload"
set say_reload "vstr Text_a" set Text_a "say_team [Text you want here]"
-----------------------------------------------------------------------------
//~*Weaponbank Binds*~//
//This script, will allow others on your team (if set to say_team) to see when you change you're weapon. In my cfg, I have added just normal weapons, so I will do it like that here too. So agaign, you just remember to take "[" and "]" away, if you copy it from here. So lets go.
//Knife// bind 1 vstr knife set knife vstr knife1 set knife1 "weaponbank 1 ; say_team [Text here] ; set knife vstr knife2" set knife2 "weaponbank 1 ; say_team [Text here] ; set knife vstr knife1"
//Pistols// bind 2 vstr pistol set pistol vstr pistol1 set pistol1 "weaponbank 2 ; say_team [Text here] ; set pistol vstr pistol2" set pistol2 "weaponbank 2 ; say_team [Text here] ; set pistol vstr pistol1"
//Thomp/Mp40// bind 3 vstr thomp set thomp vstr thomp1 set thomp1 "weaponbank 3 ; say_team [Text here] ; set thomp vstr thomp2" set thomp2 "weaponbank 3 ; say_team [Text here] ; set thomp vstr thomp1"
//Nade// bind 4 vstr nade set nade vstr nade1 set nade1 "weaponbank 4 ; say_team [Text here] ; set nade vstr nade2" set nade2 "weaponbank 4 ; say_team [Text here] ; set nade vstr nade1"
//Syringe// bind 5 vstr syringe set syringe vstr syringe1 set syringe1 "weaponbank 5 ; say_team [Text here] ; set syringe vstr syringe2" set syringe2 "weaponbank 5 ; say_team [Text here] ; set syringe vstr syringe1"
//Packs// bind 6 vstr packs set packs vstr packs1 set packs1 "weaponbank 6 ; say_team [Text here] ; set packs vstr packs2" set packs2 "weaponbank 6 ; say_team [Text here] ; set packs vstr packs1"
//Adre/Landmines// bind 7 vstr adre set adre vstr adre1 set adre1 "weaponbank 7 ; say_team [Text here] ; set adre vstr adre2" set adre2 "weaponbank 7 ; say_team [Text here] ; set adre vstr adre1"
//Bionuclars// bind 8 vstr bio set bio vstr bio1 set bio1 "weaponbank 8 ; say_team [Text here] ; set bio vstr bio2" set bio2 "weaponbank 8 ; say_team [Text here] ; set bio vstr bio1"
//Okay in this script, there are 2 other names for every of weaponbank, if you dont want there to be 2 different kind, You can just make them both be the same. NOTICE* This is made for normal keyboard, where 1=Knife 2=Pistols 3=Main weapon etc. SO if you have modified, change the keys. PLZ
____________________________________________________________________
There you all go, PLZ enjoy making your CFG If you need help, or cant make something, PM ME!!!
-hAx0r.
| |
|