kaaino
11-29-2007, 02:57 AM
Hi all,
I am trying to create a scenario where 10 or more human NPCs move in an urban scene as if they were common pedestrians. The paths should have some variability so that the scene is more realistic.
I have tried to set up few closed sequences of path_tracks and my npc_citizens successfully move around and repeat the tracks at the infinite. To add variability I have cross-linked some path_tracks altpath and triggering ToggleAlternatePath when an NPC triggers the OnPass so that the next NPC passing by will follow the altpath. This is done as follows:
track_path->Output->OnPass
Target->!self->ToggleAlternatePath
Although I think the OnPass output is triggered by NPCs nothing happens to the next NPC and they go on following the same path.
Any help is appreciated, and I am also open to alternative solutions as NPCs following track_paths are not realistic (in the sense that there is not enough variability) for what I want.
Thanks
Kaaino
I am trying to create a scenario where 10 or more human NPCs move in an urban scene as if they were common pedestrians. The paths should have some variability so that the scene is more realistic.
I have tried to set up few closed sequences of path_tracks and my npc_citizens successfully move around and repeat the tracks at the infinite. To add variability I have cross-linked some path_tracks altpath and triggering ToggleAlternatePath when an NPC triggers the OnPass so that the next NPC passing by will follow the altpath. This is done as follows:
track_path->Output->OnPass
Target->!self->ToggleAlternatePath
Although I think the OnPass output is triggered by NPCs nothing happens to the next NPC and they go on following the same path.
Any help is appreciated, and I am also open to alternative solutions as NPCs following track_paths are not realistic (in the sense that there is not enough variability) for what I want.
Thanks
Kaaino