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 / using a toilet

Author
Message
Day Dreamer
17
Years of Service
User Offline
Joined: 19th Jan 2007
Location: cumbria
Posted: 7th Apr 2008 20:06
Can someone help me to use the toilet? ok moving on, I would like to enter a toilet, then ask to use it, if I use it then I would receive some healing. whats the best way forward on this?
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 7th Apr 2008 20:26
I guess it would be as simple as altering or assigning a health script to the toilet entity.

Best.

CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 7th Apr 2008 20:38
...and how does using a toilet heal health?

Or is it a case of "You don't wanna know".......


xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 7th Apr 2008 21:34
Quote: "...and how does using a toilet heal health?"


Well..... I sometimes feel a whole lot better afterwards. I guess that's almost the same as health.

Best.

Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 7th Apr 2008 21:36
...yep.


Wolf
17
Years of Service
User Offline
Joined: 8th Nov 2007
Location: Luxemburg
Posted: 7th Apr 2008 21:57 Edited at: 7th Apr 2008 21:58
[url="http://www.funnyforumpics.com"][/url]

Its my Freedom, Its my Duty, Its my War!

http://wolf.kilu.de/Index.htm <- My webpage... I have not got many content on it, because its pretty new, and I suck at webdesign
Nickydude
Retired Moderator
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Look outside...
Posted: 7th Apr 2008 22:09
Quote: "Well..... I sometimes feel a whole lot better afterwards. I guess that's almost the same as health."




Zeldar
16
Years of Service
User Offline
Joined: 16th Mar 2008
Location:
Posted: 8th Apr 2008 02:11
How does using a toilet heal you? Are you making it so that the player suddenly keeps losing health because he needs to go?
Dude232
16
Years of Service
User Offline
Joined: 18th Jan 2008
Location:
Posted: 8th Apr 2008 05:09
lol i dont know that pretty silly... i think the game would be called "Toilet Panic" or "Wiz Race" or "Gotta Go Gotta Go Right Now"

Fuzz
18
Years of Service
User Offline
Joined: 14th Nov 2006
Location: Tasmania, Australia
Posted: 8th Apr 2008 09:17
you can set the toilet to dynamic and set its physics to no then give it the med machine thingy script as its main script then if you press enter you will get health

Victory Is Imminent
Day Dreamer
17
Years of Service
User Offline
Joined: 19th Jan 2007
Location: cumbria
Posted: 8th Apr 2008 11:23
Thanks for that, I am flushed with the response, my reason for toilet health. So that if you are injured taking a leak u could revive some health instead of finding a health pack lying around,you would have to look harder to find something to heal you instead of oh theres a health pack, good I need that.
Fuzz
18
Years of Service
User Offline
Joined: 14th Nov 2006
Location: Tasmania, Australia
Posted: 8th Apr 2008 12:04
If you are thanking me, no problem, glad i could help

Victory Is Imminent
Abisso
16
Years of Service
User Offline
Joined: 19th Feb 2008
Location:
Posted: 8th Apr 2008 17:39
Well, if someone plans to do a Sims-like game, then using toilet could really keep the player healthy.
dumpus
16
Years of Service
User Offline
Joined: 1st Jan 2008
Location: Canada, eh?
Posted: 10th Apr 2008 06:15
Haha, 'flushed' with the response. That's hilarious.

*This post will self-destruct in 10 seconds.*
Flatlander
FPSC Tool Maker
17
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 10th Apr 2008 06:22 Edited at: 10th Apr 2008 06:23
I said elsewhere there is very little humour on these forums. After reading this thread I just might be wrong.

BTW, DD was your question answered?
Day Dreamer
17
Years of Service
User Offline
Joined: 19th Jan 2007
Location: cumbria
Posted: 14th Apr 2008 19:06
Yes I think the question has been answered,I am trying to change the sound at this time, I think I can do it, not sure? any suggestion appreciated.
dan958
16
Years of Service
User Offline
Joined: 7th Feb 2008
Location:
Posted: 14th Apr 2008 19:09
but if you are badly injured, cant you just take a leak on the floor and gain some health instead of a toilet?
Day Dreamer
17
Years of Service
User Offline
Joined: 19th Jan 2007
Location: cumbria
Posted: 14th Apr 2008 19:29
Yessss, I feel better now I've been, any how I have altered the sound quite easily, for those who do not know how to, all I did was change the audio in the scriptbank for healthuse to plrsound=audiobank\atmos\fountainhum.wav and renamed it toilethealth.fpi. I think this was the best sounding option,this was my personal choice.
Duplex
User Banned
Posted: 15th Apr 2008 16:43
Now this is what I call toilet humour!

About peeing on the floor, what if he needs a dump?



For Photoshop and 3DS Max tutorials, click here
Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 15th Apr 2008 20:07 Edited at: 15th Apr 2008 20:11
...this has really degenerated into much to do about nothing.


xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 15th Apr 2008 23:48
Yep, just a lot of crap.

bond1
19
Years of Service
User Offline
Joined: 27th Oct 2005
Location:
Posted: 16th Apr 2008 02:23 Edited at: 16th Apr 2008 02:24
Ha! Using a toilet to regain health? That's awesome!

In fact, I'll help you out. I've attached a sound clip you can use in your script of a toilet flushing. I just bought a really nice field recorder so I can record sound effects, so here you go! It's been edited and ready to use.

----------------------------------------
"Your mom goes to college."

Attachments

