I'm sure drof will have an answer.
Drofder's kryptonite
Moderator: Core Staff
-
Nightmare
- Core Staff

- Posts: 2688
- Joined: January 12th, 2006, 10:09 pm
- Contact:
Drofder's kryptonite
Is it possible to make a script brushmodel rotate as it is orbiting around an origin?
I'm sure drof will have an answer.
I'm sure drof will have an answer.
Last edited by Nightmare on August 23rd, 2006, 2:01 pm, edited 1 time in total.
Coding is Poetry. Mapping is Art.
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet
-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet
-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]
-
creator
- CJ Worshipper

- Posts: 492
- Joined: July 6th, 2006, 11:37 pm
- Location: The Netherlands
- Contact:
-
Drofder2004
- Core Staff

- Posts: 13315
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
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...
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...

Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
-
Drofder2004
- Core Staff

- Posts: 13315
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
-
YaNo
- CJ Worshipper

- Posts: 460
- Joined: May 5th, 2005, 9:34 pm
- Location: Azeroth
- Contact:
-
Drofder2004
- Core Staff

- Posts: 13315
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
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
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

Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
-
Luke
- Past/Inactive Team Member

- Posts: 1774
- Joined: May 31st, 2005, 12:42 am
- Location: Cornwall, UK
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
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
-
Drofder2004
- Core Staff

- Posts: 13315
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Check how i made my car.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?
It has an origin brush.
Hold CTRL+Shift and select the car, then move it, you will see a origin brush.

Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010



