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 / Killing an animal and using it as food (Health) Easy way to do it!!!

Author
Message
Cherd
17
Years of Service
User Offline
Joined: 30th Dec 2006
Location: Where I can see you.
Posted: 13th Feb 2007 20:12
Ok i know ive already made a thread about this, but that was asking if anyone knew how it could be done.
People did respond to the post and put across some very good ideas but i have found a much easier way.

Much like metal gear solid 3, what i was after was the ability to kill an animal and use it to recover health.

I tested this out on one of Rolfys Spiders, what i did was replace the dissapear script with the player health recover script so that when the spider is killed, you can pick it up and you can recover some health. this can of course be applied to any entity, and would work great for a jungle based game.

Cherd
17
Years of Service
User Offline
Joined: 30th Dec 2006
Location: Where I can see you.
Posted: 13th Feb 2007 20:14
a lot of people have probably already figured this out, but i havent seen it on the forums so i thought i would put my idea across

Silvester
18
Years of Service
User Offline
Joined: 7th Dec 2005
Location: Netherlands
Posted: 13th Feb 2007 20:45
You could make a script that if its dead then:



-Prince Of Darkness
Cherd
17
Years of Service
User Offline
Joined: 30th Dec 2006
Location: Where I can see you.
Posted: 13th Feb 2007 20:46
you dont need to, you just do it in the editor
the script is the same one used on the medipack
just use it as the script for when its killed

Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 14th Feb 2007 04:51
Cherd,

Greetings. Thanks for the contribution. I've taken the liberty of making a variation of the healthuse.fpi script.

PlayerUseHealth.fpi will allow you to approach an entity, get a HUD prompt, and press ENTER to activate the health increase.



Although not tested, it should now be possible to carry a medic kit or food source, and use it only when the player chooses to replenish health points.

I've attached eatit.tga, so that you can test it out. Place it in languagebank\english\gamecore\text, and you're all set!

Thanks,

Seth Black

"...I'm sorry, could you repeat your question a little louder? I'm a trifle deaf in this ear."

- Willie Wonka

Attachments

Login to view attachments
rolfy
18
Years of Service
User Offline
Joined: 23rd Jun 2006
Location:
Posted: 14th Feb 2007 05:11 Edited at: 14th Feb 2007 05:12
Aww man,you didn't really eat one of those things didya...
Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 14th Feb 2007 11:52
rolfy,

Greetings. Yep, sure did. Tastes just like chicken!

Thanks,

Seth Black

"...I'm sorry, could you repeat your question a little louder? I'm a trifle deaf in this ear."

- Willie Wonka
Cherd
17
Years of Service
User Offline
Joined: 30th Dec 2006
Location: Where I can see you.
Posted: 14th Feb 2007 20:56
thats really cool thanks, and yes i ate some of them

Cyborg ART
17
Years of Service
User Offline
Joined: 14th Jan 2007
Location: Sweden - Sthlm
Posted: 15th Mar 2007 21:59
Will fit great for my new game.

Visit us at www.freewebs.com/bigvikinggames , you can find our new free games and much more
Slayer_2
18
Years of Service
User Offline
Joined: 18th Sep 2006
Location: Anywhere I feel like
Posted: 16th Mar 2007 06:44
I've done the phisics health pack before

EOT Check it out
http://eliteops.piczo.com
Cherd
17
Years of Service
User Offline
Joined: 30th Dec 2006
Location: Where I can see you.
Posted: 19th Mar 2007 16:09
lol try this with psionics dog too, works great

Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 19th Mar 2007 23:39
Cherd,

Greetings. Yep...Fido tastes great going down, too!

Thanks,

Seth Black

"...I'm sorry, could you repeat your question a little louder? I'm a trifle deaf in this ear."

- Willie Wonka
Venge
18
Years of Service
User Offline
Joined: 13th Sep 2006
Location: Iowa
Posted: 20th Mar 2007 00:17
yay raw meat.
Too bad the inventory doesn't work, or you might be able to pick it up and cook it.

This unbiased, positive, helpful, politically correct post brought to you by indi.
Ultima Fire
17
Years of Service
User Offline
Joined: 28th Feb 2007
Location: Dublin Ireland
Posted: 22nd Mar 2007 15:22
Ha reminds me of TUROK, all the enemies would give ya health when ya killed em, we figured you were eating them all the time.
Awesome script, will have to give it a go.
Origin
19
Years of Service
User Offline
Joined: 11th Sep 2005
Location:
Posted: 22nd Mar 2007 15:26
@Cherd:

You can't use the game title "survivor" !
I have a copyright on that name used as a game title...

Quote: "Survivor, © Copyright 1998-2007 Distance Games"


I'm sorry...

Regards,
John

Your signature has been erased by a mod because it's larger than 600x120....
Cherd
17
Years of Service
User Offline
Joined: 30th Dec 2006
Location: Where I can see you.
Posted: 26th Mar 2007 18:35
lol dont worry its a working title, i just wanted to create a logo

chris 123 smoothie
17
Years of Service
User Offline
Joined: 25th Feb 2007
Location:
Posted: 31st Mar 2007 17:13
gr8 work.....................

Login to post a reply

Server time is: 2024-11-23 13:31:16
Your offset time is: 2024-11-23 13:31:16