Making The Player Talk.
- metal_head
- Posts: 1244
- Joined: Sat Jan 05, 2008 8:31 pm
- Location: Bulgaria,Sofia
- Contact:
Making The Player Talk.
What's the best entity to do this:
In my game I want to make the player talk also his friends to call him on the radio and he to talk with them.I want all that to be like Serious Sam (if you remember,serious sam talks and sometimes comments the bad guys) I want to make this in my game too.Now I want to make it when the player steps on a trigger (or kills a special enemy which will activate a trigger when dies)
And for thoose,who don't know what I'm talking about,here's a video:
http://www.youtube.com/watch?v=EFit2B3d ... re=related
In serious sam 2 when Sam talks,subs appear and you can even read what he says,I don't need that I just want to know the best way to do that.
In my game I want to make the player talk also his friends to call him on the radio and he to talk with them.I want all that to be like Serious Sam (if you remember,serious sam talks and sometimes comments the bad guys) I want to make this in my game too.Now I want to make it when the player steps on a trigger (or kills a special enemy which will activate a trigger when dies)
And for thoose,who don't know what I'm talking about,here's a video:
http://www.youtube.com/watch?v=EFit2B3d ... re=related
In serious sam 2 when Sam talks,subs appear and you can even read what he says,I don't need that I just want to know the best way to do that.
-
- Posts: 335
- Joined: Sat Feb 09, 2008 5:47 pm
- Location: Lanzarote/Canary Islands/Spain
Re: Making The Player Talk.
A pawn that's activated by a trigger
- metal_head
- Posts: 1244
- Joined: Sat Jan 05, 2008 8:31 pm
- Location: Bulgaria,Sofia
- Contact:
Re: Making The Player Talk.
so that can be made with a script?
-
- Posts: 335
- Joined: Sat Feb 09, 2008 5:47 pm
- Location: Lanzarote/Canary Islands/Spain
Re: Making The Player Talk.
Yeah it's just making sounds being played, and images or texts (for subtitles) being showed on the screen
- metal_head
- Posts: 1244
- Joined: Sat Jan 05, 2008 8:31 pm
- Location: Bulgaria,Sofia
- Contact:
Re: Making The Player Talk.
I don't need subtitles,I just need the sound to be played,but how can this be made,
PlaySound(); will play the sound,but the sound will come out from the pawn not from the player.
Or something else has to be done?
PlaySound(); will play the sound,but the sound will come out from the pawn not from the player.
Or something else has to be done?
-
- Posts: 335
- Joined: Sat Feb 09, 2008 5:47 pm
- Location: Lanzarote/Canary Islands/Spain
Re: Making The Player Talk.
I'm sorta busy to look at all the commands right now, but you could attach the pawn that has this script onto the player, to then make the sound come out of the player.
- metal_head
- Posts: 1244
- Joined: Sat Jan 05, 2008 8:31 pm
- Location: Bulgaria,Sofia
- Contact:
Re: Making The Player Talk.
well,I want the player to talk very often so...I'll have to attatch about 20 pawns to the player in a level...maybe Juutis can help...oh,no he's also busy..well,isn't there another way to do all this (without scripting)?
- creekmonkey
- Posts: 116
- Joined: Tue Oct 23, 2007 2:55 pm
Re: Making The Player Talk.
Couldnt you use just one pawn and different orders for each sound you want played, depending on which trigger is activated? Or possibly even different if statements in the same order?
- metal_head
- Posts: 1244
- Joined: Sat Jan 05, 2008 8:31 pm
- Location: Bulgaria,Sofia
- Contact:
Re: Making The Player Talk.
you're right,I'll start working on this and because I suck at scripting yet,I'll post this in Scripting I'll really need some help for that
EDIT: OK,so I made a new topic in scripting with my started script,but I have some problems,making the script check if a trigger is activated,so a little help would be nice!
EDIT: OK,so I made a new topic in scripting with my started script,but I have some problems,making the script check if a trigger is activated,so a little help would be nice!
Re: Making The Player Talk.
im a n00bie at scripting and i also need to make some one talk can some one show me the script please????
Re: Making The Player Talk.
This is more about scripting than sound. Moved to Scripting forum.
Many Bothans died to bring you this signature....