Zala Soothsayer
Registered User
Join date: 26 Oct 2005
Posts: 2
|
11-07-2005 17:19
Hi guys, I remember seeing a snapshot in which somebody had ammo counters at the bottom of his HUD when he was wielding some guns. It was not some normal font/text, it was something that looked like those you see in first person shooters. Custom font or something.
Would anybody know how to do that? Is there a script for that? OR is it done some other way?
Also, is there a way to display the word "Reloading" on your HUD or even above your gun when it's reloading?
Thanks.
|
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
|
11-07-2005 23:38
Fancy fonts are custom textures. There's lots of ways to do it from there, but it's certainly a custom texture. At the moment there's no hovertext on HUDs, although it's on the list. That would mean another custom texture I'm afraid, although you could do something to change the colour of the HUD to indicate running out of ammo, empty, reloading etc if you'd rather. http://secondlife.com/badgeo/wakka.php?wakka=llSetText will put hovertext over the gun.
|
Bond Harrington
Kills Threads At 500yds
Join date: 15 May 2005
Posts: 198
|
11-08-2005 01:15
From: Zala Soothsayer Hi guys, I remember seeing a snapshot in which somebody had ammo counters at the bottom of his HUD when he was wielding some guns. It was not some normal font/text, it was something that looked like those you see in first person shooters. Custom font or something. Would anybody know how to do that? Is there a script for that? OR is it done some other way? Also, is there a way to display the word "Reloading" on your HUD or even above your gun when it's reloading? Thanks. The way that the gun communicates to the HUD right now is through channel communications and a Listen on the HUD. An action, like shooting or reloading, would also whisper to the HUD on a seperate channel from chat (or seperate channels for different functions). The HUD then will pick up on that and change the characters in the HUD. For the HUD characters, I'd suggest looking up something called XYText. It pretty much allows for the display of character and digit textures and changing them, like the llSetText.
|
Zala Soothsayer
Registered User
Join date: 26 Oct 2005
Posts: 2
|
11-08-2005 01:48
Ahh, so how would I go about making listen channels from weapons to huds and also updating the hover text or hud characters?
|
Bond Harrington
Kills Threads At 500yds
Join date: 15 May 2005
Posts: 198
|
11-08-2005 02:20
From: Zala Soothsayer Ahh, so how would I go about making listen channels from weapons to huds and also updating the hover text or hud characters? I believe that's correct. There was supposed to be Object2Object communication in 1.7, but didn't make the cut. In theory, O2O communication would operate in the same way as Link Messages do in inter-linkset/inter-script communications, but between two different objects instead of using a laggy communication like Listens to do it. That would've been better for shooting games and the like.
|