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 / Problem with HealthBar

Author
Message
Thistle Studios
17
Years of Service
User Offline
Joined: 1st Mar 2007
Location: Kirkcaldy
Posted: 5th Nov 2008 22:44
Plystire gave me a very good looking script. Unfortunately, i was stupid enough to think you needed to create a hud in the "load hud here" section
Whats wrong with this script?


Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 6th Nov 2008 01:55
Can a Mod please move this to the Scripts board? Thank you!!!


Quote: "Whats wrong with this script?"


Whenever a script is not working, you need to tell us what it's doing that it shouldn't be doing. Telling us "It doesn't work" doesn't give us anything to look for in the script.


Also, this script will require a couple things:
1) Ply's Mod V1.07 Beta 2
2) a "desc = " at the top of the script. Just give it a short description.


But, I did find something wrong with it.

Sorry, I made a small miscalculation in that script I gave you.

Change "divvar=CalcVar 500" to "divvar=CalcVar 5" on the lines that scale the HUDs.

Lemme know how that goes.


The one and only,


Those who live in the past, are destined to insanity. Those who live only for the future, will be slaves to their ambitions.
Those who live in the moment... only they, are truly happy.
Thraxas
Retired Moderator
18
Years of Service
User Offline
Joined: 8th Feb 2006
Location: The Avenging Axe, Turai
Posted: 6th Nov 2008 11:09
Quote: "Can a Mod please move this to the Scripts board? Thank you!!!"


Your wish is my command

"Quoting yourself is stupid and self-centered"-Thraxas
Thistle Studios
17
Years of Service
User Offline
Joined: 1st Mar 2007
Location: Kirkcaldy
Posted: 6th Nov 2008 17:40 Edited at: 6th Nov 2008 18:32
Sorry, I was so hooked on using Product Chat for all my posts I knew it'd be moved to scripts.
Ill try it out, Plystire, the problem was it didn't show even though I had the script in the trigger zone and correct paths.
Wait, if a Mod moves my thread to a different forum, why wont they change my name?? I already asked the forum gods and they ignored me. So I emailed FredP. No reply. Can a moderator please change my name to "YFPSD"? (without the quotes)

EDIT: Wait, i've found NOTHING from the mod is working on my testlevels except from the startmenu action. I can go into a shop and "buy" a weapon, but it doesnt show up in my list of weapons. I've followed the script correctly and its still not working! And to top that off, I can't die when I fall off the level! I just go into death mode and repeat "uhuhuhuhuhuhuhuhuhuhuhuhuhuhuhuhuh" until I end test level. Heres the updated code:



Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 7th Nov 2008 00:10
I'll say it again:

Quote: "2) a "desc = " at the top of the script. Just give it a short description."


For example:



Do that and let me know if it fixes anything. It was a known bug for some time until a recent update made the "desc" portion of a script optional. Leaving it out has been known to corrupt HUDs


The one and only,


Those who live in the past, are destined to insanity. Those who live only for the future, will be slaves to their ambitions.
Those who live in the moment... only they, are truly happy.
Thistle Studios
17
Years of Service
User Offline
Joined: 1st Mar 2007
Location: Kirkcaldy
Posted: 7th Nov 2008 20:57 Edited at: 8th Nov 2008 19:02
Hey, my name has been changed! Yassss!!! Thank you, wonderful moderators!

EDIT: The script does work. Unfortunately, the engine does not. I can't hurt anyone or die, or do anything other than wait for the inevitable crash.

Crusader2
16
Years of Service
User Offline
Joined: 8th Aug 2008
Location: Somewhere...
Posted: 10th Nov 2008 02:46
So this won't work on Beta 1? Awwwwww..... He just asked us to move off of Beta 2 too...

Must... help... bunny... achieve... world... domination... all... hail... bunny...
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 10th Nov 2008 06:05
Nope, it requires the new HUD commands I had made in Beta 2.

Don't worry, you can use a placeholder numeric until Beta 2 becomes available again.


The one and only,


Those who live in the past, are destined to insanity. Those who live only for the future, will be slaves to their ambitions.
Those who live in the moment... only they, are truly happy.
Crusader2
16
Years of Service
User Offline
Joined: 8th Aug 2008
Location: Somewhere...
Posted: 14th Nov 2008 00:10
So how would I create the images for it? Had a thread for this, but no one is answering!

Must... help... bunny... achieve... world... domination... all... hail... bunny...
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 14th Nov 2008 10:08
Just use numeric HUDs like the health and lives numbers.


The one and only,


Those who live in the past, are destined to insanity. Those who live only for the future, will be slaves to their ambitions.
Those who live in the moment... only they, are truly happy.
Crusader2
16
Years of Service
User Offline
Joined: 8th Aug 2008
Location: Somewhere...
Posted: 15th Nov 2008 02:00
Um... I don't really know how to make HUD stuff at all. Another skill I am lacking along with scripting. Hehe...

Must... help... bunny... achieve... world... domination... all... hail... bunny...
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 15th Nov 2008 08:09
Open up the "setuplevel.fpi" script and look for the numeric HUDs that it makes... just base yours off of that. You don't need to make a new numeric HUD in Paint or anything, just use the same numeric image that the others use.


The one and only,


Those who live in the past, are destined to insanity. Those who live only for the future, will be slaves to their ambitions.
Those who live in the moment... only they, are truly happy.

Login to post a reply

Server time is: 2024-11-24 16:32:06
Your offset time is: 2024-11-24 16:32:06