News · About Us · Members · Forums · Game Servers · TBR Maps · Joining TBR Tuesday, September 07, 2010
Navigation
TBR
News
About Us
Members
Forums
Steam (Friends)
TBR Maps
YouTube Channel
Image Gallery
Joining TBR

Servers
Server Rules
Game Servers
Player Ranking

TF2
Trailers
Steam TF2 Forum
TF2 Steam stats
Orange Box

Left4Dead
L4D Intro Trailer [New]
L4D Wallpapers
Left4Dead - Valve
Trip to Valve - L4D

Technical
Alias scripting
Internet SpeedTest
Steam Network Status
Steam off-line mode
Interference with Steam
No sound patch
Binding of keys in HLČ

Extras
Steam stats [NEW]
Special techniques
Weapons damage card
Web Links

Site related
News Categories
Search
Site Map
Contact Webmaster
Users Online off
Guests Online: 2
No Members Online

Registered Members: 560
Newest Member: djbobeb
Steam News off
Last Seen Users off
Wacker 1 day
PitAttack 5 days
jsjolly 1 week
GB_Fisherman 4 weeks
djbobeb 4 weeks
YourNamesOnM... 4 weeks
Dretmeister 5 weeks
Jopaul de Ca... 5 weeks
silverspeed 5 weeks
dengue 6 weeks
sexy indian old woman seeing married woman santana black magic woman guitar tab poems on strong woman old woman sayings pretty woman faces she is always a woman to me not a woman lyrics pictures of woman wearing thongs shape of a woman sawing a woman in half revealed organs woman pretty woman fallen lyrics old woman hospital pioneer woman tiramisu picture of a french woman pleasure for woman scent of woman tango pioneer woman corn wild rice no leg woman sexually frustrated woman pill to make woman horny rotating woman illusion sandra the making of a woman samaritan woman at the well nike 6.0 woman obama woman advisor saudi arabia appoints woman shania twain- i feel like a woman revista business woman roy orbison pretty woman mp3 sag woman cancer man pioneer woman turkey oprah most powerful woman revista woman sex woman to animal pioneer woman turnip gratin sexiest man and woman in the world retrospective bust of a woman sextrology capricorn woman pretty woman hindi lyrics sex woman donkey russian woman scam plano woman roy orbison mean woman blues saudi arabia woman photography for pregnant woman reproductive organ of a woman sage woman herbs colorado springs shaggy-strength of a woman pioneer woman homeschool pictures of the most beautiful woman nike woman tennis clothes seinfeld braless woman pisces man and gemini woman pretty woman soundtrack rapidshare sag man libra woman russian woman for sale other woman affair sexiest woman of 2008 pretty woman font sex tall woman police say woman killed during kkk initiation nine o clock woman review plus size clothing young woman picture of sad woman sexiest woman tennis player perfect size for a woman sax woman not a girl not yet a woman music video ripped mouth woman reptile woman ufo reptilian demon morphing proverbs 31 woman magazine shirley q liquor if i were a white woman old woman and young woman illusion pretty russian woman roethke i knew a woman sexy lingerie for pregnant woman norwegian woman singer scorn of a woman quote portraits of pregnant woman pretty woman la traviata old woman frying eggs roots woman ostrich woman shin megami tensei discarded woman replica watches woman phenomenal woman maya angelou video pioneer woman best lasagna quotes man woman pretty bald woman promotion code for woman within pisces man capricorn woman proverbs 31 woman commentary piercy woman on the edge of time sagittarius man and aquarius woman pretty woman plot ruling woman shark attacks woman sexy dead woman sexiest german woman real life pretty woman nutrition for the pregnant woman sexual part of woman old woman beat up pioneer woman homeschooling ray charles leave my woman alone richest woman in us sex woman in pune rykiel woman not for men sexiest woman philippines sex woman young nike sneakers woman scroobius pip look for the woman lyrics she is a woman to me lyrics pictures of a man and woman sex between man and a woman sexy native woman old woman mountains sarah morgan the civil war diary of a southern woman picture man and woman patriarchal woman ovulation cycle woman saw woman half trick old woman synonym pretty woman midi santa must be a woman police car hit woman san diego woman selling virginity pueblo mythology yellow woman puma bag woman pretty woman kal ho na ho download part of woman body saukville woman shot rolex watch for woman russian woman has world's longest legs prune cake pioneer woman seventeen and not yet a woman lyrics provocative woman arden pampered man pampered woman psychopath woman pretty woman lyrics gary moore perfect robot woman nomad woman sexy thin woman sexiest asian woman alive prayer of a woman pecan pie pioneer woman pictures of woman praying san diego woman auctioning her virginity pioneer woman creamed spinach pretty woman synonyms quotes on strength of a woman pretty woman clip perth woman polar bear and woman pretty woman hindi song pioneer woman charlie richard gere character pretty woman short hair for woman santa claus is a woman photo of angry woman role of medieval woman schulz semantic derogation woman sexualized black woman old woman obama is an arab noelle grown woman obama mortgage woman sexiest woman 08 sad woman illustration obama marriage is between a man and a woman sedalia woman found saudi woman lashes send me a song- celtic woman progesterone level in pregnant woman search sexy woman shanice every woman dreams lyrics one man one woman florida police woman pioneer woman cake robert johnson lyrics kind hearted woman pisces woman scorpio man sherpa woman san antonio police officer posing with a woman sexy dresses for woman sex between a man and woman pee standing up woman quote pretty woman pretty woman fallen song sexy game woman sexiest woman in the world maxim pacino scent of a woman nina spider woman pua older woman pictures pregnant woman prison for woman whose dog killed neighbor she's a handsome woman lyrics sea lion woman lyrics nutrition for a pregnant woman opera in movie pretty woman red alert woman romance a woman pants size woman poem phenomenal woman sailor shirt woman sexiest parts of a woman sexiest woman no belly button sexy jamaican woman red boots woman role of the muslim woman penetrate woman pretty woman i want the fairy tale pretty woman facts shakespeare frailty thy name is woman not yet a woman pretty woman los angeles recognize a good woman sexi woman wallpaper pioneer woman chocolate pie painter west coast woman seed of a woman sara teasdale woman and poet sexy older woman clips orlando in diary of a mad black woman picture of herpes on woman nipple of a woman random thoughts of a mad woman nikki giovanni the woman old woman in candide poem grace of a woman
Alias scripting

