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
Speed of a spinning wheel?
DeAngelo Offline
Senior Member

Posts: 263
Threads: 26
Joined: Feb 2013
Reputation: 11
#5
RE: Speed of a spinning wheel?

(04-02-2013, 08:55 AM)JustAnotherPlayer Wrote:
(04-02-2013, 08:51 AM)DeAngelo Wrote:
(04-02-2013, 08:45 AM)JustAnotherPlayer Wrote: What you're saying is that when you enter a script area, the wheel will turn 540 degrees?

Yes, this is what I'm trying to do. If by "The way it did in the vanilla game" you mean the whole "clicking on the wheel and spinning your mouse" stuff, that's not what I'm going for (I actually don't want to let the player even interact with the wheel.)
What i meant is that the wheel moves automatically and the player won't be able to interact with it. As you can see in the Machine Room level, the cogs move automatically, never stops and cannot be interacted.

Yeah, something like that. I was looking at the Water Wheel script in the sewer level and they're using RotatePropToSpeed But I gotta make it only do it 540 degrees instead of continuous.

maybe instead of having it be a wheel, I can make it a static prop, user the rotateproptospeed thing then use a very rigidly timed timer to stop the rotation when it gets to 540.

Only problem is the object is supposed to be inactive until at first and I can't do that with static props. Perhaps I can make a script area right where the prop should be then use the "create prop" script to make it appear then make it spin. I'll mess with all this and see what I can get going.

A Late Night Drink http://www.moddb.com/mods/a-late-night-drink
Check out my LP channel, CatBearGaming, I take all Custom Story requests!
04-02-2013, 09:01 AM
Find


Messages In This Thread
Speed of a spinning wheel? - by DeAngelo - 04-02-2013, 08:42 AM
RE: Speed of a spinning wheel? - by DeAngelo - 04-02-2013, 08:51 AM
RE: Speed of a spinning wheel? - by DeAngelo - 04-02-2013, 09:01 AM
RE: Speed of a spinning wheel? - by DeAngelo - 04-02-2013, 10:37 AM



Users browsing this thread: 1 Guest(s)