Frictional Games Forum (read-only)

Full Version: Moving suroundings
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can I make my surrounding move while I stand still? (while riding a train and looking out of the window.)

Is it even possible?

thanks!
You can try something similar to the way the elevator event was done in the original game; make a model (in your case, an outdoor environment) then move the model using the following function:

void SetMoveObjectStateExt(string& asName, float afState, float afAcc, float afMaxSpeed, float afSlowdownDist, bool abResetSpeed);


Hope that helped.
Agreed. For one of my WIP mods, I made an infinite looping hallway menu. I simply modeled a long hallway, split it in half, applied a bone to each, and basically pushed them in one direction. When one was completely behind the player's view, it wrapped underneath and placed cleverly behind the other. The loop was made seamless within 200 Maya frames, thankfully =]