Page 1 of 4

Drofder's kryptonite

Posted: August 22nd, 2006, 6:37 pm
by Nightmare
Is it possible to make a script brushmodel rotate as it is orbiting around an origin?

I'm sure drof will have an answer. :)

Posted: August 22nd, 2006, 7:22 pm
by creator
killersam: 1, drofder: 0 hehe

Posted: August 22nd, 2006, 7:51 pm
by Pedsdude
Common sense :roll:

Posted: August 22nd, 2006, 10:06 pm
by Luke
Its more complicated than that, its a ferris wheel i made for him. we can make the seats go round with the wheel easy, but making them go round and staying level is what we need to find out.

Posted: August 23rd, 2006, 1:44 am
by Drofder2004
So basically you want to have 1 thing spinning. (The big wheel)
And the carriages always staying the right way around.

Interesting...

My only idea is to run 1 thread to rotate the entire wheel, including the carriages, and then run another thread that sets the angles of the carriages to stay the same...

I will make a quick tester now and see if it works...

Posted: August 23rd, 2006, 2:27 am
by Luke
Yea, might be a challenge for you lol

I tried using the linkto command for the chair to the wheel but you can't change the movement of something while its linked to another can you?

Posted: August 23rd, 2006, 2:45 am
by Drofder2004
Nope you cannot, therefore I am stumped.

Sorry.

Posted: August 23rd, 2006, 1:57 pm
by Pedsdude
:o Cherish this moment folks! I might even rename the topic to "Drofder's kryptonite" and make it a sticky :P

Posted: August 23rd, 2006, 2:21 pm
by YaNo
Pedsdude wrote::o Cherish this moment folks! I might even rename the topic to "Drofder's kryptonite" and make it a sticky :P
lol you mean it =P now its renamed :D

Posted: August 23rd, 2006, 3:14 pm
by Drofder2004
Nope I solved the problem and at the other end leveller also used a different method.
My method although doesnt look to bad does not allow the player to stand on it 9you willget stuck and fall through it)....

Leveller used "moveto" commands, which although isnt the smoothest of actions does the job. The more moveto actions that are added the smoother the action will be.

So, topic unstickied and problem solved ;)

Posted: August 23rd, 2006, 3:27 pm
by Pedsdude
I didnt sticky it and rename it btw lol.

Posted: August 24th, 2006, 3:55 pm
by Luke
To make your way usable drofder could you link the player to the car? if so can you explain how please.

Edit: nvm i did it, just had a typo in my script..the player links to it, you cant move but you can look around, which is ok :) having some trouble applying your script to my map tho :s will keep trying and post back if i'm still having trouble

Posted: August 24th, 2006, 5:35 pm
by Luke
The car won't link to the bar, I tried using exactly the same script as you, but my car goes off the other side of the map. Any ideas?

Posted: August 24th, 2006, 6:20 pm
by Drofder2004
Luke wrote:The car won't link to the bar, I tried using exactly the same script as you, but my car goes off the other side of the map. Any ideas?
Check how i made my car.

It has an origin brush.

Hold CTRL+Shift and select the car, then move it, you will see a origin brush.

Posted: August 24th, 2006, 6:28 pm
by Luke
I know, thats what i did :?