I know, double post. I don't care.
I've tried probably 5 ways of doing this and nothing i do works.
Heres what i wan't to do:
I have 4 rooms set up in a "U" pattern, and a point viewcontrolset up in the sky to look over the map. I have the 3rd person controls working fine but the camera movement is not working how i want it to...
So when you move from room 1 to room 2, the camera should scroll once you reach room 2. That works. As does the transition from rooms 2 to 3, and rooms 3 to 4. But i can't get the camera transitions to move to the other rooms
say if i walk into room 3 from 2 but change my mind and go back to room 2, i want the camera to follow.
It doesnt do that.
Ive tried doing the following:
-Editing the FGD to include the HL1-style func_train to follow path_corners.
in the door-way between each room i have a trigger_multiple with these outputs: On trigger > box (train) >set next path corner > room
N That doesnt work
-Using the Hl1 style func train with a logic_case.
each case relates to entering a room from another room and changed the path corner to suit. THAT didnt work
-Changing the func_train to a func_track train.
I can't even get the damn thing to move
-Having the camera itself move
The camera moves once activated and there are no seperate controls to stop or start movement once the camera is on WITHOUT turning it off.
The key here is that the camera is on the whole time.
I've also tried a lot of other combinations but i can't remember them all....
So anyone know how i can work my way around this?
Figured it out
When i changed the
Path_corners over to
path_tracks, the first flag was ticked. It was set to disable.
So i fixed that, and then i set the initial velocity and the max velocity of the train to 250. So as soon as the map starts it moves. BUT on each
path_track, i have an output saying :
on pass > train > toggle. That stops the train movement on the first path_track. I could probably use
stop But
toggle works flawlessly, and i dont want to fix something that's not broken.
And in order to start the train,
toggle also works, but the way i have the triggers set up it's buggy.
start forward works fine for that.
the sweet satisfaction of figuring something out for yourself. Almost unmatched.
Now the only problem is i can't have more than 2 rooms linked together. There's no way (that i've found so far) that i can change the next path track value of a track_train
There's only branch path options. In this case i have 2 possible branches.:
Room2 can go to Room3, or go back to Room1.
Room3 can go to Room4, or go back to Room2.
Even if i can get the train moving backwards eliminating the need for a that branch, the other branch would only allow me to have 3 options in a room.
I would like to have 6 to make the map as non-linear as possible.
Choices being:
Move forward, backward, left, right, up, down.
If i can get a good system working i would only need to set the path modifications at the threshold of the room entrance, and i would not have to worry about every single case (player moves from room 5 to 3 then to room 6 and back to 5 then falls to room 15 but takes a ladder to room 9 etc etc)
Got it to work. But it's very VERY sloppy.
Upon further testing it's too unpredictable to work.
I'll have to tackle this agin tomorrow.