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 / [LOCKED] Help with sound zone with respawn, single player only

Author
Message
mikeyh
16
Years of Service
User Offline
Joined: 23rd Jan 2008
Location:
Posted: 23rd Jan 2008 22:50
Hey everybody I was just wondering if it was possible for somebody to make me a simple script for single player only NOT multiplayer. What I want is when my player dies I want a respawn sound to play. And I want this action to happend everytime I die. Many thanks to everybody...
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 24th Jan 2008 06:39
:plralive=0,activated=0:activate=9,state=13

:state=13:sound=audiobank\scifi\scenery\lifts\teleport.wav,state=14
:state=14,plralive=1:activate=0


That looks funky but it should prevent the song from being played multiple times the whole time you're dead.

It should play it only once per death as requested, but I haven't tested it so try it out.

I see that you are new to the forums so if you don't know what to do with the script above, then read the manual.
After reading the FPSC Manual you should be able to assign this script (as AIMAIN) to a dynamic entity (STATIC MODE = NO) and get your desired results.

Also note that there is a "Thread Subject Search" box at the bottom of this page.
It has most of the answers you are looking for and prevents the same questions from being posted multiple times. (keeps forum clean)

Welcome and good luck.

Don't forget to visit Conjured Entertainment

mikeyh
16
Years of Service
User Offline
Joined: 23rd Jan 2008
Location:
Posted: 24th Jan 2008 06:45
Well I've been using FPS Creator for about 3 years now but I don't know how to write a script. But anyways thank you for helping me. Do you think that you can compile it into an FPE file. And also do I use this script in a sound zone??? and do I have to use the"ifused" spot. Thanks again...
mikeyh
16
Years of Service
User Offline
Joined: 23rd Jan 2008
Location:
Posted: 24th Jan 2008 06:59
Ok I got it to work, But I had 1 last request please. Is their a way to add a 3 sec delay before it plays the respawn sound??? If you want I can pay you a few dollars even thought I'm kinnda low on cash. Please help me again Conjured Entertainment and thanks again
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 24th Jan 2008 22:58 Edited at: 24th Jan 2008 23:07
:plralive=0,activated=0:activate=9,timerstart,state=13

:state=13,timergreater=3000:sound=audiobank\scifi\scenery\lifts\teleport.wav,state=14
:state=14,plralive=1:activate=0


NOTE: The timer is universal, so there is only one timer. ( 1/1000 th increments so 3000 = 3 seconds )
If you use a timer in two or more scripts at the same time, then there may be a conflict.
That is because one script may be reseting the timer preventing the other script from ever reaching its condition.
To avoid timer errors resulting in non-functioning scripts, you should limit the use of timers.

Don't forget to visit Conjured Entertainment

mikeyh
16
Years of Service
User Offline
Joined: 23rd Jan 2008
Location:
Posted: 24th Jan 2008 23:15
Thanks bro, your the best...
mikeyh
16
Years of Service
User Offline
Joined: 23rd Jan 2008
Location:
Posted: 25th Jan 2008 00:00
Hey the scripts work but I found one problem, I really hope that you can fix it Conjured Entertainment please, If you want I can pay you??? Anyways the problem is after I die and it plays the respawn sound witch is what I want, but... Where I'm running into the problem is after I die on the last live it still plays the respawn sound. is their a way to fix this??? My game only uses 3 lives. Thanks again I hope you can help me... Many many many thanks
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 25th Jan 2008 01:07 Edited at: 25th Jan 2008 01:08
:plralive=0,activated=0:activate=9,timerstart,state=13
:plralive=0,activated=19:activate=9,timerstart,state=19


:state=13,timergreater=3000:sound=audiobank\scifi\scenery\lifts\teleport.wav,state=14
:state=14,plralive=1:activate=19

:state=19,timergreater=3000:sound=audiobank\scifi\scenery\lifts\teleport.wav,state=20
:state=20,plralive=1:activate=29

Don't forget to visit Conjured Entertainment

mikeyh
16
Years of Service
User Offline
Joined: 23rd Jan 2008
Location:
Posted: 25th Jan 2008 01:20
woot woot Conjured Entertainment is the man, Thanks bro the script works like a charm... Thank you s very very much
mikeyh
16
Years of Service
User Offline
Joined: 23rd Jan 2008
Location:
Posted: 25th Jan 2008 03:28
Ok thank you so very much for all your help Conjured Entertainment, and second this thread has done its purpose so mods please lock this. P.S. Mods please take me off post approval cuz I think I posted like 25 times today commenting on peoples great work and ect. Thanks again...A4
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 25th Jan 2008 05:52
What's with the oddly numbered states and activation values, CE? That's not like you, lol.

Nice script, though. Would work well with a demonic voice laughing at you for dieing.


The one and only,
~PlystirE~

Urlforce:
Dude, I'd rather be declared a dbpro noob than an fpsc legend any day!
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 26th Jan 2008 06:55 Edited at: 26th Jan 2008 07:01
Quote: "What's with the oddly numbered states and activation values, CE? That's not like you, lol. "

I started doing that as a sig when I don't use a Conjured Header.

Quote: "Nice script, though. Would work well with a demonic voice laughing at you for dieing."

Or , "What the heck were you thinking?"

Or , "And your mother thought you had potential."

Or, "Yeah, you're special alright."

The list goes on and on.

I already use a demonic laugh for the logo in my movies. (the logo has a nice flame effect too)

muahahahahaha

Don't forget to visit Conjured Entertainment

mikeyh
16
Years of Service
User Offline
Joined: 23rd Jan 2008
Location:
Posted: 26th Jan 2008 22:44
Hey Conjured Entertainment I found one last problem that need fixing if possible. Ok say I have a few level each with 3 lives, Say I die once on the fist level, and twice On the next level. I don't want it to play the spawn sound after I die the third time, Is their a way to make the script carry over to the other levels that is kinda like a smart script??/ Please let me know if this is possible. I am willing to pay even though I think I would do the comunity some good to have an awsome script like this to respawn. Many many many thanks...
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 27th Jan 2008 08:59
Just put that entity that has his script in it into the other levels that you make. That'll make it "carry over", but it will still play the sound for when you die for the third time.

There really isn't a way to determine if the player just used his last life or not.


The one and only,
~PlystirE~

Urlforce:
Dude, I'd rather be declared a dbpro noob than an fpsc legend any day!
Disturbing 13
19
Years of Service
User Offline
Joined: 12th Apr 2005
Location: Murder Capital of the World
Posted: 30th Jan 2008 08:18 Edited at: 30th Jan 2008 08:25
mikeyh is that dumb piece of crap a4 as most already know, and any help you try to give him won't do any good cuz he's too stupid to know what to do with the info you give him. And yeah this would be considered flaming another member IF he was a legitamate member but as its not oh well. Even if not, I would take a noobslap just to put him down, and would hold no ill will to a mod that would be doing his job to do so.

Login to post a reply

Server time is: 2024-11-24 03:30:48
Your offset time is: 2024-11-24 03:30:48