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?
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#6
RE: Speed of a spinning wheel?

(04-02-2013, 09:01 AM)DeAngelo Wrote:
(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.

Seriously? It's that easy. Add a sticky area to the place where the cogs will be placed. When it's attached, de-activate the entity and activate the static prop. When it's turned to 540, test how many seconds and placement of it. Then test it out.
EDIT:
Make a script area at the place where the cog is in place, and script it so that when it's attached, it deactivates and the static prop activates.

"Veni, vidi, vici."
"I came, I saw, I conquered."
(This post was last modified: 04-02-2013, 09:06 AM by PutraenusAlivius.)
04-02-2013, 09:05 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 PutraenusAlivius - 04-02-2013, 09:05 AM
RE: Speed of a spinning wheel? - by DeAngelo - 04-02-2013, 10:37 AM



Users browsing this thread: 1 Guest(s)