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 / Enemy Health Bar

Author
Message
Shadydowg
User Banned
Posted: 10th Jul 2010 02:23
Is it possible to have a gauge showing some sort of status to the enemies health? (Health Bar) Is it possible to locate that said bar at the bottom of the screen?

I know I just made a post earlier, but I have many questions =). I would like to know if these type of things are the limits with the scripting. (I would hate to learn something for no reason)

THANK YOU!

Lapfire Interactive approves this message! =)
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 10th Jul 2010 02:40
Welp, I'm sure at some point Conjured will come in to help you out with doing this in vanilla FPSC, so I'll just go ahead and take the easier route and tell you how it can be done in Project Blue.


Here's the basic premise of it all:
- Declare variables and create your health bar HUD in your enemy's Main script.
- While the enemy is alive, track their health and use the HUD scaling commands to size the HUD based on the amount of health the enemy has.
- When enemy dies, hide the HUD.

That's about it. I leave the coding part up to you now that you have a direction to go in.


Quote: "(I would hate to learn something for no reason)"


Boy, I'll say! I could just as easily have evoked my desired opinion without any form of schooling. And this FPI stuff? Total waste... I mean, seriously, who in their right mind would WANT to make their game unique and enjoyable to play?? I just don't get them, man.


The one and only,


Shadydowg
User Banned
Posted: 10th Jul 2010 03:18 Edited at: 10th Jul 2010 03:33
I've always secretly wanted to try a mod, although i've no idea how to install one. Is there a free mod out there to try? How much is Z-Mod? If it's free, i'd like to try that before i go spend $28 on a mod. I do like some of your project blue scripts though.

Do you suppose it could be done in vanilla, though?

EDIT: Looked up Z-mod, and found that it would be perfect for a game that I am plugging away on. I don't know how to install mods yet, or use any of the promised features. I'm a bit of a noob, you understand.

Lapfire Interactive approves this message! =)
Nbt
15
Years of Service
User Offline
Joined: 11th Oct 2009
Location: Behind you!!
Posted: 10th Jul 2010 03:37
Project Blue does have a free cousin "Project Green" which will give you a taste of what Project Blue can do.

Project Blue is also very well documented and well worth the outlay.

Your signature has been erased by a mod. The sig needs to be 600 width maximum (x 120 height) for all of it.
Shadydowg
User Banned
Posted: 10th Jul 2010 03:44 Edited at: 10th Jul 2010 04:23
Are certain features such as the 3rd person view and vehicles included?

I'm not too sure the removed parts of project blue work are parts of those scripts.

The features im looking forward to are:
-3rd Person
-Cars
-Inventory System

Does Project Green have them?

Noob alert!

Lapfire Interactive approves this message! =)
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 10th Jul 2010 06:36
Project Green does not have certain features of Project Blue. These include:
- Dual Wielding
- HUD manipulation commands
- Some player customizing commands (such as speed)
- Full screen shaders

To be honest, even though I wrote Project Green, I couldn't tell you if the commands needed for 3rd person and vehicles are still there.

I am going to say one thing, though. Vehicles are NOT a viable feature in FPSC yet. Many factors prevent them from being a good feature. Limited space, low framerate in outdoor areas, and collision are just a few setbacks to vehicles. Thus far, I have not seen a vehicle (scooters are not vehicles in my book ) run well at all in FPSC.


Fenix Mod (which is free as well) has a decent 3rd person feature hardcoded into it, so if you're wanting to get 3rd person going with as little work as possible, I would give that a try.


Here is how you install a Mod:
The Mod will come with a "FPSC-Game.exe" file. This will REPLACE your current "FPSC-Game.exe" file that is in the FPS Creator folder. Rename your original EXE to a different name BEFORE installing the Mod files (rename it to something easy to recognize such as "FPSC-Game_original.exe"). Once that's out of the way, go ahead and move the FPSC-Game.exe file into your FPS Creator folder. Some Mods require other files to be moved into your FPS Creator folder as well, while otehr files need to go into sub folders. Most Mods (good Mods) have these files already organized intot heir appropriate subfolders so tha tyou can just move everything intot he FPS Creator folder and merge sub-folders together to ensure the files are where they're supposed to be.

That's about it. The only file really required for a Mod is the FPSC-Game.exe file. Other Mods that have altered the map editor in some way will also require you to replace the Editor EXE as well. Follow the same method as above for replacing it (and renaming), but PB does not alter the map Editor nor does Fenix Mod (as far as I can recall).


Hope that helps.


The one and only,


Shadydowg
User Banned
Posted: 10th Jul 2010 06:45
Thank you Plystire, i think I will try your suggestion with Fenix Mod.

Lapfire Interactive approves this message! =)
The Nerevar
14
Years of Service
User Offline
Joined: 19th May 2010
Location: Vvardenfell
Posted: 14th Jul 2010 17:39
(offtopic) what is vanilla fpsc?

I'd have to say........ The Game Creators can make dreams come true.
Gencheff
14
Years of Service
User Offline
Joined: 12th Jun 2010
Location: UK by way of USSR
Posted: 14th Jul 2010 17:52
stock fpsc without mods...
The Master Dinasty
16
Years of Service
User Offline
Joined: 14th Sep 2008
Location: Valhalla
Posted: 15th Jul 2010 20:13
Yes ply! Help him before the non-mod Conjured comes out with his crazy vanilla scripts!!!


-Massap2

We are the magnificent Masters, builders of pyramids.
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 16th Jul 2010 01:26
Not sure if I should LOL or feel insulted. Hard to tell if someone's being sarcastic on the internet.


The one and only,


The Master Dinasty
16
Years of Service
User Offline
Joined: 14th Sep 2008
Location: Valhalla
Posted: 16th Jul 2010 17:59
I am just saying that we should fear of conjured if he magically wisps up a spell from the under-dome of afterlife.

Oh yes you should lol.

On a more on topic matter, shouldn't this script be relatively easy?
Just use variables and the look on object command? Then spawn off the hud by using variables to check what kind of hud it should make?

Its confusing i know but in my head i think it might work.

-Massap2

We are the magnificent Masters, builders of pyramids.
Monkey Mja
14
Years of Service
User Offline
Joined: 8th Apr 2010
Location:
Posted: 16th Jul 2010 18:07
Project Green will also allow airmod, (coming in FPSC 1.17), which allows more guns to have more scopes, like EAI's guns can have red dot sights, or iron sights, sniper scopes will be 3D instead of 2D.

To install a mod, take the files from the mod's folder, and replace it. You may only have one mod installed at a time though. If you were to make a zombie game, then you would want Z-Mod (Wait for V2!). If you wanted a normal shooter, I'm guessing you would want Fenix or Project Green/Blue mod.

Right now, I replaced my FPSC-Game file with the Project Green file, but when Z-Mod2 comes out, then I'll change it to Z-Mod 2's

- Monkey

Login to post a reply

Server time is: 2024-11-24 21:52:21
Your offset time is: 2024-11-24 21:52:21