Crosshair colour?

Locked
Mr.Bios
Posts: 62
Joined: Tue Jun 28, 2005 3:36 pm

Crosshair colour?

Post by Mr.Bios »

I downloaded a frag movie called numbar2 and the guy in it has a really cool crosshair. Like a light bright blue kinda colour. I found ch_crosshaircolor and its set to "white" but I cant seem to chenge it to any other colour. Can anyone tell me how is this done :confused:

Thanks.
User avatar
Bacon
Posts: 1473
Joined: Sat Jul 31, 2004 7:00 am

Post by Bacon »

i always thought its "cg_crosshaircolor" then a number 1-9

if not then its what you said but instead of white put the quake 3 color equivilant

1 = Red
2 = Green

so on..
bork[e]
Posts: 4357
Joined: Tue Mar 23, 2004 8:00 am

Post by bork[e] »

wth... /cg_crosshaircolor isn't a command?
Dr_Watson
Posts: 5237
Joined: Wed Feb 23, 2000 8:00 am

Post by Dr_Watson »

Bacon wrote:i always thought its "cg_crosshaircolor" then a number 1-9

if not then its what you said but instead of white put the quake 3 color equivilant

1 = Red
2 = Green

so on..


wtf are you on?

its an osp feature, and you had the right command before bork.
ch_crosshaircolor 0xRRGGBB
where RRGGBB are Red Green Blue values in hex... just like web colors
like:
ch_crosshaircolor 0x88FF88
would give you a pale green.

but you have to turn off crosshair health.
so set cg_crosshairhealth 0
User avatar
Bacon
Posts: 1473
Joined: Sat Jul 31, 2004 7:00 am

Post by Bacon »

but... my crosshair is green in vanilla q3
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Post by ^misantropia^ »

There's no cg_crosshaircolor in VQ3. Maybe a replacement texture/shader?
bork[e]
Posts: 4357
Joined: Tue Mar 23, 2004 8:00 am

Post by bork[e] »

hahaha, I was getting all happy. :(

The way my gama and everything is setup it's a bitch to see in areas with that concrete or white colored textures in most areas...

But if I go in and tamper with the pk3 where the crosshairs are stored and alter them, will PB tell me to fuck off?
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Post by ^misantropia^ »

Put the altered crosshairs in their own pk3.
bork[e]
Posts: 4357
Joined: Tue Mar 23, 2004 8:00 am

Post by bork[e] »

how do I access them in game? Or do I need to just try it...maybe you could provide a link to a good source and save me the trouble of finding one... that is if you know of one.
Tormentius
Posts: 4108
Joined: Sat Dec 14, 2002 8:00 am

Post by Tormentius »

bork[e] wrote:But if I go in and tamper with the pk3 where the crosshairs are stored and alter them, will PB tell me to fuck off?


Yes, if you mess around with the default PK3s Punkbuster will view them as corrupt.
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Post by ^misantropia^ »

bork[e] wrote:how do I access them in game? Or do I need to just try it...maybe you could provide a link to a good source and save me the trouble of finding one... that is if you know of one.


The crosshairs are stored as /gfx/2d/crosshair[a-j].tga in pak0.pk3. Create your own (or base them on the existing ones), save them to baseq3/gfx/2d/crosshair[a-j].tga, zip the gfx dir and rename it to pk3. You might need to set sv_pure to zero (the algorithm Q3A uses to check if your client is pure, is kind of borked)(no pun intended).
Mr.Bios
Posts: 62
Joined: Tue Jun 28, 2005 3:36 pm

Post by Mr.Bios »

Cool. Thanks for the info, works a treat:) I was actually thinking along the same lines as Bacon and was gonna try that before I read the posts here. Thanks Dr.
Mr.Bios
Posts: 62
Joined: Tue Jun 28, 2005 3:36 pm

Post by Mr.Bios »

Now on the subject of colours how do I change my rail colour in osp? Its permently an orange kinda colour :confused:
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Post by ^misantropia^ »

Set color1 to 1-7. Same goes for color2 if you have cg_oldrail set to 1.
Mr.Bios
Posts: 62
Joined: Tue Jun 28, 2005 3:36 pm

Post by Mr.Bios »

I put both color1 and color 2 to "7". One changed the enemy (bots) rail to white but neither changed my rail to white. I also tried changing oldrail but it had no affect either.
SOAPboy
Posts: 8268
Joined: Sun Apr 13, 2003 7:00 am

Post by SOAPboy »

Mr.Bios wrote:I put both color1 and color 2 to "7". One changed the enemy (bots) rail to white but neither changed my rail to white. I also tried changing oldrail but it had no affect either.


Only rail trail your going to change is your own..

at least to my knowledge
[size=75][i]I once had a glass of milk.

It curdled, and then I couldn't drink it. So I mixed it with some water, and it was alright again.

I am now sick.
[/i][/size]
[img]http://img162.imageshack.us/img162/3631/171164665735hk8.png[/img]
bob1234
Posts: 11
Joined: Wed Jul 06, 2005 5:07 pm

Post by bob1234 »

Check the osp-q3-ClientReadme.txt for detailed information on client-side support, variables and options
under OSP.
Synergy
Posts: 829
Joined: Fri Jan 09, 2004 8:00 am

Post by Synergy »

Mr.Bios wrote:I put both color1 and color 2 to "7". One changed the enemy (bots) rail to white but neither changed my rail to white. I also tried changing oldrail but it had no affect either.
That's because 7 isn't white for rail color in OSP. Use either "0", "y", or "z". Bots always have white rail by default in OSP. I'm not even sure if you can change bot rail color.

When you play other human players you can see thier rail colors, just not thier rail style (r_railwidth, r_railcorewidth, r_railsegmentlength, cg_railtrailtime), those will appear however you have them set on.
Cooldown
Posts: 659
Joined: Mon Jun 05, 2000 7:00 am

Post by Cooldown »

seta color "y"
seta color1 "yyyy"
seta color2 "y"
seta cg_teamRails "2"
seta cg_enemyColors "iiii"

White teammates+rail trail
Green enemies
Mr.Bios
Posts: 62
Joined: Tue Jun 28, 2005 3:36 pm

Post by Mr.Bios »

Ahh cool it works now. Thanks for the help.
LegendGuard
Posts: 119
Joined: Thu Jun 09, 2022 7:35 am

Re: Crosshair colour?

Post by LegendGuard »

As an ancient reference to a source code that uses a feature that dates back to 2002 and was never released, here:
https://discourse.ioquake.org/t/ancient ... ature/1871

Just in case, if the link is broken:
https://github.com/ec-/baseq3a/pull/28
Locked