Spineless Magpies
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How To Make CFG

Go down

How To Make CFG Empty How To Make CFG

Post  cmpunk Tue 08 Nov 2011, 05:58

Hi once again, this will be a huge tutorial so only read if you really want to learn it and you have many time

First of all, to make a cfg you need Notepad, its installed on every pc so this won't be a problem.
Open Notepad and lets go.

I will explains some CFG commands to learn you how to do a cfg.

Simple CFG bind:
bind F1 ""vsay hi" hello"

F1 is the key you want to bind, can be one of these:

Alphabet: A-Z
Numbers: 0-9
Function keys: F1-F12
Punctuation: -[]/'.,;~=
SPACE, TAB, SHIFT, CTRL, ALT, ENTER, BACKSPACE, PAUSE
Arrow keys: UPARROW, DOWNARROW, LEFTARROW, RIGHTARROW
INS, HOME, PGUP, DEL, END, PGDN

Numeric keypad:
KP_HOME, KP_SLASH, *, KP_MINUS, KP_UPARROW,
KP_DOWNARROW, KP_LEFTARROW, KP_RIGHTARROW,
KP_PGUP, KP_5, KP_PLUS, KP_ENTER, KP_END,
KP_PGDN, KP_INS, KP_DEL

Mouse buttons:

Left mouse button: MOUSE1
Right mouse button: MOUSE2
Middle mouse button: MOUSE3
More mouse buttons: MOUSE4/MOUSE5 (some mice have extra buttons)
Mousewheel scroll up: MWHEELUP
Mousewheel scroll down: MWHEELDOWN

vsay:
When you press a key which is bounded with a vsay you'll say something with sound.
When you press a key which is bounded with a say you'll say something without sound.

If you used say you don't need to use a Sound like hi.
You can use many sounds like hi here is the list:

EnemyDisguised: "Enemy in disguise!"
PathCleared: "Path cleared."
EnemyWeak: "The enemy is weakened."
AllClear: "All clear."
Incoming: "Incoming!"
FireInTheHole: "Fire in the hole!"
OnDefense: "I'm on defense."
OnOffense: "I'm attacking."
TakingFire: "Taking fire!"
MinesCleared: "Mines cleared."
NeedBackup: "I need backup!"
CoverMe: "Cover me!"
NeedEngineer: "We need an engineer!"
NeedOps: "We need Covert Ops!"
Medic: "Medic!"
NeedAmmo: "I need ammo!"
NeedTarget: "I need a target!"
WhereTo: "Where to?"
FollowMe: "Follow me!"
LetsGo: "Let's go!"
Move: "Move!"
ClearPath: "Clear the path!"
HoldFire: "Hold fire!"
DefendObjective: "Defend our objective!"
DisarmDynamite: "Disarm the dynamite!"
ClearMines: "Clear the mines!"
ReinforceDefense: "Reinforce the defense!"
ReinforceOffense: "Reinforce the offense!"
DestroyPrimary: "Destroy the primary objective!"
DestroySecondary: "Destroy the secondary objective!"
DestroyConstruction: "Destroy the construction!"
ObjectiveDestroyed: "Objective destroyed!"
RepairVehicle: "Repair the vehicle!"
DestroyVehicle: "Destroy the vehicle!"
EscortVehicle: "Escort the vehicle!"
FireOnTarget: "Fire on my target!"
CommandAcknowledged: "Command acknowledged!"
CommandDeclined: "Command declined!"
CommandCompleted: "Command completed!"
ConstructionCommencing: "Construction underway!"
ConstructionCompleted: "Construction completed!"
ConstructionDestroyed: "Construction destroyed!"
ObjectiveFailed: "Objective failed!"
ObjectiveCompleted: "Objective completed!"
Affirmative: "Yes!"
Negative: "No!"
Thanks: "Thanks a lot!"
Welcome: "You're welcome."
Oops: "Oops!"
Sorry: "Sorry!"
Hi: "Hi!"
Bye: "Bye."
Cheer: "Yeah!"
GreatShot: "Great shot!"
GoodGame: "Good game!"
IamSoldier: "I'm a soldier."
IamMedic: "I'm a medic."
IamEngineer: "I'm an engineer."
IamFieldOps: "I'm a field ops."
IamCovertOps: "I'm a covert ops."
FTMeetWaypoint: "Meet at waypoint!"
FTAttackWaypoint: "Attack waypoint!"
FTchecklandmines: "Check for landmines!"
FTDefendWaypoint: "Defend waypoint"
FTAttack: "Attack!"
FTFallBack: "Fall back!"
FTCheckLandMines: "Check for landmines!"
FTCoverMe: "Cover me!"
FTCoveringFire: "Soldier, covering fire!"
FTMortar: "Deploy mortar!"
FTHealSquad: "Heal the squad!"
FTHealMe: "Heal me!"
FTReviveTeamMate: "Revive team mate!"
FTReviveMe: "Revive me!"
FTDestroyObjective: "Destroy objective!"
FTRepairObjective: "Repair objective!"
FTConstructObjective: "Construct the objective!"
FTDisarmDynamite: "Disarm the dynamite!"
FTDeployLandmines: "Deploy landmines!"
FTDisarmLandmines: "Disarm landmines!"
FTCallAirStrike: "Call airstrike!"
FTCallArtillery: "Call artillery!"
FTMortarBarrage: "Call mortar barrage!"
FTResupplySquad: "Resupply squad!"
FTResupplyMe: "Resupply me!"
FTExploreArea: "Explore area!"
FTExploreAtCoordinates: "Explore at co-ordinates!"
FTSatchelObjective: "Destroy satchel objective!"
FTInfiltrate: "Infiltrate!"
FTGoUndercover: "Go undercover!"
FTProvideSniperCover: "Provide sniper cover!"

