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

    • Vouch for @Ave i can say im very statisfied with the order I've made he was fast and reliable i totally recommend him to anyone who wants a decent updater with high quality design.
    • What can I say other than that I’m satisfied with the order I made. The guy is reliable and very good at what he does. I recommend him 100%.
    • Lineage2 Freya High Five @ Reshade with fog and rain etc @ Gracia final epilogue atmosphere   this reshade will eat lots of GPU power 50% or more of an RTX 3060 so be carefull depending on what effects are activated and their settings will eat even more GPU recomended 60hz monitor settings and via nvidia panel in Lineage2 game profile vsync settings to on effects are set up till film deck and the rest are not used but still working again this can eat alot of GPU Don't overheat GPU this is for freya high five but might work on others too copy in the  System  folder the folder  reshade-shaders  and the files  d3d9.dll  ReShade.ini  ReShadePreset.ini  ReShade.log  CccDddCcc.ini insert opens the menu and delete is on and of some settings need  ctrl + left click  to be changed   making another profile will reset the not activated effects to their default values so just copy the profile  CccDddCcc  and rename if needed also something needs to be closed from settings in game menu, the blur at distance and advanced shaders but keeping the advanced water effects all reflections   for those that don't like the h5 look of the sky and the red fog and rain and ambien red at night on all maps well if we want the cool gracia final epilogue back then we need to do this rename the  Maps  folder to Mapsretail or whatever copy the  Maps  folder from gracia final epilogue to h5 also we need the  L2_Skies.utx  from gracia final epilogue  Textures  folder to be replaced and also we need to do the same to the files  timeenv0.int  timeenv1.int  timeenv2.int  timeenv3.int  found in  system  folder   another setting that will probably be needed but not really tested out is to open file  option.ini  from  system  folder and add cachesize like this   [FirstRun] FirstRun=2   [Engine.GameEngine] CacheSizeMegs=512   also maybe is good to change those to 4.000000   [ClippingRange] Terrain=4.000000 Actor=4.000000 StaticMesh=4.000000 StaticMeshLod=4.000000 Pawn=4.000000       sorry bad english   https://mega.nz/file/aRNXxDrQ#mbxrNERBtW0XEEezK6w8-86oZWuX1k6NgtR6RZWKRVM   the compression on the video is kinda bad but meh    
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..