Join us on our TWC Discord channel

Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Basic 02 - Advanced binds 1
#1
Basic 01 - Simple binds | Basic 03 - Advanced binds 2

Welcome to the second part of the How to make a CFG tutorials!
In this tutorial I'll teach you how to use vstr binds and the vsay command!

First I'll teach you the vsay command:
bind F3 vsay hi "Hi!"
vsay hi vsay means something like voice say, if makes a sound when it says Hi! this time the sounds is hi or hello.

Using vstr binds will allow you to use capital letters:
bind F3 vstr hi
set hi say "Hi!"

vstr hi and set hi belong to each other, when you'll F3 it will look for the vstr hi which you've created with set hi.

autoexec.cfg
Code:
bind F3 vstr hi set hi vsay hi "Hi!"

All sounds: (some might not work)
Code:
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!"


Attached Files
.cfg   tutorial2.cfg (Size: 203 bytes / Downloads: 19)
"If you tell the truth, you don't have to remember anything."


Possibly Related Threads…
Thread Author Replies Views Last Post
  Advanced 04 - Class selecter John 2 5,377 13-05-2013, 07:12 PM
Last Post: John
  Advanced 03 - Team, class and map cfg's John 11 11,397 11-02-2013, 06:12 PM
Last Post: John
  Basic 01 - Simple binds John 3 6,213 21-11-2012, 02:34 PM
Last Post: yvoms
  Advanced 02 - Two commands under one key 2 John 0 4,208 21-02-2012, 06:13 PM
Last Post: John
  Advanced 01 - Two commands under one key 1 John 0 3,899 21-02-2012, 06:12 PM
Last Post: John

Forum Jump:


Users browsing this thread: