script for crosshair
#1
Hi dudes,

i am searching for a script that can do following:

#loads different colored crosshair depending on team (cla or rvsf)
#changes crosshair size (gets smaller) during hits (e.g. from 20 to 15)

Thanks in advance!

PS: The one, who can do that job, gets free 1vs1 training rounds and ofc everyone that can fix this unhit and hitsound problem.
Thanks given by:
#2
Isn't the crosshair supposed to get bigger after each hits? (logically I mean
And what is the matter of having a coloured crosshair, is that something that helps you to see in wich team you are or because you want to increase the contraste between the crosshair colour and textures colours of each maps from the point of view of each teams?
Thanks given by:
#3
Morry did the good job:
onHit = [ if ( = $arg1 (player1 cn) ) [ loadcrosshair default.png; sleep 300 [ loadcrosshair cube.png ] ] ]
Thanks given by:
#4
onHit = [ if ( = $arg1 (player1 cn) ) [ crosshairsize 10; sleep 300 [ crosshairsize 20 ] ] ]

onSpawn = [
    if (= (curteam) 0) [loadcrosshair default_orange.png];
    if (= (curteam) 1) [loadcrosshair default_green.png]]

That was my desire, the only thing that isn't perfect yet, is the delay, some increase is necessary. The idea comes from battlefield bad company 2, anyone who has played that game, should have noticed this effect.

@ExodusS:

Yeah, the colour should help me to get a better contrast.
Thanks given by:
#5
I'll use this script too just so I can subconsciously know which team I'm on more easily. Just after switching teams, there's always that short period of time where I'm afraid to shoot.
Thanks given by: