Using Voice Lines
BOB74j wrote:
Logic_choreographed_scene has an OnCompletion output. Just have that output for the first scene trigger the next.
I cant make it start talking! I made an output: OnTrigger; [Choreo_name]; Start
But that doesnt work. How do i do it?
andyb wrote:
This the one you checked? https://developer.valvesoftware.com/wik ... phed_scene
That's the one I checked.
BOB74j wrote:
For GLaDOS lines, I think you need to use her actor instance in sdk_content\maps\instances\choreo. I'm not sure what the proper procedure is for other actors, but I am sure that there are countless tutorials on the interwebs.
So a logic_choreography_scene needs an actor, to be able to make any sound?
beecake wrote:
BOB74j wrote:For GLaDOS lines, I think you need to use her actor instance in sdk_content\maps\instances\choreo. I'm not sure what the proper procedure is for other actors, but I am sure that there are countless tutorials on the interwebs.
So a logic_choreography_scene needs an actor, to be able to make any sound?
generic_actor, but it crashed my level when it loads, I just placed the entity though, maybe it won't crash if used right way.
beecake wrote:
So a logic_choreography_scene needs an actor, to be able to make any sound?
Precisely. For GLaDOS actor, put the instance just outside the walls of your map. The scene will automatically use the actor, so you don't need to set up any inputs or outputs with the actor.
Pitk?korva wrote:
generic_actor, but it crashed my level when it loads, I just placed the entity though, maybe it won't crash if used right way.
I'm not familiar with that entity, but I would guess that it's left over from a previous version of Source and no longer works in Portal 2. Again, use GLaDOS' actor instance for any of her lines.
EDIT: I looked inside the GLaDOS actor instance and it turns out that it's just a generic_actor inside a nodraw box. What you most likely did wrong, Pitk?korva, is that it seems you need to use the appropriate entity script from portal 2\portal2\scripts\vscripts\choreo.
MasterLagger wrote:
So what are the targets for logic_choreography_scene? I got GLaDOS to use one line, but don't know how to make her use more lines.
I'm not entirely sure what you mean by the targets, but just select one scene file per logic_choreographed_scene. If what you mean by targets is in fact what I think you mean, then don't bother with those keyvalues. The only keyvalues you need to worry about for the entity are the scene file and the targetname. Keep in mind that a single logic_choreographed_scene can only play a single line. For the next line, use the first scene's OnCompletion output to trigger a second scene.