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 Models and Media / Health package with some light effects

Author
Message
Dion
17
Years of Service
User Offline
Joined: 31st Mar 2009
Location:
Posted: 2nd Apr 2009 15:16
Hi guys,
I'm new to the FPS Creator.
And i saw a clip on youtube with 4 tables with healt packages on it.
On the wall there was hanging a light that says how much the package recovers
It really want to this also in my level (i am making a shooting range) so could anybody help me how to make this

Greetz
- Dion


Link:
http://www.youtube.com/watch?v=gs8c2X83ZyU&fmt=18

Health packages on:
0:31 - 0:37
James Kravenwolf
17
Years of Service
User Offline
Joined: 22nd Nov 2008
Location: Ohio
Posted: 2nd Apr 2009 16:49 Edited at: 2nd Apr 2009 16:58
Health packs are in the stock media library. Entities > ww2 > items > small_health_2, for example. To place them off of the ground such as on a table, press enter over the table with the pack selected, and then click to place it.


"On the wall there was hanging a light that says how much the package recovers."

Those are just sign entities the user created himself, and then wrote the numbers over the texture. To make them light up, he just placed different colored light markers in front of each sign.

Hmm...to change the amount of health each health pack returns, I assume you would have to go into the pack's script, and change it there to match the numbers you write on the signs. Make a new entity for each value you want the health pack to return health.

*EDIT* Yea. Go into The Game Creators > FPS Creator > Files > Script Bank, and select the pickuphealth script (open it with notepad.)

Change the line in the script that says: plraddhealth=50, to the value that you want it to restore (to match your signs). Then, save as...pickuphealth2 (or any other name...) This way, you can make different health packs in your level that each restore a different amount of health. Just like in the video. When you add the health pack to your game, in the properties area, change the min script to the new script you created to give that pack that amount of health to restore.

Hope this helped!

-Kravenwolf

Login to post a reply

Server time is: 2026-07-25 23:51:31
Your offset time is: 2026-07-25 23:51:31