You are viewing our Forum Archives. To view or take place in current topics click here.
Alias' Explanation [PC/XBOX] *UPDATED*
Posted:
Alias' Explanation [PC/XBOX] *UPDATED*Posted:
Status: Offline
Joined: Oct 23, 201014Year Member
Posts: 243
Reputation Power: 15
Status: Offline
Joined: Oct 23, 201014Year Member
Posts: 243
Reputation Power: 15
I am not going to lie, alias' are hard to understand and write. So I am going to write this help people with PC modding and the few xbox modders. Alias' work on all Source Engine games.
Ok lets begin with the basic default alias'.
Ok, lets break this code down.
This makes a declaration that the alias Restore is referring to this bind set. In the restore you will need a few things to insure your proper usable controls.
To get proper use of your A Button you will have to make an alias because the Default Select Button. This is only really critical on the Xbox version. If we look at the default select button it tells us
If we look back at our default alias controls, you should notice that no two commands are binded to one button so using +jump;+menuAccept would result in a syntax error. So we must make an alias for this.
We only have to bind the +select.
* When dealing with + and - alias',
+ can be interpreted as saying "when holding this button do this".
- can be interpreted as saying "when you let go of this button return to this set"
--------------------------------------------------------------------------------------
Doing Alias Sets:
Lets start off with an alias set
Ok are you starting to see some patterns?
We declare the set binds then give them alias', then have it return to the defaults once we let go of the key.
See what I did there? I binded a key to an alias, then put a command for the alias.
--------------------------------------------------------------------------------------
The Structure of an alias Setup:
This is what a Controller usersettings should look like (Cfg for PC, and Usersettings for Xbox)
--------------------------------------------------------------------------------------
I hope this helps some people out with making alias' because they are confusing to work with at first then once you start getting how they work you will become a pro at them!
Thanks for reading!
Last edited by CRACKbomber ; edited 1 time in total
Ok lets begin with the basic default alias'.
alias restore "bind <KEY> +setA;bind <key> +setB;bind <key> +setC;bind <key> +setD;bind <key> +attack;bind <key> +attack2;bind <key> +setE;bind <key> +setF;bind <key> +setG;bind <key> +setH;bind <key> +setI;bind <key> +setJ;bind LEFT +setK;bind RIGHT +setL;bind DOWN +setM"
Ok, lets break this code down.
alias restore
- +attack - Shooting your Gun
- +attack2 -Meleeing
- A declaration of your normal select button
To get proper use of your A Button you will have to make an alias because the Default Select Button. This is only really critical on the Xbox version. If we look at the default select button it tells us
+jump;+menuAccept
If we look back at our default alias controls, you should notice that no two commands are binded to one button so using +jump;+menuAccept would result in a syntax error. So we must make an alias for this.
alias +select "+jump;+menuAccept"
alias -select "-jump;-menuAccept"
We only have to bind the +select.
* When dealing with + and - alias',
+ can be interpreted as saying "when holding this button do this".
- can be interpreted as saying "when you let go of this button return to this set"
--------------------------------------------------------------------------------------
Doing Alias Sets:
Lets start off with an alias set
alias +setA "bind <key> setAA;bind <key> setAB;bind <key> setAC;bind <key> setAD;bind <key> setAE;bind <key> setAF;bind <key> setAG;bind <key> setAH;bind <key> setAK;bind UP setAL;bind <key> setAM;bind <key> setAN;bind <key> setAO"
alias -setA "restore"
alias setAA ""
alias setAB ""
alias setAC ""
alias setAD ""
alias setAE ""
alias setAF ""
alias setAG ""
alias setAH ""
alias setAK ""
alias setAL ""
alias setAM ""
alias setAN ""
alias setAO ""
Ok are you starting to see some patterns?
We declare the set binds then give them alias', then have it return to the defaults once we let go of the key.
alias +setA "bind A setAA;"
alias -setA "restore"
alias setAA "noclip"
See what I did there? I binded a key to an alias, then put a command for the alias.
--------------------------------------------------------------------------------------
The Structure of an alias Setup:
This is what a Controller usersettings should look like (Cfg for PC, and Usersettings for Xbox)
[Global CVARS]
[Default alias set]
[alias set]
--------------------------------------------------------------------------------------
I hope this helps some people out with making alias' because they are confusing to work with at first then once you start getting how they work you will become a pro at them!
Thanks for reading!
Last edited by CRACKbomber ; edited 1 time in total
The following 6 users thanked CRACKbomber for this useful post:
Venom199 (03-26-2012), Bergie (01-17-2012), zPh3oX (01-08-2012), EvilJuggernant (01-04-2012), Bic (01-03-2012), bob_evans4 (12-31-2011)
#2. Posted:
Status: Offline
Joined: Sep 26, 201014Year Member
Posts: 512
Reputation Power: 63
Status: Offline
Joined: Sep 26, 201014Year Member
Posts: 512
Reputation Power: 63
A Very Good Tut on alias ;) + REP
- 0useful
- 0not useful
#3. Posted:
Status: Offline
Joined: Dec 26, 201112Year Member
Posts: 356
Reputation Power: 21
Status: Offline
Joined: Dec 26, 201112Year Member
Posts: 356
Reputation Power: 21
K + REP good tut ....
- 2useful
- 0not useful
#4. Posted:
Status: Offline
Joined: Nov 11, 201113Year Member
Posts: 118
Reputation Power: 4
Still abit confuzzled, but nice post! ;)
- 0useful
- 0not useful
#5. Posted:
Status: Offline
Joined: May 21, 201014Year Member
Posts: 1,220
Reputation Power: 67
This should be a sticky!
Good Job!!!
Good Job!!!
- 0useful
- 0not useful
#6. Posted:
Status: Offline
Joined: Feb 03, 201113Year Member
Posts: 1,102
Reputation Power: 53
bob_evans4 wrote K + REP good tut ....
hahahaha you dont have any rep
- 0useful
- 0not useful
#7. Posted:
Status: Offline
Joined: Jan 01, 201212Year Member
Posts: 293
Reputation Power: 14
Status: Offline
Joined: Jan 01, 201212Year Member
Posts: 293
Reputation Power: 14
Very Nice tut !
Repped+Thanked!
Repped+Thanked!
- 0useful
- 0not useful
#8. Posted:
Status: Offline
Joined: Jan 25, 201113Year Member
Posts: 85
Reputation Power: 3
Status: Offline
Joined: Jan 25, 201113Year Member
Posts: 85
Reputation Power: 3
Good and thorough tutorial. This can help everyone
- 0useful
- 0not useful
#9. Posted:
Status: Offline
Joined: Aug 18, 201014Year Member
Posts: 2,192
Reputation Power: 101
Status: Offline
Joined: Aug 18, 201014Year Member
Posts: 2,192
Reputation Power: 101
So basically we use aliases in zip0, recompress, and burn, right? Im so close. lol. I just cant get it to recompress correctly
- 0useful
- 0not useful
#10. Posted:
Status: Offline
Joined: Oct 23, 201014Year Member
Posts: 243
Reputation Power: 15
Status: Offline
Joined: Oct 23, 201014Year Member
Posts: 243
Reputation Power: 15
Tyrann_Mathieu wrote So basically we use aliases in zip0, recompress, and burn, right? Im so close. lol. I just cant get it to recompress correctly
There is something you have to do with ZIP1
- 0useful
- 1not useful
You are viewing our Forum Archives. To view or take place in current topics click here.