Alias scripting

READ ALL OTHERWISE NONE OF IT WILL WORK!!

 
Intro
 
Firstly I will cover the basis behind alias scripts. Alias Scripting is a method of programming basic commands for the use in Half-Life, Half-Life Deathmatch etc. All the newest generation Steam products. (I am not sure if the old Half Life has the alias scripting capability but after reading this little beginners guide I am sure you could try yourself.
 
Syntax (Layout)
 
Aliasing is the running of commands in a set string. Half-Life Deathmatch allows you to set alias's and run them when assigned to a key or another alias etc. 1 alias may run many alias's if it is needed to, 1 alias may have many functions. I believe that layout of the alias's are rather a significant part of creating the alias. You need 2 know how 2 store them and how 2 store them so that the running of the script is speedy.
 
The 1st and most easy to implement in my personal opinion is the bunny jump script. With this script implemented and used correctly, you can jump efficiently and with the speed of a sprint while using very little AUX POWER. Because it is all computer controlled it is very hard 2 use this script wrong. I have found that by the time you land on the floor your AUX POWER had recharged to full again. so all you need 2 do is keep pressing space to run fast while jumping.
 
The Code
 
 
File: alias.cfg
Declared In: config.cfg
Alias Name: +bunnyjump
Bind: bind "SPACE" "+bunnyjump"
Use: Fast Efficent Running, Bunny Jumping
alias.cfg contains:
 
alias "+bunnyjump" "+speed;wait;wait;wait;wait;wait;-speed;+jump;wait;wait;+duck"
alias "-bunnyjump" "-jump;-duck"
 
(The +bunnyjump means when the key is pressed and the -bunnyjump is when it is released)
 
Ok let me run through the procedure of how it works first to give you the best understanding of the alias.
 
This code will lie in a file that is on your computer in the steam folder of your computer.
 
The location of which is as follows.
 
C:\Program Files\Steam\steamapps\{Steam id Name}\half-life 2 deathmatch\hl2mp\cfg
 
If it isn't here then you know enough to be able to find the folder.
 
As you can see in this folder there is a file called config.cfg, this file contains all the configuration data for your personal account on Half-Life Deathmatch. If this information is changed then the game is changed. Normally this file contains information on Key Binds and Mouse sensitivity etc.
 
Implementation
 
To implement this code. The above code can either be copied straight into the config.cfg file (If your conputer cant open the file, double click on it and open it with Wordpad, try not to use notepad as it can mess up the layout of the file its self), or it can be copied into a new file (which is my personal liking) in my case it is called alias.cfg. To create this file just copy the config.cfg then rename it to alias.cfg then fill it with the code that you need to fill it with.
 
If you choose the second method then you will need to state that this file exists in the config.cfg. To do this, all that you need to do is type in exec alias.cfg at the top of the config.cfg file. I shall provide examples with this article.
 
After the declaration has been done we then need to assign it to a key. This is done with a simple key bind in the config.cfg file. For use with the bunnyjump alias, personally I assigned it to the space bar so everytime i jump it runs the alias. This is done as follows.
 
bind "SPACE" "+bunnyjump"
 
That code will simply assign the space key to the bunnyjump alias.
 
Other Code Designs
 
ZoomFire Alias.
 
This is a great alias that I created based on the idea on a none delay sniper weapon. normally used with the Magnum pistol, although can be used with the pistol with great success if aimed correctly.
 
 
File: alias.cfg
Declared In: config.cfg
Alias Name: +zoomfire
Bind: bind "z" "+zoomfire"
Use: Effective Sniper Scope for Standard Weapons
alias.cfg contains:
 
alias.cfg
alias "+zoomfire" "+zoom"
alias "-zoomfire" "-zoom;+attack;wait2;-attack"
 
config.cfg
bind "z" "+zoomfire"
 
Added Functionality
 
The ability to change weapon to the magnum for example just add the following code. I shall leave it to you to guess where the code lies
 
use weapon_357
 
That bit of code will change your current weapon to a magnum.
 
wait.cfg
 
Personally I added a file called wait.cfg and this contains a very simple binary based wait system. The command wait in hl2dm pauses all input for 1 frame of operation. This can be a very useful tool for designing scripts. My wait file contains the following and is declared in the alias file as exec wait.cfg
 
File: wait.cfg
Declared In: alias.cfg
Alias Name: N/A
Bind: N/A
Use: To declare wait periods
wait.cfg contains:
 
alias wait2 "wait;wait"
alias wait4 "wait2;wait2"
alias wait8 "wait4;wait4"
alias wait16 "wait8;wait8"
alias wait32 "wait16;wait16"
alias wait64 "wait32;wait32"
alias wait128 "wait64;wait64"
alias wait256 "wait128;wait128"
alias wait512 "wait256;wait256"
 
Easy enough to understand I think. If you wish to use this method (which i highly recommend, and after implementatiopn is a very powerful tool for creating alias's) then it makes coding a lot easier because for example on the bunnyjump instead of having loads of waits you can compress them into wait8 for example which will run the sprint operation for 8 frames, just enough time to actually get sprinting (i actually think it is around 4-6 frames), which also improves on the operational speed of the whole procedure.
 
Other Ideas
 
Automatic Greande Cooking
 
It has been attempted by my self and actually works but not to the effect that it can be done effiecently. I have approached this in several ways. E.g. fully automated (timing included) and semi auto which does all the operations up to the timing so self timing is needed. As this alias is a closely guarded secret of my own I shall share what I know :P
 
File: alias.cfg
Declared In: config.cfg
Alias Name: +fragtotal
Bind: bind "chosenKey" "+fragtotal"
Use: Grenade Cooking
alias.cfg contains:
 
alias "fragthrow" "use weapon_frag;+attack2;wait128;wait32;-attack2;wait32;wait16"
alias "+catchnade" "use weapon_physcannon;+attack2"
alias "-catchnade" "-attack2;wait2;+attack;wait2;-attack;wait2;slot3;"
alias "+fragtotal" "fragthrow;+catchnade"
alias "-fragtotal" "-catchnade"
 
The reason why I do not like this procedure (as a whole) is that it involves far to much waiting and in that waiting period your FPS can change effecting the whole operation. And during that wait period no operations can be carried out, even the mouse cant be moved. Although this is being tested so that less waits are needed.
 
Stupid alias's
 
File: flashlight.cfg
Declared In: alias.cfg
Alias Name: Flashlight Mega Party
Use: To lag your computer while flashing your flashlight 2056 times
Bind: bind "/" "fldmegaparty"
flashlight.cfg contains:
 
alias fld2 "impulse 100;wait4;impulse 100;wait4"
alias fld4 "fld2;fld2"
alias fld8 "fld4;fld4"
alias fld16 "fld8;fld8"
alias fld32 "fld16;fld16"
alias fld64 "fld32;fld32"
alias fld128 "fld64;fld64"
alias fld256 "fld128;fld128"
alias fld512 "fld256;fld256"
alias fld1028 "fld512;fld512"
alias fldmegaparty "fld1028;fld1028"
 
(impulse 100 is a flashlight operation).
 
IMPORTANT!!
 

Finally one more thing. If you wish any of this to work. you must set your config.cfg to a read only file. If this isn't done then when half life starts up it removes the exec alias.cfg therefore rendering all your work useless

This tutorial was send in by Simon, aka WolVriNe, thx!

Comments
106 on June 13 2007 17:53:56
no probs. thanks for posting it here
Post Comment
Please Login to Post a Comment.
Login off
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Event Calendar off
September 2010
S M T W T F S
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    
Shoutbox off
You must login to post a message.

Wacker
05/09/2010 12:51
I see the site is back up now, goodjob ladssmiley

GB_Fisherman
06/08/2010 19:40
Hi TuF bobeb smiley

djbobeb
04/08/2010 16:45
Big hi to everyone smiley

YourNamesOnMyBullet
03/08/2010 20:08
Yeah i like this site, i come on it often to kepe up with the news! -spinning

tebster
24/07/2010 01:33
"I want to keep the forum clean and make moe people come here" Well said MadDoc, i wish more people came here too. This site is an Aladdins Cave of info that a lot of TBR's don't app

Paperduck
01/07/2010 19:37
You contact me, send me the images and I will upload them for you. smiley

MadDoc
01/07/2010 14:25
hey all, could someone please tell me how I upload pictures into the wallpaper achive? I want to keep the forum clean and make moe people come here smiley Thanks

Van hellspit
24/06/2010 10:48
I would say this web-site is more for the general public, forums are our domain smiley

tebster
21/06/2010 16:41
N1 Ducky, always appreciated

sentinel
18/06/2010 02:41
Ding dong merry little bell...

Shoutbox Archive

Copyright © 2006-20010

Maintained by [TBR] PitAttack and [TBR] Paperduck