10 Mar 11, 08:30AM
Save each frame of your animated crosshairs as a separate image file and post them here!
The basis for the Animated Xhair script is below, it lacks the greenc and pbjt crosshair packages.
But you can use tools.cfg and this basic pattern to animate your own!
The basis for the Animated Xhair script is below, it lacks the greenc and pbjt crosshair packages.
[SELECT ALL] Code:
// Animated XHair by V-Man and Ronald_Reagan. Requires tools.cfg
// setup
crosshairsize 50
alias xhairnum 0
// greenc
recursive xhanimgc 50 [
if (< $xhairnum 16) [alias xhairnum (+ $xhairnum 1)] [alias xhairnum 1]
loadcrosshair (concatword "greenc/greenc" $xhairnum ".png")]
// pbjt
recursive xhanimpbjt 80 [
if (< $xhairnum 7) [alias xhairnum (+ $xhairnum 1)] [alias xhairnum 1]
loadcrosshair (concatword "pbjt/pbjt" $xhairnum ".png")]
// Jane! How do you stop this crazy thing?!
alias xhairstop [
push xhanimgc []
push xhanimpbjt []
sleep 90 [pop xhanimgc; pop xhanimpbjt]]
add2conloop [
if_conline_has "you scored" [xhairstop; sleep 100 [xhanimpbjt]; sleep 8000 [xhairstop; sleep 100 [xhanimgc]]] []]
newmenu "Animated XHair"
menuitem "pbjt" [xhairstop; sleep 100 [xhanimpbjt]]
menuitem "greenc" [xhairstop; sleep 100 [xhanimgc]]
menuitem "stop" [xhairstop]
add2menu "HUD" [menuitem "" -1]
add2menu "HUD" [menuitem [Animated XHair Menu] [closemenu "HUD"; showmenu "Animated XHair"]]
addcheck_msa [xhanimgc]