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 badly....

Author
Message
Zero #43
20
Years of Service
User Offline
Joined: 5th May 2004
Location: ** in your head **
Posted: 20th Sep 2005 18:56
how do you make a script where, if you shoot and kill a character, it makes a sound. like swat for example, you shoot a civilian sound says, HOSTAGE DOWN!!!!. i need a script that will do that please thnx

Intel® Pentium® 4 Processor w/ HT Technology 3.4GHz 800MHz FSB w/ 512KB Cache, 1GB DDR PC-2700 at 333MHz - 1x1024 SO-DIMM, ATI MOBILITY™ RADEON™ 9700 128MB DDR, 80GB Hard Drive
Matinuker
20
Years of Service
User Offline
Joined: 25th Mar 2004
Location:
Posted: 20th Sep 2005 20:40
MERRANVO!!!!!!!!

HELP!!!!!!

sorry, I can't script am learning
Deadwords
19
Years of Service
User Offline
Joined: 2nd Feb 2005
Location: Canada
Posted: 21st Sep 2005 00:46
Quote: "sorry, I can't script am learning"

yea me too in my free times

great script idea, and i know it is easy to script, when you know the commands

=-{SKaleX}-= Current Projects: -Insane Killer-=-Chaos Zone-
Mad Scientist
19
Years of Service
User Offline
Joined: 30th May 2005
Location: Fort Lauderdale, FL
Posted: 21st Sep 2005 03:26
In a script, you can't tell when you've killed another character. As such you won't be able to play custom sound when this happens.

You can write a custom "destroy" script in which you can play a custom sound. For instance for a civilian character, you can copy the leavecorpse.fpi and add a call to "sound" like sound=audiobank\user\HostageDown.wav

Relax or I'll hit you with the whip again.
BULLSHOCK 2
Retired Moderator
19
Years of Service
User Offline
Joined: 14th Jun 2005
Location: Shocking Bulls
Posted: 21st Sep 2005 03:27
take the AI you want to use, find the state line that makes the charecter die, then add a sound on the actions side...its simple!

I am really BULLSHOCK, but my profile got deleted...really, i'm telling the truth!
Zero #43
20
Years of Service
User Offline
Joined: 5th May 2004
Location: ** in your head **
Posted: 22nd Sep 2005 20:51
thanks

Intel® Pentium® 4 Processor w/ HT Technology 3.4GHz 800MHz FSB w/ 512KB Cache, 1GB DDR PC-2700 at 333MHz - 1x1024 SO-DIMM, ATI MOBILITY™ RADEON™ 9700 128MB DDR, 80GB Hard Drive

Login to post a reply

Server time is: 2024-11-21 17:41:36
Your offset time is: 2024-11-21 17:41:36