Quote:
|
dunno if it will fix... but it seemed a good idea..
|
Quote:
you replace the .spr stop eating paint. |
yea mostly i never had a computer class in grade or middle school...
|
i am freakin comp illiterate someone help me >.<:confused: withe crosshairs thing.
|
this is funny.. lol..
|
I'm bloody clueless at this
I've done the first bit placing CustomXHair.spr into the right folder so... 1. How do I download or save this userconfig.cfg? Am I meant to create a notepad for it? 2. What does bind a key ingame to "xtog" mean? |
for usercfg.cfg you make that file in notepad yes.. save all that xtog crap in it.
then you go in your console in game, and type bind "key" xtog. that lets you cycle throught the different ones. |
Here we go.
Quote:
Code:
alias xtog "xtog1" Code:
alias NAME "COMMANDS" Quote:
Code:
alias CHANGEMYNAME "name MeinGottHasSexyManBoobs" A nice feature of the ALIAS command..is that you can assign it to other ALIAS'ed code blocks! EXAMPLE: Code:
alias CHANGEMYNAME "ABC" CHANGEMYNAME ---> execute "ABC" ---> ABC ---> execute "name DiamondLooksLikeJesus" So the first line of our script file so far: Code:
alias xtog "xtog1" This line is important. We will use THIS FUNCTION NAME (XTOG) to assign a key to. This key will cycle us through each crosshair. So we want XTOG to execute "xtog1" whenever we call it. Easy enough. On to line 2 (and the subsequent lines): Code:
alias xtog0 "gl_spriteblend 1; cl_xhair_style 0; alias xtog xtog1" Code:
gl_spriteblend 1; http://commands.planethalflife.games...ds/index.shtml So we find that gl_spriteblend turns on/off (by specifying a 1 or 0)..well..sprite blending. Code:
cl_xhair_style 0; Code:
alias xtog xtog1 Code:
alias xtog20 "gl_spriteblend 0; cl_xhair_style 16; alias xtog xtog0" Code:
alias xtog xtog0 This brings us, finally, to "what does binding 'xtog' to a key mean?" In order to execute all those nifty functions we have...we have to be able to tell the game to do so. We can't just yell at our monitor. Half-life allows you to BIND your keys to different functions. This means that whenever we press that key..it will execute the function(s) we told it to. "xtog" is the function we need to call to make our script cycle through. There are multiple ways of binding keys. For our example, you'll want to put this piece of code somewhere in your USERCONFIG.CFG. General BIND command format: Code:
bind "KEY" "COMMANDS" Code:
bind "KEY" "xtog" Code:
bind "K" "xtog" *The USERCONFIG.CFG will only execute when a particular game is run. This way we can change bindings depending on our mod. So I can have different CS binds from DOD.* I hope this helped in some way. If I've confused the tar piss out of you..I apologize. This was a very, very quick explanation with little depth and the assumption you understand certain computer concepts. If you have questions..feel free to PM me. I'll be more specific with more exacting questions. GO GO GO GO GO GO GO GO GO OWNED. |
i bet that confuses ppl even more lol
|
All times are GMT -4. The time now is 07:05 AM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.