Jump to content

Recommended Posts

Posted

 

If you have any problems contact me on steam:

doogiehoogie

 

Lets start by getting the first raw things out of the way. Creating the file, to do this follow these steps:

1. Open NotePad Or A text editor

2. save file to: Steamapps/ACCname/Counter-Strike Source/Cstrike/Resource

3. File name: Gamemenu.res

4. Add the following:

 

"GameMenu"

{

 

}

 

3.After that was added, save the file as Gamemenu.RES

4.(optional) If you have pride and want the people who edit these to know who made the file add this:

//Made by TopHATTWaffle

 

"//" That means to comment out, if you ever are working with code in CSS "//" means to comment

 

Now for the menu code

This is the Shell of a command:

"1"

{

"label" ""

"command" ""

"OnlyInGame" ""

}

 

Its pretty simple, but here is a break down

"1" This is just to keep your place, it does not really matter. just helps

 

{

} These are Open and close brackets, they let the game know when a new command starts and ends. these must be here

 

"Label" "" This is the name of your item, Example. if you want "Find Counter-Strike servers" to show up this is what you would have

"Label" "Find Counter-Strike servers"

 

"Command" "" This is what gets fired when you click the button

 

"OnlyInGame" "" This tell the game if it should only show when you are in a server. "1" means yes, "0" means no. Wouldn't want to disconnect from nothing would we?

 

All commands will go between:

 

"gamemenu"

{

 

}

 

Example:

 

"gamemenu"

{

 

 

"1"

{

"label" "Hello World"

"command" "engine showconsole;echo Hello world"

"OnlyInGame" "0"

}

 

}

 

 

To make a custom command do this

1. Paste the following

 

"1"

{

"label" ""

"command" ""

"OnlyInGame" ""

}

 

2. Change number to keep your sanity

3. Input your Command name Example: "Open Console"

4. Input your command, this is where it gets tricky.

To open the console with a button click it is this command:showconsole

But if we have: "command" "showconsole" you'll just have a dead button to click when your bored.

to make it work you have to let the game know to fire it to the source engine, so the proper command would be:"command" "engine showconsole"

5. Choose ingame, or not ingame

 

To fire more then one command

each command must be seperated by a ";" To have a hello world button, a person would have

 

"1"

{

"label" "Hello World"

"command" "engine showconsole;echo Hello world"

"OnlyInGame" "0"

}

 

"echo" tells the game to display the text that follows.

 

To have a toggle

To have a button that toggles thought a set number of settings Example: cl_crosshairscale 500, and cl_crosshairscale 1200

the command would be:

 

"1"

{

"label" "Change Crosshair"

"command" "engine toggle cl_crosshairscale 500 1200"

"OnlyInGame" "0"

}

 

With toggles, you can have more then one command, one command on a toggle is the limit, so you cant have:

 

"command" "engine toggle cl_crosshairscale 500 1200;Sv_cheats 1 0"

 

That will not work, and you will have a dead button

 

to have a blank spot input the following

 

 

"1"

{

"label" ""

"command" ""

"OnlyInGame" ""

}

 

Seriously, NOTHING is for NOTHING who would have known?

 

To have a nice space line like i have you would have this:

 

"1"

{

"label" "=-=-=-=-=-=-=-="

"command" "Spacer"

"OnlyInGame" "1"

}

 

Spacer tells the game that its just to space stuff apart.

credits:Zombi

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

    • what do u mean i want to change the normal weapons some weapons are working perftect some not getting th effect and the arcana has the effect above the weapons as u see ... i dont what is the probkenm
    • Stop paying for files that are already public and free. Here you can download a fully working Interlude server with C4-like gameplay, including source code so you can compile it yourself and verify everything. People will try to convince you that free releases are “broken”, “full of backdoors”, etc. That’s exactly why I’m also providing the SVN with the full source – so you can: Review the code yourself Remove / modify whatever you don’t like Compile your own binaries What’s included GX-EXT Interlude server (C4-style gameplay) – L2Off Client Interlude tweaked for C4 gameplay Public SVN with source code Downloads: Server GX-EXT: https://www.mediafire.com/file/q5ipkjd36tnhfxv/L2OFF_C4_C4_ACU_GXEXT.rar/file Client Interlude C4 Gameplay: https://www.mediafire.com/file/rdkfc8wwau042oh/Cliente_Interlude_Jugabilidad_C4.rar/file SVN (source code, delayed a couple of months to avoid reselling fresh work): https://svn.l2servers.com.ar/!/#GX-EXT_INTERLUDE User: gx Pass: gx How to compile To compile the source you will need: Visual Studio 2005 (x64 toolset) (Classic L2Off toolchain – yes, it’s old, but that’s what the original server uses.) Use this as you want: learn, test, open your own server, or just audit the code. But please, stop buying the same leaked/resold files over and over when you can get them here for free, with source, and actually know what you’re running.  
    • @GX-Ext Please reupload the pack+web+client because all the links inside that post or in the https://l2servers.com.ar/ are dead
    • Weapon dat is not the same for all, since you have custom things for sure no. You can contact @NevesOma
    • hello guys im facing a problem with the weapons .. i want to add hero glow on s weapons arcana ,dragonic bow etc.. some weapons are work peftect .. some not for example i add the line  LineageEffect.e_u092_h for fists and didnt work didnt even get the hero glow.. and the arcana the glow is on the top of weapon not down side like hero zeus mace any ideas?.. or does anybody has the weapongrp.dat file ready ?
  • 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