BG-HALF-LIFE

BG-HALF-LIFE

Българският Half Life портал
 
PortalPortal  ИндексИндекс  Въпроси/ОтговориВъпроси/Отговори  Регистрирайте сеРегистрирайте се  ВходВход  
*BG-SMURFA-VRATSA* ви пожелава приятна игра в сървърите ни :)
BG-SMURFA-VRATSA-Bat-Man Vs Iron-Man
Визита от други Държави
Flag Counter
Вече може да ни откриете и във социалните мрежи.

Share| .

HALF-LIFE & AG CONFIG SCRIPTS

Предишната тема Следващата тема Go down
АвторСъобщение
smurfa_vr
HL-BG Community
HL-BG Community
avatar


Брой мнения : 6767
Дата на регистрация : 31.03.2011
Местожителство : Враца

ПисанеЗаглавие: HALF-LIFE & AG CONFIG SCRIPTS Пон 09 Юли 2018, 20:43

Скриптове за почти всичко което се сетите. Инфото е на Англииски,но ако някои изяви желание да преведе  урока няма да е лошо.

Half-Life Alias
An alias is a string of console commands put together to form one main function. For example rather than pressing 2 keys 'duck' & 'jump' to perform a longjump you can write an alias to do this all for you in one simple press of a key. Below are well known & used alias codes by top HL players to use them yourself simply copy and paste the alias into your autoexec.cfg or into your own custom .cfg file and activate it through your autoexec.cfg. Then all you are required to do is to bind a key to the alias eg:
bind <key> "<alias_name>" into your config.cfg that's it.

Gauss Jumps
By holdding and releasing one key you will perform what is known as a 'gauss jump'. Can I take this time to say, this script is really for first time players and newbies. This script will not help you against the better players to beat them you will need to master gauss jumping manually to allow you far more freedom and ability when performing such a move.
For those who have no idea what a gauss jump is let me explain. The Gauss jump is whereby a player using the Half-Life weapon 'known as the Guass Gun' with a full charge aim by holding the secondary fire button down for a few seconds and then aims towards the ground about 35 degrees and then release the shot. The force of the shot will then throw the player into the air allowing you to get on top high level areas of the map or fly through the air at high speed..


// weapon to switch to at end of jump... (changes back to your previous weapon)
alias gj_weapon "lastinv"
alias gs_weapon "lastinv"

// gauss bits
alias gprep "weapon_gauss;wait;+attack2"
alias glnch_fwd "+lj;wait;gausslook;wait;-attack2;wait4;looknorm;-lj"
alias glnch_bwd "+blj;wait;gausslook;wait;-attack2;wait4;looknorm;-blj"


// gauss jumping
bind <key> "+gj"
alias +gj "gprep"
alias -gj " alias gausslook lookgauss;glnch_fwd;gj_weapon"

// gauss skimming
bind <key> "+gs"
alias +gs "gprep"
alias -gs "alias gausslook lookskim;glnch_fwd;gs_weapon"

// gauss jump backwards
bind <key> "gjback"
alias +gjback "gprep" alias -gjback "
alias gausslook lookgauss_bwd;glnch_bwd;gj_weapon"

// gauss skim backwards
bind <key> "gsback"
alias +gsback "gprep"
alias -gsback "alias gausslook lookskim_bwd;glnch_bwd;gs_weapon"

// setting up backwards gauss jumps
alias back_on "alias +gauss_skim +gsback;alias -gauss_skim -gsback;alias +gauss_jump +gjback;alias -gauss_jump -gjback"
alias back_off "alias +gauss_skim +gs ;alias -gauss_skim -gs ;alias +gauss_jump +gj ;alias -gauss_jump -gj"

Long Jump
This script is used by 90% of all top Half-Life players. What it does is takes out the effort required to long jump in Half-Life making you a much faster player. Again full credit to those players who do manual long jumps but in the eyes of most players the long jump script is not seen as a cheat but yet an improvement to the current game controls. Rather than using duck & jump keys together to perform a long jump this script does all that for you all in one simple key press. Note that backwards long jumping was a side effect produced by the script and therefore impossible to do under normal Half-Life. Many top players see the backwards long jump as a lame script and under the AG patch is now blocked but can still be used in standard valve DM servers.


// Long Jump
bind <key> "+lj"
alias +lj "+duck;wait;+jump" alias -lj "-jump;-duck"

// the backwards longjump (known as a lame script in AG servers)
alias +blj "-back;+lj;lookback;wait;looknorm;+back"
alias -blj "-lj"

// left and right longjump
alias +llj "turn_side;+lj;lt;rt;turn_end"
alias -llj "-lj" alias +rlj "turn_side;+lj;rt;lt;turn_end"
alias -rlj "-lj"

// silent lj (needs to be performed from a stand still after tapping backwards)
alias +silent_lj "+forward;wait;+lj;wait4;-forward"
alias -silent_lj "-lj;wait;+back;wait8;wait2;-back"

// setting up directional longjumps
alias lj_st "alias +longjump +silent_lj;alias -longjump -silent_lj"
alias lj_fd "alias +longjump +lj;alias -longjump -lj"
alias lj_bk "alias +longjump +blj;alias -longjump -blj"
alias lj_lt "alias +longjump +llj;alias -longjump -llj"
alias lj_rt "alias +longjump +rlj;alias -longjump -rlj" lj_st"

// aliases when moving...
// ...backwards
alias +mback "lj_bk;back_on;+back"
alias -mback "-back;back_off;lj_st"

// ...left
alias +mleft "lj_lt;+moveleft"
alias -mleft "-moveleft;lj_fd"

// ...right
alias +mright "lj_rt;+moveright"
alias -mright "-moveright;lj_fd"

// ...forwards
alias +mforward "lj_fd;+forward"
alias -mforward "-forward;lj_fd"

Pitch
The pitch script is required in some of the scripts listed here such as gauss jumps & quick attacks scripts. So it's recommended that you copy them into your autoexec.cfg or custom .cfg file. Pitch aliases perform fast looking angles in record time allowing you to pull out super fast aliase moves. They also tell the HL console where to position your view. Really they assistant other scripts/aliases on their own they are petty useless.


// pitch-view control
alias lookroof "cl_pitchup 90 ;cl_pitchdown -90"
alias lookback "cl_pitchup -180;cl_pitchdown 180"
alias lookfeet "cl_pitchup -90 ;cl_pitchdown 90"
alias lookface "cl_pitchup 0 ;cl_pitchdown 0"
alias looknorm "cl_pitchup 89 ;cl_pitchdown 89;force_centerview"
alias lookgauss "cl_pitchup -120;cl_pitchdown 120"
alias lookskim "cl_pitchup -171;cl_pitchdown 171"
alias lookgauss_bwd "cl_pitchup -85 ;cl_pitchdown 85"
alias lookskim_bwd "cl_pitchup -26 ;cl_pitchdown 26"

// yaw-view control
alias lt "+left ;wait;-left"
alias rt "+right;wait;-right"
alias turn_end "fps_max 60;cl_yawspeed 210"
alias turn_side "fps_max 20;cl_yawspeed 3550;wait"
alias turn_back "fps_max 20;cl_yawspeed 7100;force_centerview;wait"
Wait
The wait script performs a function required in many scripts to work correctly. some scripts/aliases require waiting gabs between strings of commands this is where the 'wait' script comes in.


// waits
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"
Weapons
This script is for fast weapon changes as well as other extras like auto-reload which can cause you more problems and you may find you need to disable it.


// weapon aliases
alias w_crowbar "normal;weapon_crowbar;alias back_attack back_slow"
alias w_9mmhandgun "normal;weapon_9mmhandgun;alias back_attack back_slow"
alias w_shotgun "normal;weapon_shotgun;alias back_attack back_fast"
alias w_357 "normal;weapon_357;alias back_attack back_slow"
alias w_9mmAR "normal;weapon_9mmAR;alias back_attack back_fast"
alias w_crossbow "normal;weapon_crossbow;alias back_attack back_fast"
alias w_rpg "normal;weapon_rpg;alias back_attack back_slow"
alias w_gauss "normal;weapon_gauss;alias back_attack back_slow"
alias w_egon "normal;weapon_egon;alias back_attack back_slow"
alias w_hornetgun "normal;weapon_hornetgun;alias back_attack back_slow"
alias w_handgrenade "normal;weapon_handgrenade;alias back_attack back_slow"
alias w_satchel "normal;weapon_satchel;alias back_attack back_slow"
alias w_tripmine "normal;weapon_tripmine;alias back_attack back_slow"
alias w_snark "normal;weapon_snark;alias back_attack back_slow"
alias w_lastinv "normal;lastinv" alias w_drop "normal;drop"


// fire/reload (auto reload after every shot)
alias +f_reload "+attack;+reload"
alias -f_reload "-reload;-attack"

// Backwards attack
alias back_fast "lookback;+quick;wait;-quick;looknorm"
alias back_slow "turn_back;rt;+attack;wait;-attack;lt;turn_end"
alias back_attack "back_slow"
Weapon Cycle
Very useful script that allows you to rotate through your weapons quicker. Remember to replace the <key> with your key of choice.


// weapon cycle (quick weapons change without menu pop up)
bind <key> "weapnext"
bind <key> "weapprev"
alias weapnext "invnext;+attack;wait;-attack;normal"
alias weapprev "invprev;+attack;wait;-attack;normal"
Finisher
This script was developed for AG players to pull out what is known as the 'finisher' move. Firing an RPG rocket followed quickly by an 9mmAR grenade (known as a spam). So quick that both should hit the target at the same time for max damage. However this script soon became history when pro players showed that they could perform the move as quick & with more control manually than any script. Script requires the weapon scripts above to work.


// finisher (rpg attack followed by a quick weapon change to 9mmAR for spamming)
bind <key> "finisher"
alias +fattack "+f_reload"
alias -fattack "-f_reload;wait;w_9mmAR"
alias finisher "w_rpg;alias +primary +fattack;alias -primary -fattack"
Xbow Quick Kill
This script borders on 'lame' it removes the need to zoom or scope for a cross bow kill. Under the normal game un-scoped shots wont kill on a direct hit with this script you can fire an un-scoped killer shot & by holding the attack button down fire repeated un-scoped shots. The script does have a few bugs and was developed back in 2001 so things have moved on.


// quick-kill X-bow (modified so that if the secondary attack is held, it will continue to fire zoomed bolts)
bind <key> "xbow"
alias +quick "+attack2;+attack;wait2;-attack2"
alias -quick "-attack;lastinv;lastinv"
alias xbow "w_crossbow;alias +primary normal;alias +secondary +quick;alias -secondary -quick"
Resets
These are used throughout the scripts above to reset the values during running a script.


// reset controls
-attack
-attack2
-back
-duck
-forward
-jlook
-jump
-left
-mlook
-moveleft
-moveright
-reload
-right
-showscores
-use
Bunny Hopping
This script gives you the correct jump type to perform a 'bunny hop' Bunny hopping only works in AG and does not work in Valve DM. Bunny hopping is where you can hop around maps bit like a bunny at super fast speed. The top players can bunny hop around large maps faster than any long jump. Although this script/alias gives you the bunny hop jump you still require skill to perform the move.


// decent jump
bind <key> "+decentjump"
alias +decentjump "+jump; wait; -jump; wait; +jump; wait; -jump; wait; +jump; wait; -jump; wait; +jump; wait; -jump"
alias -decentjump "-jump"
Demo Recording
When recording demos to prevent over copying the same demo file here is a script that will write to different file names in one demo record button.


//demo record
bind <record-key> "dem1"
bind <stop-key> "stop"

alias dem1 "record demo1; say_team recording demo; bind <record-key> dem2"
alias dem2 "record demo2; say_team recording demo; bind <record-key> dem3"
alias dem3 "record demo3; say_team recording demo; bind <record-key> dem4"
alias dem4 "record demo4; say_team recording demo; bind <record-key> dem1"
Jump Switcher
This is a script I knocked up for mainly for myself as I wanted a single button to perform both long jumping & bunny hopping and many players have tried this have asked me how do I play with this enabled, still I love it. By the use of the jump-switch script you can change from a long jump to a bunny hop etc. This script does require both Long Jump & Bunny Hop scripts running in your config for it to work. The key this script is bound to will allow you to toggle between either bunny hopping or jump jumping modes. Just replace the <switch-key> & the <jump-key> to the keyboard or mouse key you wish to assign.


//jump switcher (allows you to use 1 key for both long-jump & bunny-hopping)
bind <switch-key> "jumpmode1"

alias jumpmode1 "bind <jump-key> +lj; bind <switch-key> jumpmode2"
alias jumpmode2 "bind <jump-key> +decentjump; bind <switch-key> jumpmode1"
Quick Gauss & 9mmAR Combo
This is another script I knocked up for a quick Gauss & 9mmAR combo attack. Works super in arena mode in AG. Guass into the air quick switch to 9mmAR to spam the other player & then back to Gauss to repeat the attack or to escape. It uses MOUSE1 for the combo & MOUSE2 free to Gauss charge & spam attack from the 9mmAR. To use it charge the Gauss with MOUSE2 release & when in the air hit MOUSE1 now the 9mmAR is selected use MOUSE2 to fire a spam grenade & hit MOUSE1 to return back to Gauss.



//gauss & 9mmAR combo (binds mouse1 attack to 9mmAP weapon change for easy use for in flight attacks)
bind <key> "combo1"

alias combo1 "weapon_gauss; bind MOUSE1 combo2"
alias combo2 "weapon_9mmAR; bind MOUSE1 +attack"

[You must be registered and logged in to see this link.]

__________________________________________________________________________
[You must be registered and logged in to see this image.]
[You must be registered and logged in to see this image.]
[You must be registered and logged in to see this image.]
Върнете се в началото Go down
http://smurfa.bulgarianforum.net https://www.facebook.com//smurfavratsa
HALF-LIFE & AG CONFIG SCRIPTS
Предишната тема Следващата тема Върнете се в началото
Страница 1 от 1

Permissions in this forum:Не Можете да отговаряте на темите
BG-HALF-LIFE :: Уроци/Програми-