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 / First Script Chatter

Author
Message
WWIV Studios
15
Years of Service
User Offline
Joined: 10th Sep 2009
Location: Atlanta,Georgia
Posted: 7th May 2010 18:46
This is my first script. Im trying to create a simple chatter script. if the player is within distance, he/she can here AI talking.

How is it so far? (Forgive my complete stupidity when it comes to scripts.)

Current Game Progress: War Diaries 4%
Secret Project 2%

Attachments

Login to view attachments
BlackFox
FPSC Master
16
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 7th May 2010 19:11
Are you planning to have huds come up with the chatter? For example, here is a script I have that is used in a level where the player approaches an AI and the conversation starts. As the player moves away and approaches the AI a second time, a different hud/sound happens; same when the player moves away and approaches a third time.



Feel free to modify it to your liking. It should help you get a start on what you are hoping to achieve.

- BlackFox

WWIV Studios
15
Years of Service
User Offline
Joined: 10th Sep 2009
Location: Atlanta,Georgia
Posted: 7th May 2010 19:48
Thank you, however, i want to have the enemy speaking to each other when the player gets in distance he can here them.

Current Game Progress: War Diaries 4%
Secret Project 2%
BlackFox
FPSC Master
16
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 7th May 2010 20:30
Sorry my friend, I misunderstood what you were after. I have another that I use in a different level. Two guards standing and chatting. As I get closer, I can hear their conversation.

First guard character AI Main script:



Second guard character AI Main script:



It's rough, but it does what I want it to do. I'm certain you can tweak it to your liking.

- BlackFox

Login to post a reply

Server time is: 2024-11-25 00:27:33
Your offset time is: 2024-11-25 00:27:33