Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Moving suroundings
Melvin Offline
Member

Posts: 245
Threads: 38
Joined: Jun 2012
Reputation: 5
#1
Moving suroundings

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!

[Image: 25F7U37.png]
10-20-2012, 03:35 AM
Website Find
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
#2
RE: Moving suroundings

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.

I rate it 3 memes.
10-20-2012, 03:48 AM
Find
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#3
RE: Moving suroundings

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 =]



(This post was last modified: 10-20-2012, 05:53 AM by Statyk.)
10-20-2012, 05:52 AM
Find




Users browsing this thread: 1 Guest(s)