Urban Terror Forums: Script plz - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

Script plz Rate Topic: -----

crosshair color cycle

#1 User is offline   KEYHOLE Icon

  • Account: keyhole
  • Country:
  • Joined: 28-February 10
  • Posts: 305

Posted 06 November 2010 - 11:26 PM


//CROSSHAIR CROSS//
set cross_1 "cg_drawcrosshair 1 ; ut_echo ^8[^7crosshair^8: ^21^8] ; set cross vstr cross_2"
set cross_2 "cg_drawcrosshair 2 ; ut_echo ^8[^7crosshair^8: ^22^8] ; set cross vstr cross_3"
set cross_3 "cg_drawcrosshair 3 ; ut_echo ^8[^7crosshair^8: ^23^8] ; set cross vstr cross_4"
set cross_4 "cg_drawcrosshair 4 ; ut_echo ^8[^7crosshair^8: ^24^8] ; set cross vstr cross_5"
set cross_5 "cg_drawcrosshair 5 ; ut_echo ^8[^7crosshair^8: ^25^8] ; set cross vstr cross_6"
set cross_6 "cg_drawcrosshair 6 ; ut_echo ^8[^7crosshair^8: ^26^8] ; set cross vstr cross_7"
set cross_7 "cg_drawcrosshair 7 ; ut_echo ^8[^7crosshair^8: ^27^8] ; set cross vstr cross_8"
set cross_8 "cg_drawcrosshair 8 ; ut_echo ^8[^7crosshair^8: ^28^8] ; set cross vstr cross_9"
set cross_9 "cg_drawcrosshair 9 ; ut_echo ^8[^7crosshair^8: ^29^8] ; set cross vstr cross_10"
set cross_10 "cg_drawcrosshair 10; ut_echo ^8[^7crosshair^8: ^210^8]; set cross vstr cross_11"
set cross_11 "cg_drawcrosshair 11; ut_echo ^8[^7crosshair^8: ^211^8]; set cross vstr cross_12"
set cross_12 "cg_drawcrosshair 12; ut_echo ^8[^7crosshair^8: ^212^8]; set cross vstr cross_13"
set cross_13 "cg_drawcrosshair 13; ut_echo ^8[^7crosshair^8: ^213^8]; set cross vstr cross_1"
set cross "vstr cross_1"
bind x "vstr cross"


im looking for something like this but for specific colors


This post has been edited by KEYHOLE: 06 November 2010 - 11:26 PM


#2 User is offline   postit Icon

  • Account: postit
  • Country:
  • Joined: 28-February 10
  • Posts: 76

Posted 06 November 2010 - 11:50 PM

The cvar is cg_crosshairRGB. The color is specified with four numbers; red, green, blue and alpha.

set cross_1 "cg_crosshairrgb 1,0,0,1; ut_echo ^8[^7crosshair^8: ^21^8] ; set cross vstr cross_2" // RED
set cross_2 "cg_crosshairrgb 0,1,0,1; ut_echo ^8[^7crosshair^8: ^21^8] ; set cross vstr cross_3" // GREEN
set cross_3 "cg_crosshairrgb 0,0,1,1; ut_echo ^8[^7crosshair^8: ^21^8] ; set cross vstr cross_1" //BLUE
set cross "vstr cross_1"
bind x "vstr cross"


#3 User is offline   ObScUrE Icon

  •   head moderator   
    Co-Chief Community Moderator
  • Account: obscure
  • Country:
  • Joined: 28-February 10
  • Posts: 2,192

Posted 07 November 2010 - 12:44 AM

^
|__It would better to use another name as cross or his crosshair toggle script gets overwritten from it.

Here some help for your color selections keyhole.
http://www.urbanterr.../texts/107/#3.2

This post has been edited by ObScUrE: 07 November 2010 - 12:44 AM

Quote

BenQ-XL2420T|Filco-Ninja-TKL-MXRed|Logitech-G403|AKG-K70201000010 01101100 01110101 01110100 01010010 01100001 01110101 00100100 01100011 01101000~The quieter you become, the more you are able to hear.~

#4 User is offline   KEYHOLE Icon

  • Account: keyhole
  • Country:
  • Joined: 28-February 10
  • Posts: 305

Posted 07 November 2010 - 02:27 AM

thx guys
i have change all 'cross' for 'crosscolor' it work

This post has been edited by KEYHOLE: 07 November 2010 - 03:18 AM


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

Advertisement


Copyright © 1999-2024 Frozensand Games Limited  |  All rights reserved  |  Urban Terror™ and FrozenSand™ are trademarks of Frozensand Games Limited

Frozensand Games is a Limited company registered in England and Wales. Company Reg No: 10343942