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 / Money variable/hud

Author
Message
Fps n00b
15
Years of Service
User Offline
Joined: 24th Apr 2009
Location:
Posted: 18th May 2009 03:38
I would like to have a money hud beside the lives and health but I have no idea how to display a variable; does anyone know?
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 18th May 2009 09:16 Edited at: 18th May 2009 09:16
Using vanilla FPSC (that's the official un-modded FPSC) it's a gruelling task which involves checking variables and displaying number HUDs based upon the variables value. You would also need to make 10 HUDs for each digit.

Using a Mod (Ply's Mod, specifically) you can display the named variables (That is, variables declared in the Ply's Mod variable system) very easily by simply creating a numeric HUD and telling it what variable to show.


The one and only,


Fps n00b
15
Years of Service
User Offline
Joined: 24th Apr 2009
Location:
Posted: 18th May 2009 19:00
What's Ply's Mod?
Kravenwolf
15
Years of Service
User Offline
Joined: 14th Apr 2009
Location: Silent Hill
Posted: 18th May 2009 22:06 Edited at: 18th May 2009 22:06
Quote: "What's Ply's Mod? "


Wow

http://forum.thegamecreators.com/?m=forum_view&t=128688&b=21


-Kravenwolf

Success is not final--failure is not eternal.
Fps n00b
15
Years of Service
User Offline
Joined: 24th Apr 2009
Location:
Posted: 19th May 2009 00:36
Ok, is there a tutorial to show you how to add money?
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 19th May 2009 05:45
Quote: "how to add money"


And do what with it? Money is there for more than staring at. If you don't do anything with it, then there's no point in it being there.


If you're just wanting a money number to show up on screen, then here's how to do it:


Save that as a script and slap it onto a dynamic light. A new number will show up next to your normal HUD showing you how much "money" you have.

What you do with money after that is up to you.


The one and only,


Fps n00b
15
Years of Service
User Offline
Joined: 24th Apr 2009
Location:
Posted: 20th May 2009 00:35
In relation to ply's mod I've seen the video of the decal overide and think that it is totally awesome, but... I'm new in practically every way in FPSC and was wondering if there is a decal tutorial.
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 20th May 2009 23:03
If you're looking for a tutorial on normal decals and their relation to entities (that is, the decal that entities use for effects) then I wrote one in a topic a while back... wasn't a topic related to decals so it would be hard to find. I think the topic had "glow" in it or something.


If you're wanting a tutorial on decal-overriding:

- Find the name of a decal you want to use for when the weapon hits a wall/character
- Use that name in the gunspec of your weapon as the parameter for the "chardecal"/"nonchardecal" options

Example:

That will make the "firepuff" decal play when the weapon hits a character and make the "firemedium" decal play when the weapon hits a wall or regular entity.


The one and only,


Fps n00b
15
Years of Service
User Offline
Joined: 24th Apr 2009
Location:
Posted: 21st May 2009 00:46
Do you know were to get the weapon you used in the decal overide video, Plystire?
Fps n00b
15
Years of Service
User Offline
Joined: 24th Apr 2009
Location:
Posted: 21st May 2009 00:48
Oh and also, (this is going to sound retarded) were is the gunspecs file?
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 22nd May 2009 00:41
Quote: "Do you know were to get the weapon you used in the decal overide video, Plystire?"


Uhm.... out of my Files folder?

Lol, I received those gloves from Errant for testing. They were incomplete and I don't think he would appreciate me distributing them around.

Quote: "were is the gunspecs file?"


Files\gamecore\guns\

Dig deeper into that folder for the gun you want. In that gun's folder will be a "gunspec.txt" file tha tcontains options and settings for it.


The one and only,


Fps n00b
15
Years of Service
User Offline
Joined: 24th Apr 2009
Location:
Posted: 22nd May 2009 03:02
Thanks and if you get the ok from errant to hand it out let me know!
GraPix
User Banned
Posted: 23rd May 2009 17:38
@Plystire

ply's mod can run with FPSC V1.14?
I have to learn scripting of ply's mod before touching the mod?

GraPix Entertainment
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 24th May 2009 03:15
GraPix, if you can script fairly well, then Ply's Mod will provide you with a much wider range of commands to make scripts with.

The only version of Ply's Mod that will work with V1.15 (I suggest installing that version and not V1.14) is the beta for V1.09 which you can find a download for on the main site for the Mod (http://www.plysmod.tk)

Any version before V1.09 of the Mod will require V1.07-V1.09 of vanilla FPSC to be installed in order for it to work properly.


The one and only,


Fps n00b
15
Years of Service
User Offline
Joined: 24th Apr 2009
Location:
Posted: 25th May 2009 22:09
Umm, is there a specific place you have to put the 'Chardecal/nonchardecal" in the gunspec?
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 26th May 2009 01:58
Nope, you may put it at the bottom or top or in the middle, where ever you want. Though, I prefer to keep my options organized so I keep them int heir own category. That's entirely up to you.


The one and only,


Fps n00b
15
Years of Service
User Offline
Joined: 24th Apr 2009
Location:
Posted: 26th May 2009 18:09
So if I add this to the gunspec when I fire it should just run the decals or do I have to put a script somewhere too?
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 26th May 2009 20:03
Just put it in the gunspec and the engine takes care of the rest.


You know, you could try testing it before coming in to ask.


The one and only,


djmaster
User Banned
Posted: 27th May 2009 14:31
Errant released those hands on the forums for free.

A.K.A. chargerbandit
[href]http://chargedstudios.ultimatefpsc.com/[href]
Fps n00b
15
Years of Service
User Offline
Joined: 24th Apr 2009
Location:
Posted: 27th May 2009 17:12
Well I have to save for a better CPU because my graphics card isn't good enough.
Fps n00b
15
Years of Service
User Offline
Joined: 24th Apr 2009
Location:
Posted: 27th May 2009 17:16
Djmaster, I couldn't find them so do you have a link or the name of the model?

Login to post a reply

Server time is: 2024-11-25 01:37:56
Your offset time is: 2024-11-25 01:37:56