Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / is it possible to show a variable's value using the numeric hud used for lives and ammo?

Author
Message
Bibo4PC
16
Years of Service
User Offline
Joined: 17th Oct 2008
Location: Middle Earth
Posted: 26th Jul 2009 15:31
Hi,
is it possible to show a variable's value using the numeric hud used for lives and ammo? or do I have to make a different hud for each possible value?
TY..

mAcpo
16
Years of Service
User Offline
Joined: 3rd Dec 2007
Location: USA
Posted: 27th Jul 2009 16:35
You can use the actual numeric.dds graphic but to show another variable correctly you would need to make your another hud for it.
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 29th Jul 2009 19:56 Edited at: 29th Jul 2009 19:57
Quote: "Project Blue User"


If you're wondering this for Project Blue, then the answer is: "Yes, and it's super simple!"

Set up a numeric HUD the SAME way you would for lives or health or ammo, with the following two exceptions:
- "hudtype" should be set to 6
- use another special option called "huduservar" which should be set to the name of the variable you want the HUD to display the value of.

Example:



The one and only,


Bibo4PC
16
Years of Service
User Offline
Joined: 17th Oct 2008
Location: Middle Earth
Posted: 29th Jul 2009 22:02
Plystire ur amazing works like a charm.. Thx

but how come there is nothing about (huduservar) in the PB guide?

Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 1st Aug 2009 00:50
Hmmm, well that's probably due to how I go about making the ReadMe stuff. After I've gone and coded everything, I usually skim back over the comments I've left in the source and add them into the readme... sometimes I neglect to properly document certain parts of my code, and so certain features are left out of the readme because they go unnoticed when i go back to gather them up.


The one and only,


Login to post a reply

Server time is: 2024-11-25 05:15:36
Your offset time is: 2024-11-25 05:15:36