Jump to content

[CSS][Tut] Configuring the kb_act file


Recommended Posts

Posted

I don't know if this is the right section for it :X.

 

First, the kb_act is located in the cstrike\gfx\shell directory. Make a copy of the original file and save it to another directory. That way if you make an uncorrectable error, you always can go back and use the original file.

 

Background of the file

 

This file is the source for the Half-Life Counter-Strike Controls Menu. This is where you choose your keys within the Game. When you change your keys in this menu you actually are modifying the config.cfg file, which is where all your binds are located.

 

File Contents

 

 

Let's take a look at the contents of the file. Open the file with a Word Editor such as Notepad, Wordpad, or Editpad.

 

The file is broken down into two columns. The left column contains the alias commands within quotes. These are the general pre-made command aliases or your own user-made aliases. The right column contains a short description of what the adjacent aliases in the left column are. For example, the line with "+jump" in the left column is described as "Jump" in the right column. When making your own descriptions, try not to make them too long where they would extend to the next line. For a reference, I try to use a max of 28 characters or spaces. Below is a small portion of what the kb_act looks like.

 

kbact.jpg

 

Kb_Act Extract

 

Step #1 - Add Aliases to file

 

Identify and add alias commands that you want to bind within the Controls Menu. The aliases must be in an autoexec file or other executed cfg file or they will not work. Place the complete alias within quotes! Use this for an example:"killme"

Step #2 - Add Descriptions for the aliases

 

Now you can add the descriptive information for your aliases in the right column. Remember to place the whole description within quotes with no more than 28 characters or spaces. Like this: "This Kills Me!"

Step #3 - Add Special Lines and Blanks

 

Ok, now you can add blank spaces within your file for general descriptive purposes. To add a blank space line within the file, use this in the left column:"blank"This tells the game there is no command being executed for this line. Now you can also add more lines to your script to break it into sections. Such as this:

 

"blank"                                "**************************"

 

"blank"                                "Standard CS Commands"

 

"blank"                                "**************************"

 

I use the blanks in the left column so nothing is executed, and I give a general description in the left column with asterisks to make the separation.

 

Step #4 - Saving and changing the file

 

You also can take out unwanted commands from this file. If you do this you would have to manually bind them within the config.cfg file.

 

You're done, save the file, ensure all the cfg files are being executed and go bind your keys within the Game's Controls Menu.

 

SouRcE: counter-script

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • We've added 5% discounts for bulk purchases of Google accounts for orders of 300 or more, and 10% for orders of 500 or more. The discount is applied automatically when you place your order! The discount is indicated in the product title and description for each category.  
    • 🎄 CHRISTMAS EVENT 🎄   ‼️ Information and details: https://forum.l2harbor.com/threads/rozhdestvenskie-xlopoty-christmas-chores.9430/post-171464
    • METATG.ORG Direct Telegram Service Provider A bonus of +7% on every order! *We add 7% more followers than your ordered amount to proactively cover potential drops and guarantee you an honest result." Telegram Followers - Price per 1000 SUBSCRIBERS Subscribers 3 days - $0.10 ~ 8 RUB Subscribers. Daily Completion: 200,000,000 Subscribers 7 days - $0.17 ~ 13.6 RUB Subscribers. Daily Completion: 200,000,000 Subscribers 14 days - $0.20 ~ 16 RUB Subscribers. Daily Completion: 200,000,000 Subscribers 30 days - $0.30 ~ 24 RUB Subscribers. Daily Completion: 200,000,000 Subscribers 60 days - $0.40 ~ 32 RUB Subscribers, 14-day guarantee. Daily Completion: 200,000,000 Subscribers 90 days (Super Fast) - $0.50 ~ 40 RUB Subscribers, 14-day guarantee. Daily Completion: 200,000,000 Subscribers 120 days (Super Fast) - $0.60 ~ 48 RUB Subscribers, 14-day guarantee. Daily Completion: 200,000,000 Subscribers Lifetime (Super Fast) - $0.70 ~ 56 RUB Lifetime Subscribers. 14-day guarantee. Daily Completion: 200,000,000 Telegram Services - Price per 1000 Post Views - $0.06 ~ 5 RUB Reactions - $0.08 ~ 6.5 RUB Bot Starts - $0.10 ~ 8 RUB Bot Starts with referrals - $0.15 ~ 12 RUB DISCOUNTS and CASHBACK for large volumes Direct Supplier. We work from our own accounts with our own software! High execution speed. Multiple payment methods. We work 24/7! Additional discounts are discussed for volumes starting from $1000 per day. SUPPORT 24/7 - TELEGRAM WEBSITE 24/7 - METATG.ORG
    • Added: a brand-new default dashboard template. You can now add multiple game/login server builds. Full support for running both PTS & L2J servers simultaneously, with switching between them. Payment systems: added OmegaPay and Pally (new PayPal-style API). Account history now stores everything: donations, items delivered to characters, referrals, transfers between game accounts, and coin transfers to another master account. Personal Promo Code System: you can create a promo code and assign it to a user or promoter. When donating, a player can enter this promo code to receive bonus coins, and the promo code owner also receives a bonus — all fully configurable in the admin panel.     Look demo site: demo
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock