Forum
Xhair Script
Created 30th May 2009 @ 09:21
Add A Reply Pages: 1
I play without weapon models on, and use a custom xhair from the list. I had a script that would change the colour of the xhair as i changed between weapons, but after I formatted I lost it. Anyone have it?
try fpsbanana. Pretty sure you will find it there (Search button ftw)
cl_crosshair_file crosshair5;cl_crosshair_blue 255.000000;cl_crosshair_green 255.000000;cl_crosshair_red 255.000000;cl_crosshair_scale 48.000000;cl_crosshairalpha 200;cl_crosshaircolor 0
with cl_crosshair_file decides the shape, the following 3 the colors, the next one the dimension and not really sure about the point of crosshairalpha… I just copypasted this line and modified it for each class / weapon
Is there a way to use such a script for the last used weapon button?
I have a reload script that works with the Q button, even tho it just swaps between main and second and not melee. Could be modified to support crosshairs.
Is there a way to use such a script for the last used weapon button?
you just put it between the lines of your scripts… for instance, this is my weaponswitch script for the medic:
/Switch Slot1 – Slot2
alias ms1 “slot2;r_drawviewmodel 1;sensitivity 2.4;cl_crosshair_file crosshair7;cl_crosshair_blue 20.000000;cl_crosshair_green 20.000000;cl_crosshair_red 255.000000;cl_crosshair_scale 48.000000;cl_crosshairalpha 200;cl_crosshaircolor 0;wait;alias ms ms2”
alias ms2 “slot1;r_drawviewmodel 1;sensitivity 2.4;cl_crosshair_file crosshair7;cl_crosshair_blue 255.000000;cl_crosshair_green 255.000000;cl_crosshair_red 255.000000;cl_crosshair_scale 48.000000;cl_crosshairalpha 200;cl_crosshaircolor 0;wait;alias ms ms1”
alias ms ms1
bind “q” “ms”
/Switch Slot2 – Slot3
alias bs1 “slot3;r_drawviewmodel 1;sensitivity 2.4;cl_crosshair_file crosshair3;cl_crosshair_blue 0.000000;cl_crosshair_green 0.000000;cl_crosshair_red 0.000000;cl_crosshair_scale 48.000000;cl_crosshairalpha 200;cl_crosshaircolor 0;wait;alias bs bs2”
alias bs2 “slot2;r_drawviewmodel 1;sensitivity 2.4;cl_crosshair_file crosshair7;cl_crosshair_blue 255.000000;cl_crosshair_green 255.000000;cl_crosshair_red 255.000000;cl_crosshair_scale 48.000000;cl_crosshairalpha 200;cl_crosshaircolor 0;wait;alias bs bs1”
alias bs bs1
bind “mouse4” “bs”
Add A Reply Pages: 1