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 / Enemy Randomized sound

Author
Message
Armageddon Games
15
Years of Service
User Offline
Joined: 29th Apr 2009
Location: Im In my Little bubble, Find your own...
Posted: 12th Aug 2012 23:01 Edited at: 12th Aug 2012 23:02
I need some help here guys, yesterday i was looking at the grid.... blankly... (FPSC Map editor) And started to think about this FPSC game i played a while ago i believe by WOLF. anyway.. he somehow got his enemies to randomly ramble on, kind of like talking trash to you.

I guess what im trying to ask is if anyone could help me write one of those scripts. to randomly play a voice set while the enemy is still alive. i can handle the sfx all i need is someone to help me write the script.


anyone? please?

http://uimg.ngfiles.com/banners/3880/3880701.jpg
Armageddon Games
15
Years of Service
User Offline
Joined: 29th Apr 2009
Location: Im In my Little bubble, Find your own...
Posted: 12th Aug 2012 23:06
like the script could start the delay at 5 seconds so the sounds dont overlap

http://uimg.ngfiles.com/banners/3880/3880701.jpg
The Storyteller 01
15
Years of Service
User Offline
Joined: 11th May 2009
Location: On a silent hill in dead space
Posted: 12th Aug 2012 23:25
A script to make an entity play random audio files is no problem.

But since you want ENEMIES to do this, you'd have to change the combat scripts these enemies use, don't you think so?

In case you find my grammar and spelling weird ---> native German speaker ^^
Armageddon Games
15
Years of Service
User Offline
Joined: 29th Apr 2009
Location: Im In my Little bubble, Find your own...
Posted: 12th Aug 2012 23:47
didnt know it was that sophisticated. what about adding the commands into the enemies main script?

http://uimg.ngfiles.com/banners/3880/3880701.jpg
The Storyteller 01
15
Years of Service
User Offline
Joined: 11th May 2009
Location: On a silent hill in dead space
Posted: 13th Aug 2012 01:02
Good idea! Go ahead.

In case you find my grammar and spelling weird ---> native German speaker ^^
Mr illusionest
15
Years of Service
User Offline
Joined: 5th Mar 2009
Location: Cairo , Egypt
Posted: 13th Aug 2012 02:23
I just did something like you want while messing around with FPSC . A monster keeps making strange noises randomly all the time till it's dead , isn't that what you want ?
but what makes me doubtful is that you didn't think about the random=x condition (pretty obvious lol) so I'm not so sure if that's what you want .
anyway hereare the lines :


"I am the night visitor when everyone is sleep , and when the last light fades"
The illusionest
Armageddon Games
15
Years of Service
User Offline
Joined: 29th Apr 2009
Location: Im In my Little bubble, Find your own...
Posted: 11th Sep 2012 13:41
Quote: " A monster keeps making strange noises randomly all the time till it's dead"


Precisely. but i am still a recruit when it comes to coding.

I want to add it to the Dark AI Mainscript, I have russian enemies, i have already recorded my russian voiceovers but i have no way of using them unless the script is somehow without error implemented into the DAI main script.

http://uimg.ngfiles.com/banners/3880/3880701.jpg

Login to post a reply

Server time is: 2024-11-23 19:52:24
Your offset time is: 2024-11-23 19:52:24