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 / At the risk of sounding dumb

Author
Message
smoke
18
Years of Service
User Offline
Joined: 27th Aug 2006
Location:
Posted: 28th Aug 2006 08:51
At the risk of sounding dumb how can i set a health pickup to only give so much health the defult for a small health is 50 i would like to lower it to like 10 also have some smaller ones that give like 1 health

also

is there any way to raise the max health as you progress in the game like 1st lv you have 100 health 2nd lv 150 3rd 200 ect. . .

ty for your time

smoke
The Silent Ayehika
18
Years of Service
User Offline
Joined: 15th Apr 2006
Location: My Home
Posted: 28th Aug 2006 13:31
Quote: "At the risk of sounding dumb how can i set a health pickup to only give so much health the defult for a small health is 50 i would like to lower it to like 10 also have some smaller ones that give like 1 health"


Thats easy.
Go to the folder that you installed FPS Creator.
Go to files and then to scriptbank.Find a file called:"pickuphealthglow" without the quotes.
Then open it and you will see the following:
Quote: ";Artificial Intelligence Script

;Header

desc = Health

;Triggers

:state=0,cantake,plrdistwithin=80:state=1,playertake,plraddhealth=50,plrsound=audiobank\items\healthup.wav
:state=0:rundecal=5,spinrate=4,floatrate=10

;End of Script
"

Do you see the plraddhealth=50
Change the 50 to whatever you want to give health and save it as.
Health(numbers)glow.fpi in the script folder.

Then you go to Fpsc and put the health on the map.Rightclick it and change its mainscript to what you named your Health script.


Quote: "is there any way to raise the max health as you progress in the game like 1st lv you have 100 health 2nd lv 150 3rd 200 ect. . ."


I dont know if that is realy possible.Pardon me if im wrong though.
Connor Higgins
User Banned
Posted: 28th Aug 2006 23:04
please could you refrain from usiong the title like "dumb question" or "risk of souding dumb" because it makes it harder for users to find an awnser for questions. Ok.

super cool timmy turner has fairy godparents and i am not a mad science teacher i am a real boy so FAIRIES!!!!!!!!!!!!!!!
Screwed Over
18
Years of Service
User Offline
Joined: 9th Jul 2006
Location: nowhere and everywhere
Posted: 29th Aug 2006 10:41
you can, just right click the start marker (green arrow) for each level and add 100 or w/e

Jiffy
20
Years of Service
User Offline
Joined: 5th Mar 2004
Location: Hiding in the bushes in your backyard
Posted: 29th Aug 2006 11:13
Screwed, fairly sure that wouldn't help as the Max Health naturally doesn't increase when you add health (or it wouldn't be the max ).

I can't imagine that there's any way to increase it, unfortuntely. Naturally I may be wrong but I've never seen it done. In fact, I'd make sure to put a health increase zone right at the end of the level as the health they end with in one level becomes the MAX of the next!


Evil has a new name. Demo out now!

Login to post a reply

Server time is: 2024-11-22 20:12:05
Your offset time is: 2024-11-22 20:12:05