Some won't work but most of them do.

hello from:
bind F1 ""vsay hi" hello"

is the text you want to say, it doesn't matter what is standing there, can be anything.
If you wanna use colors in it just type it like this: ^COLOR
The COLOR should be one of these characters:
How To Make CFG 121wtqx

so a simple bind with a vsay Great shot and key Q would be: bind q ""vsay greatshot" ^1G^7reat shot"
_______________________________________________________________________________________________________________________________________________

Now something harder:

Bind with vstr:
bind F1 vstr hi
set hi ""vsay hi" ^1H^7ello"

F1 The key again.
vstr This is a virtual string, it saves a bind in a file.
hi The vstr name, this should be the same as the hi in both lines ( the value of the name doesn't matter, can be anything, hi is just an example )
""vsay hi" ^1H^7ello" This is a part you should know by now.
set This makes a vstr, with the name hi.

When you use binds with vstr you can make multiple binds and vsay with capital letter.
_______________________________________________________________________________________________________________________________________________

Multiple binds:

bind F3 vstr bye
set bye vstr bye1
set bye1 ""vsay goodbye" see ya ;set bye vstr bye2"
set bye2 ""vsay goodbye" bye ;set bye vstr bye3"
set bye3 '"vsay goodbye" later ;set bye vstr bye1"

Now you've got a multiple bind.
bind F3 vstr bye <- known
set bye vstr bye1 sets vstr bye to a new vstr -> bye1, if you'll click F3 it will say bye1 now.
;set bye vstr bye2 -> the ; on vstr bye1 gives you the power to give the vstr another instruction and that is set vstr bye to -> vstr bye2, when you click F3 now you'll say vstr bye2 now.
You can make these bye vstr's very big, but the last 1 should be number 1 again -> set bye3 '"vsay goodbye" later ;set bye vstr bye1"

There must be " around the vstr part after the vstr name so: set bye1 "vsay goodbye see ya ;set bye vstr bye2" works too.

_______________________________________________________________________________________________________________________________________________

Now you know how to do multiple binds you can make your own namechanger:

first make a rotation of names with vstr's :

set namechange vstr name1
set name1 "set name ^1Punk ;set namechange vstr name2"
set name2 "set name ^2Punk ;set namechange vstr name3"
set name3 "set name ^3Punk ;set namechange vstr name4"
set name4 "set name ^4Punk ;set namechange vstr name5"
set name5 "set name ^5Punk;set namechange vstr name6"
set name6 "set name ^6Punk;set namechange vstr name7"
set name7 "set name ^7Punk ;set namechange vstr name1"
vstr name1

vstr name1 the cfg will read it and will say vstr name1, set name is an ET command so it sets the name too ^1Punk.

Now you've got you rotation.
How to rotate it?
Mostly you use reload so I will explain it with reload.

You reload with the R key, so you have to bind your R.

bind r vstr reload
set reload "vstr namechange ;+reload ;-reload"
it will say vstr namechange now and reload + reload <- will reload your weapon everytime its possible - reload will stop that, so you will reload 1 time now ( as it should be )
vstr namechange is set as vstr name2 now cause you already said vstr name1.

if you want to say something to you just have to add another line with ;

bind r vstr reload
set reload "say ^1Reloading ;vstr namechange ;+reload ;-reload"
_______________________________________________________________________________________________________________________________________________

You can add settings in your cfg too:

seta com_maxfps 125

very simple, use seta + command + value.

h t t p : / / w w w . a n t m a n . i n f o / w o l f / c v a r / c m d c v a r l i s t . h t m l < - a l l c o m m a n d s , f o r e t p r o / e t m a i n / s e r v e r(Rub Spaces)<- all commands, for etpro/etmain/server
cmpunk
cmpunk

Posts : 118
Join date : 2011-11-02
Location : Mars-UAC

http://www.newgrounds.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum