PDA

View Full Version : [REL] Firemode-Changing Crosshairs (literal)


PowerHungry
August 4th, 2005, 01:20 AM
PREFACE:
It was just an idea by Wak... The idea that crosshairs could be changed in relation to firemodes... some deemed it impossible, others.. too INSANE to even FATHOM! But through incredible hardships and unrelentlessness, I, PH, I have brought thee to yeeee.

http://deltachisfa.com/sad/1.jpg
http://deltachisfa.com/sad/2.jpg
http://deltachisfa.com/sad/3.jpg

LINK TO DOWNLOAD (http://deltachisfa.com/sad/firemodexhairs.zip)
With the current texts, they only work in 1024x768 resolution. I'm sure if you were running a different res they would adjust to work just as well. Also, use gl_spriteblend 1 for best results.

Hopefully by putting this out people will take charge of it and make some reall cool stuff. I just hope its not pointless since the FA team says FA is dead.

whuh?
August 4th, 2005, 01:59 AM
This is real neat. I might adjust it for the beretta 93r to go with the m16 model for it.:D

Lusty_Muffins
August 4th, 2005, 02:13 AM
"neat" doesn't cut it. It's fucking spectacular.

whuh?
August 4th, 2005, 02:23 AM
Yes, yes. But I say neat because I dont need to swear to describe something.

Lusty_Muffins
August 4th, 2005, 02:42 AM
Yes, yes. But I say neat because I dont need to swear to describe something.

Well aren't YOU fucking special.

Locke
August 4th, 2005, 03:02 AM
Power, coud you modify it so that when its in full auto, there is not a crosshair?
If you can, can you tell me how, or do it for me?

Dreadkillz
August 4th, 2005, 03:55 AM
If this work like it should, then you are GODLY.

WOW, you are a genius PH. Im gonna go make my own now!

Fuzz`
August 4th, 2005, 04:53 AM
Too bad it's not possible. As clipse and many other people clearly explained to you in the same damn thread which you made on FA forums. Unless you're willing to play in the magical resolution of about 400x300xish, it's just not going to happen.

Blame half life and it's silly sprite resolution limitations.
delta knows firearmz

whuh?
August 4th, 2005, 04:58 AM
Did you try this out yet?

PowerHungry
August 4th, 2005, 05:20 AM
Power, coud you modify it so that when its in full auto, there is not a crosshair?
If you can, can you tell me how, or do it for me?

I don't really understand the whole sprite system to start with (I mean I was just playing with numbers and images) but here you go:

In any of the weapon texts in the zip theres a line that says:
firemode_full 640 xh_smg 0 0 512 410

(xh_smg is my full auto sprite...)

So just get rid of the xh_smg.
(Name it 0 or poop or something that doesn't exist in the folder)

Do the same with this line:
crosshair 640 xh_dot 1 1 255 255

(xh_dot being my main dot that is the crosshair on all guns, just rename it to something that doesn't exist)

----

The idea is simple enough; While HL may be restricted to 256x256 sprites, the positioning of them can be all over the screen (this is what I've picked up, but not proven). The only thing that would require a coding change would be if you wanted to see these crosshairs as well as the firemode indicator button on the bottom right.

Lusty_Muffins
August 4th, 2005, 05:45 AM
Works like a hot damn! You've just gained +1000 rep points cause this completes me.....er, completes my spritenessism.


Now I just have to fix my damn indexalpha sprites.

Patap
August 4th, 2005, 05:51 AM
gj i love it

Evil Superstar
August 4th, 2005, 07:40 AM
So basically you turned the sprite that indicated your firemode into a crosshair and moved it to that spot on the screen? clever.

spartan
August 4th, 2005, 08:03 AM
Great job PH, but you may want to do as someone else did in the old sprites forum and put a "full auto", "semi auto", and "burst fire" below and to the right of said crosshairs...... just in case a few of us morons forgets which one does which and then get angry when we burst when we tried to single. :p

Locke
August 4th, 2005, 02:23 PM
Thx PH, I ended up just editing the xhairs to that the full auto was nothing, semi was red and green, and burst is red and yellow.

For all the people that are looking for a way to tell burst, semi and full auto appart, just edit the colors.

Scraps
August 4th, 2005, 02:24 PM
GJ, Release the hud too.

`tek
August 4th, 2005, 03:04 PM
sweet. dont like the x hairs, but if i send you the ones i want can u change thsi for meh?

Locke
August 4th, 2005, 03:09 PM
sweet. dont like the x hairs, but if i send you the ones i want can u change thsi for meh?


I can if you want.

Dreadkillz
August 4th, 2005, 03:14 PM
One problem i have with the crosshair is that i used gl_texture trick, and it didnt get sharp and opague. It was still translucent!!! I havent tried the spriteblend trick yet.

Lusty_Muffins
August 4th, 2005, 04:03 PM
One problem i have with the crosshair is that i used gl_texture trick, and it didnt get sharp and opague. It was still translucent!!! I havent tried the spriteblend trick yet.

I know what you mean. It's not a huge problem with me, however, so I think I can over look it. I also made a single-shot crosshair similar to the default g36e crosshair but semi-transparent and a tad smaller. This way it's visible, accurate, and non-obstructing.

Memorex
August 4th, 2005, 05:42 PM
I think I'll stickie this, just because its so amazing and unheard of that IT HAS TO LAST FOREVER. ITS THE FIRST OF ITS KIND IN FA!!11

GJ PH

PowerHungry
August 4th, 2005, 06:07 PM
Don't give me all the credit, it was Wak's idea.

prodigy
August 4th, 2005, 06:24 PM
i know alot of people probably want there xhairs for this instead of the ones ph made, id be happy to change them for anyone if you want to pm me on the forums or find me in #clanirl id be happy to make your own xhairs work with what ph has done.

Lusty_Muffins
August 4th, 2005, 07:48 PM
i know alot of people probably want there xhairs for this instead of the ones ph made, id be happy to change them for anyone if you want to pm me on the forums or find me in #clanirl id be happy to make your own xhairs work with what ph has done.

Me too. I'll make 'em for ya's alls as well. it'll be like a tag team deathmatch of death.

Scraps
August 5th, 2005, 03:46 AM
Way to steal his spotlight.

prodigy
August 5th, 2005, 04:00 AM
mind your businees.

overlord_steveO
August 5th, 2005, 04:05 AM
ok i had these xhairs before PH got them done....although i dont know who exactly made them :[

whuh?
August 5th, 2005, 04:10 AM
so what, we will never know?

PowerHungry
August 5th, 2005, 04:35 AM
ok i had these xhairs before PH got them done....although i dont know who exactly made them :[

The actual crosshairs were made by 3NF I believe (someone sent me a zip of them when I came back into 3.0), and I used different ones out of the zip to make the firemodes.

J00LS
August 5th, 2005, 04:37 AM
Don't give me all the credit, it was Wak's idea.
Good idea and good realisation! :)

Lusty_Muffins
August 5th, 2005, 04:45 AM
Way to steal his spotlight.

Heaven forbid that I offer to help. How selfish of me.

Idiom :rolleyes:

prodigy
August 5th, 2005, 04:46 AM
i was telling scraps to mind his business, always butt in and shit.

waktasz
August 5th, 2005, 04:46 AM
YES!!!

I knew it could be done, I just couldn't get it figured out. PH you are the fuckin man.

Lusty_Muffins
August 5th, 2005, 04:51 AM
i was telling scraps to mind his business, always butt in and shit.

10-4. Post edited. Sorry.

Patap
August 5th, 2005, 06:07 AM
wak unban me from sd forums,just becuse i said big boobs are better then small

prodigy
August 5th, 2005, 06:15 AM
sd has forums?

kingcobra
August 5th, 2005, 06:18 AM
He probably means IRC channel.

whuh?
August 5th, 2005, 06:32 AM
I got bored and flooded myself on that channel. its a constant idle station.

Wallrod
August 5th, 2005, 06:54 AM
This is really very awesome.

Klif
August 5th, 2005, 07:07 AM
So basically you turned the sprite that indicated your firemode into a crosshair and moved it to that spot on the screen? clever.
hott effing DAY0M, clever is right! i was wondering!

fuzion
August 23rd, 2005, 08:06 PM
nice, how did you change your hud like that, urs looks wicked, mines old default

neko
August 28th, 2005, 06:24 PM
Can someone make these work in 1280x1024 resolution?

Col.Kurtz
August 29th, 2005, 12:20 AM
I Must Say Ph You Fking Own

gYmBaG
August 29th, 2005, 12:43 AM
thats freakin awesome good job

Heavyarms_Custom
May 14th, 2006, 10:53 PM
can someone make a m203 sprite then do that with the m16 so when you go from m16 to m203 the xhair changes to a ladder sight or somthign

Lusty_Muffins
May 15th, 2006, 09:27 AM
can someone make a m203 sprite then do that with the m16 so when you go from m16 to m203 the xhair changes to a ladder sight or somthign


Don't think it's possible using this method buddy. Since the firemode sprite doesn't change when you switch between the rifle and the GP there isn't anything to put in the GP firemode place.....of course it's been awhile since I played and I could be totally wrong.