| Author |
Message |
Zecrah
Joined: 30 Aug 2008
Posts: 8
|
Posted:
Sun Aug 31, 2008 20:32 |
 |
Yullo,
Hey I posted this on an old community. It got some good votes so I hope it helps the people out here to xD. I know Gungame is sv_pure, but for the dust server and other's it's useful. I'll try and update it often, but eh.
OK brief introduction. I'll try and show you how to customise your Counter Strike:Source game. From the menu backgrounds, weapons, radio commands, font colours and layout and some more. You don't need a lot of things, just a text editor! Kk to begin...
Easy stuff
Models
Easy stuff. Just click here to see the models and crap on CSDL. If you don't like everything here, (CSDL was the community I posted this on. Note they're not a clan, they just have some cool skins and stuff xD)
click here for some more.
Find the model you want and click download. Scroll down and click download (If you're a subscriber) or fill in the verification thingy and such and then click download! Open the .ZIP file with WinRAR, windows w/e you use and if there's a readme I recommend you read it quickly. For the majority of models, you can just extract all the folders to your CStrike folder.
So for example you download your new desert eagle model that looks awesome. Make sure CSS is completely closed down (Steam can remain open) and extract the FOLDERS (Probably models, materials, textures, sounds etc.) to your local cstrike folder. For me this is "D:\Games\Steam\steamapps\********\counter-strike source\cstrike" where ****** is your account name. It'll ask you if you want to overwrite or merge folders so just click yes to all.
If you need more help
http://www.counter-strike-dl.com/installin...urce-skins.html and also here: http://www.counter-strike-dl.com/forums/in...p?showtopic=800
Update 3rd July
I totally forgot about this, but you can now haz maps! wewt! It's the same procedure as above, except you go here: [url=http://www.counter-strike-dl.com/source-maps.html]
http://www.counter-strike-dl.com/source-maps.html to download them. Choose your map type (DE_xxx or CS_xxx) and then the actual map you want. Download and extract to /cstrike. DE_xxx are DEstruction maps - blow something up. CS_xxx are Counter Strike maps - i.e. counter the terrorists attempt to hold the hostages.
Hopefully there may be a miscellaneous category for maps like FY_xxx (FunnY maps) and DM_xxx (Death Match maps) and some others.
Sound packs
Same procedure as above. Click here for the CSDL sound packs. To install you just do the above. Personally, I like the "Kyrottimus Army Radio Pack v1" because of the realism. It's a lil abrupt but there you are.
A lil harder....
Autobuy
Open up WordPad / Notepad / your text editor. Navigate to your cstrike folder (steamapps/account name/counter-strike source/cstrike) and open "autobuy.txt". It's fairly self explanatory, but I'll still help a little.
When you're in game and you wanna keep the pace, you may hit autobuy so you can peg it for a headshot. But sometimes, it seems to think arming you with a famas and no armour or nades or pistol is gonna allow you to win the game. Wtf? I hated this since I like my pistols and nades, and especially in the first few rounds it's really annoying. In this text file, it has the priorities of autobuy. What it'll go for first when you hit autobuy.
The equipment names are all abbreivated slightly (p228, deagle etc.) and they thankfully left a little chart above to show us what they all are. Use this to order your autobuy.
The top being what it will buy first. For me, mine is
| Code: |
vesthelm
vest
fiveseven
elite
deagle
p228
m4a1
ak47
famas
galil
ump45
p90
mp5
hegrenade
primammo
secammo
defuser |
You can use spaces in between, it doesn't matter. It's just used here to distinguish between guns, grenades, pistols etc.
Rebuy
Almost identical steps to above, except you open "rebuy.txt" instead of "autobuy.txt". (Same folder).
The abbreivations are a bit different because you're buying your previous weapons, rather than from scratch. So you don't actually specify your gun, you specify what type you want first.
| Code: |
// PrimaryWeapon - Any weapon that goes in weapon slot 1
// PrimaryAmmo - Ammo for the weapon currently in weapon slot 1
// SecondaryWeapon - Any weapon that goes in weapon slot 2
// SecondaryAmmo - Ammo for the weapon currently in weapon slot 2
// Defuser - Defuse kit
// Armor - Kevlar, Kevlar+Helmet
// HEGrenade - HE Grenade
// Flashbang - Flashbang
// SmokeGrenade - Smoke Grenade
// NightVision - Nightvision goggles |
These are the abbreviations. Put them in order from top being the first to buy, bottom being the least important. Mine is:
| Code: |
PrimaryWeapon
PrimaryAmmo
Armor
SecondaryWeapon
SecondaryAmmo
Defuser
HEGrenade
Flashbang
SmokeGrenade
NightVision |
"FIRE IN THE HOLE"
This section is for those of you that want a REALLY customised experience.
Take your text editor, and navigate to cstrike/resource. Open cstrike_english.txt (Or cstrike_<Your lang>.txt). Here you'll see a swarm of familar strings. If you have Word wrap on, disable it.
The first 20 lines or so are option and menu details, so I left them alone. If you know what you're doing go for it.
| Code: |
// Scoreboard strings
"Cstrike_ScoreBoard_Ter" "Terrorists"
"Cstrike_ScoreBoard_CT" "Counter-Terrorists"
...
...
"Cstrike_DEAD" "Killed in Action"
"Cstrike_VIP" "VIP"
"Cstrike_BOMB" "Bomber" |
This is where the fun begins. This is the scoreboard stuff. The team names are "Terrorists" and "Counter Terrorists", but you can change it to something like "Middle Eastern Bombers" and "Navy Seals" or whatever you want Cstrike_DEAD is what is displayed next to a name when they have died, Cstrike_BOMB is used for the terrorist with the bomb etc.
It's generally self explanatory. Scrolling down a lil, you can change the names of the guns as they appear in the buy menu. The descriptions, and details. (Note changing the details won't affect the actual gun, it's just what will show up on the buy menu)
\n means line down, so for example
| Code: |
| "Cstrike_KevlarDescription" ": A Kevlar vest that protects \n against projectiles." |
will display
| Quote: |
A Kevlar vest that protects
against projectiles |
%s, %i, %d etc. are all 'substitutions' (To keep it simple). They represent something that's always changing. So if you had something that wrote your health to the screen, it would first have to find the health of the user. E.g. 83. It then stores this 83 in say Cupboard 2. Then on screen it says "Your health is %s" (Cupboard 2). It's kinda complicated and that might not really have helped I used to write plugins for Half Life 1 mods so that's how I know. Basically, if there's a %s or %d or %i etc. anywhere DON'T CHANGE IT. Only change full text.
Scrolling down further you can change tons of stuff.The winning messages, the grenade throwing messages, map stuff, and tons more crap. Has fun.
Complex
ClientScheme.res
With your text editor, go to "cstrike/resource" and open "ClientScheme.res". Might tell you it's not gonna be able to open it, but it will.
| Code: |
//
// TRACKER SCHEME RESOURCE FILE
//
// sections:
// colors - all the colors used by the scheme
// basesettings - contains settings for app to use to draw controls
// fonts - list of all the fonts used by app
// borders - description of all the borders
//
// |
Here's where it gets complicated, I don't understand half of the stuff here. For safety, stick only to the "colors" and "fonts" section unless you know what you're doing.
Scrolling down slightly you'll see
| Code: |
//////////////////////// COLORS ///////////////////////////
Colors
{
// base colors
"HudColor" "255 175 0 255"
.....
..... |
The colours are in format "Red, green, blue, alpha". They are out of 255. So HudColor is made up of 255 red parts, (Maximum red intensity) 175 parts green, 0 parts red and full alpha. Alpha is basically transparency. 255 is solid, 0 is invisible. Now we've got that out of the way, I'll explain the rest of the color variables.
| Code: |
"HudColor" "255 175 0 255" The colour of your HUD
"HudMaxHealthColor" "0 128 0 255" The colour your health is at 100. For me this is a medium green. (0 red, 128 green, 0 blue)
"HudMinHealthColor" "255 0 0 255" The colour your health is between 1 - 25. This is a strong red for me
"HudHealthFlash" "255 0 0 255" The colour your health flashes upon taking damage. Again, a strong red
"HudHealthNormal" "255 175 0 255" The colour your health is from 26 - 99.
"HudMoneyPlus" "0 128 64 255" When you gain money, say for a kill or hossies w/e, it flashes "+300" above your cash. This is the colour it'll flash
"HudMoneyMinus" "255 0 0 255" Same as above, except for when you lose money rather than gain.
"HudShopColor" "0 255 0 255" The colour of the little green basket indicating a buy zone
"ProgressBarColor" "255 175 0 255" The colour of the defusal bar
"ScenarioColor" "0 80 159 255" The colour of your scenario. (E.g. the hosstages, bomb etc.)
"C4Color" "172 89 89 255" The colour of the C4 bomb icon
"C4FlashColor" "255 0 0 255" The colour the C4 bomb flashes when it's been planted
"HostagesColor" "0 255 0 255" The colour of the hostage scenario
"DefuseColor" "0 255 0 255" The colour of your defusal kit icon
"TimerFlash" "255 0 0 255" The colour the timer flashes when it nears the end of the round
"CTColor" "176 216 255 255" Counter terrorist name colour
"TerroColor" "255 43 43 255" Terrorist name colour
"CSLogoColor" "255 255 255 255" Counter Strike logo colour
"SourceLogoColor" "255 255 255 80" The Source logo colour
"ChatColor" "255 176 0 255" Colour of chat
"Orange" "255 176 0 255" }
"OrangeDim" "255 176 0 120" | Not sure :P Variables used by other strings.
"LightOrange" "188 112 0 128" } |
Change these to whatever suits you. You can't really go wrong here, as long as you have the 4 numbers and they're between 0 - 255
Scroll down to fonts. Explanation of this:
| Code: |
"name" "Neuropol" - The font of the text. You can use any font you have on your computer here.
"tall" "20" - Text height
"weight" "0" - Text thickness
"additive" "1" - Erm....
"antialias" "1" - Smooth the edges of the text |
Go through the font list and change the ones you want (At your own risk). Make sure you know what they do and put a backup next to it. (E.g. if you change it to Arial Narrow when it was Tahoma, put "// was tahoma" beside it. // represents a comment, and isn't read by the game engine and is completely ignored)
"HudNumbers" is the numbers of your armour, health, ammo, money etc. That's probably the biggest one
HUD Positioning
Using your trusty text editor, navigate to "cstrike/scripts" and open HudLayout.res. It may look like a heap of jumbled crap at first, but take time to look at it and it should make sense quite easily, or most of it should.
Going back to your maths lessons, here's a brief explanation of the variables. (Variables are things you can change btw)
"xpos" = The position of the thing on your screen horizontally. (Like the X axis on a graph)
"ypos" = The position of the thing on your screen vertically. (Like the Y axis on a graph)
"wide" = The width
"tall" = The height
"BorderThickness" = Thickness of the border of something
"visible" = Can you see it?
These are the only ones you should change unless you REALLY know what you are doing. Having said that, there are a couple of "miscellaneous" variables that are fine to touch -
such as "MaxDeathNotices" since that's pretty obvious what it is. icon_xpos, icon_ypos etc. are the positions of the icon. Same for digit_xpos. You can also use c-<No.> in your variables. E.g.
| Code: |
HudProgressBar
{
"fieldName" "HudProgressBar"
"xpos" "c-210"
"ypos" "301"
"wide" "420"
"tall" "8"
"visible" "1"
"enabled" "1"
"BorderThickness" "1"
"PaintBackgroundType" "2"
} |
"xpos" "c-210" = The Centre - 210 'movements'. So the centre, but to the left a bit.
And for certain variables (Strictly called bools) only have 2 options. On/true or off/false. 0 = off/false, 1 = on/true
Now go have fun! The details are very fine but interesting as it were . You can change the location of where icons show up on your screen (The scenario location, buyzone indicator, ammo, hp etc.) how big they are, and even if you can freakin' see em!
OK THAT'S ALL FOR NOW. I'll slowly be updating this, adding any other features I find.
IF ANYONE ELSE HAS ANY IDEAS PLEASE PM ME AND I'LL ADD THEM! (With credit of course ) |
Last edited by Zecrah on Mon Sep 01, 2008 11:07; edited 1 time in total |
|
|
 |
|LBTG|Regime
Clan Leader

Joined: 03 Apr 2006
Posts: 3471
|
Posted:
Sun Aug 31, 2008 22:42 |
 |
Nice one..  |
|
|
|
 |
Zecrah
Joined: 30 Aug 2008
Posts: 8
|
Posted:
Mon Sep 01, 2008 11:08 |
 |
Thanks. I hope it's useful xD |
|
|
|
 |
|LBTG|meurre
|LBTG| Match Leader
Joined: 01 Apr 2007
Posts: 235
Location: Belgium
|
Posted:
Tue Sep 02, 2008 10:21 |
 |
So, where do i set the alfa of the walls to 255  |
|
|
|
 |
Zecrah
Joined: 30 Aug 2008
Posts: 8
|
Posted:
Tue Sep 02, 2008 11:34 |
 |
lol btw 255 would make it solid
There are ways to exploit this kinda thing though... which is why official matches use sv_pure 2. But the exploits aren't that huge, and ofc I'm not posting any (Not that I use them ofc npnp ) |
|
|
|
 |
|
|
|