Login to view attachments
Slayer222
17
Years of Service
User Offline
Joined: 19th Mar 2007
Location: Wherever I feel like
Posted: 16th Apr 2008 07:48
LOL! SWEET!

[img]
[/img] Official Airmod fanboy. Member of the Airlside fan club
Aertic
17
Years of Service
User Offline
Joined: 2nd Jul 2007
Location: United Kingdom
Posted: 16th Apr 2008 17:38
Cool!
I like the sound their bond!
Pain
FPSC Reloaded TGC Backer
17
Years of Service
User Offline
Joined: 4th Apr 2007
Location: Lake Orion, MI - USA
Posted: 19th Apr 2008 08:07
A really easy sweet idea for ur toilet idea...
not exact but an idea


Sound zone: Loop sound. with toilet sound

+

Heal zone= Heal when near toilet+ sound.

pain

Me = noob

and i love The TGC : )
starmind 001
FPSC Reloaded Backer
17
Years of Service
User Offline
Joined: 23rd Sep 2007
Location:
Posted: 19th Apr 2008 08:13 Edited at: 19th Apr 2008 08:17
How about you use this automed by plystire.
http://forum.thegamecreators.com/?m=forum_view&t=116527&b=23 Just a thought.

Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 19th Apr 2008 19:41 Edited at: 19th Apr 2008 20:17
Here is a chopped version of Bond1's flush sound saved as OGG...

And here is the
for the script I use with a toilet.

You also need...

1) Toilet model (nice one in model pack 2, hint hint)

2) You need dirty and clean textures for it. (mp2 toilet has both!)

3) You need the flush sound (attached to this post)

Set your toilet in your map.
Then set the texture to the dirty one, and set alt texture to clean one. (navigate to BOTH dds files - DO NOT type them in)
Set Sound0 to the flush.ogg (make sure the flush.ogg is placed in audiobank)

Now save the script above as an FPI file and assign it as the main AI for the toilet.

If you use a custom toilet, then don't forget to make it dynamic by setting STATIC MODE to NO

EDIT
I tacked on the plraddhealth to the flush action for this request.

Here is the
if you want a gain on the first flush only.

Don't forget to visit Conjured Entertainment

Attachments

Login to view attachments
bond1
19
Years of Service
User Offline
Joined: 27th Oct 2005
Location:
Posted: 19th Apr 2008 20:17
Cool, thanks Conjured! This is what I love about FPSC, being able to do whatever you want, or just what you always wanted to do in a video game.

Want to take a dump to regain health? You can do it in FPSC! Punch a midgit to save the world? You bet!

----------------------------------------
"Your mom goes to college."
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 19th Apr 2008 20:22
Thanks for the flush sound Bond.

I hope you don't mind me chopping that sound file, but I got the size down quite a bit.

I have been needing to record that sound for awhile.
I have had many opportunities to do so but never remembered to run get the mic at those moments.

Never thought about putting in a health gain, but that's kewl.

I found the textures can flake out if you do not use the little grey button to navagate to them when assigning in the properties menu.
So, if you get white textures then do that to fix it.

Don't forget to visit Conjured Entertainment

Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 19th Apr 2008 20:47
plrwithinzone=1 for an entity?


Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 19th Apr 2008 23:51 Edited at: 19th Apr 2008 23:56
Quote: "plrwithinzone=1 for an entity?"

sure thing Seth
all entities have their own zone
any entity can be a trigger

I used blood-splats for triggers all the time in the past, but I am going to use bushes in the future.
I'm switching to bushes because they have to be dynamic anyway for turning collision off.

Don't forget to visit Conjured Entertainment

Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 20th Apr 2008 06:37
...wow. That's a very cool thing to know.

Many thanks for the info.


Indicium
16
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 10th Jul 2008 20:39
Quote: "Well, if someone plans to do a Sims-like game, then using toilet could really keep the player healthy. "


Lol the sims with guns, sounds good
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 10th Jul 2008 23:56
You might want to put a little ice on that bump.

Best.

Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 11th Jul 2008 01:59
Lol @ xplosys. That was a serious bump, too!

For some reason, I'm not allowed to bump threads that are more than a month old.


The one and only,


Whosoever says, "Don't sweat the small stuff," is obviously not a programmer.
Hybrid
17
Years of Service
User Offline
Joined: 21st Nov 2007
Location: In the p-block, group 7.
Posted: 11th Jul 2008 04:59
That is forum rules. If no one has posted within around a month, then the thread is normaly locked, I think.

Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 11th Jul 2008 05:06
Hmmmm, then how did he post here.


The one and only,


Whosoever says, "Don't sweat the small stuff," is obviously not a programmer.
Hybrid
17
Years of Service
User Offline
Joined: 21st Nov 2007
Location: In the p-block, group 7.
Posted: 11th Jul 2008 05:22
I stand corrected. I only thought that that was the case, since some threads say that it has been a while since anyone has posted and that you need to go to the last page to see if you could post.

Rampage
16
Years of Service
User Offline
Joined: 4th Feb 2008
Location: New Zealand
Posted: 17th Jul 2008 06:59 Edited at: 17th Jul 2008 07:00
Quote: "Want to take a dump to regain health? You can do it in FPSC! Punch a midgit to save the world? You bet!"

LOL! Bond, they should really put that on the website. That would draw my attention for sure. Great title by the way

[url=][/url]The Ultimate Fpsc Mod, sprite particles, intense battles, high fps, 40 characters, one room.

Login to post a reply

Server time is: 2024-11-24 10:48:55
Your offset time is: 2024-11-24 10:48:55