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 / Need script ! Important !

Author
Message
Mr Flowerkohl
17
Years of Service
User Offline
Joined: 19th Jan 2005
Location: Deutschland - Germany
Posted: 28th Aug 2005 21:59
Hi guys !

I want to post my one level demo soon but all i need to finish this are 2 little scripts.
first , i need a sound zone which does play the sound each time you walk into the zone. standart is that the sound is only once played.

and the more important script...i got this corpse entity and i want it to disappear if the player walks into a triggerzone. i tried and tried but i dont get it. please help
if i get this, i will upload my level ( all sounds custom , some custom textures and a very very scary athmosphere )

yeah...thats the ticket !
BULLSHOCK 2
Retired Moderator
17
Years of Service
User Offline
Joined: 14th Jun 2005
Location: Shocking Bulls
Posted: 29th Aug 2005 08:48 Edited at: 29th Aug 2005 22:55
Script #1


For this one...place the sound zone where you want it, then right click and select this script as the main script for it

Script #2

for this one, give the corpse this code, then put your trigger zone where you want it, then put the name of the corpse in the ifused section of the trigger zone

I am really BULLSHOCK, but my profile got deleted...really, i'm telling the truth!
Mr Flowerkohl
17
Years of Service
User Offline
Joined: 19th Jan 2005
Location: Deutschland - Germany
Posted: 29th Aug 2005 16:05
thanks for your replay, but both scipts aren`t working.
When i attach the sound script to the sound zone , the first milisecond of the sound is looped when i am in the zone,...and when i walk out of the zone , the whole sound is played once.
To the corpse...
I put this code into the corpse behavior and typed "corpseb" ( thats the entity name ) into the if used section. But nothing happens !
why ?

yeah...thats the ticket !
ctm
17
Years of Service
User Offline
Joined: 25th Feb 2005
Location:
Posted: 29th Aug 2005 18:55
The script for the SoundZone:



The script for the TriggerZone (to activate the corpse):



Type the name of the corpse in the IF USED field of the TriggerZone.

The script for the corpse:



This is the normal "fadecorpse" script which is in the scriptbank/destroy folder.

The only thing i changed is that i added the condition "activated=1".

You have to use this as a Main script not as a Destroy script.
Mr Flowerkohl
17
Years of Service
User Offline
Joined: 19th Jan 2005
Location: Deutschland - Germany
Posted: 29th Aug 2005 21:13
Thanks...theyre working perfect !

yeah...thats the ticket !
Lavitz
17
Years of Service
User Offline
Joined: 16th Jan 2005
Location: Raddix Studio
Posted: 29th Aug 2005 21:30
Yeah, thanx!

For the best flash anime, go to Lifepoint1.com
BULLSHOCK 2
Retired Moderator
17
Years of Service
User Offline
Joined: 14th Jun 2005
Location: Shocking Bulls
Posted: 29th Aug 2005 22:55
lol.....hahah i tried them in my beta version of v1...not EA... sorry!!!!!

I am really BULLSHOCK, but my profile got deleted...really, i'm telling the truth!
Rik Vargard
17
Years of Service
User Offline
Joined: 21st Aug 2005
Location: Brussels
Posted: 30th Aug 2005 00:30
So...can you upload your level, now?

-"My horse for a Kingdom!"
Mr Flowerkohl
17
Years of Service
User Offline
Joined: 19th Jan 2005
Location: Deutschland - Germany
Posted: 30th Aug 2005 13:07
Yeah ! I compiled it yesterday with full lightmapping ( sadly when done this, flickering lights arent working ). Now im looking for a server where i can upload it. its aroudn 50megs. My university only gave me 10mb Webspace....damn them ^^

yeah...thats the ticket !
Mr Flowerkohl
17
Years of Service
User Offline
Joined: 19th Jan 2005
Location: Deutschland - Germany
Posted: 30th Aug 2005 19:22
okay i posted the link to my game into the chat board

yeah...thats the ticket !

Login to post a reply

Server time is: 2022-11-27 15:28:04
Your offset time is: 2022-11-27 15:28:04