Drofder's kryptonite

Have questions about CoD/UO mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

User avatar
Nightmare
Core Staff
Core Staff
Posts: 2688
Joined: January 12th, 2006, 10:09 pm
Contact:

Drofder's kryptonite

Post by Nightmare » August 22nd, 2006, 6:37 pm

Is it possible to make a script brushmodel rotate as it is orbiting around an origin?

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]

creator
CJ Worshipper
CJ Worshipper
Posts: 492
Joined: July 6th, 2006, 11:37 pm
Location: The Netherlands
Contact:

Post by creator » August 22nd, 2006, 7:22 pm

killersam: 1, drofder: 0 hehe
Cod 1 Mapper&Modder&Moddeler

Pedsdude
Site Admin
Site Admin
Posts: 15914
Joined: October 15th, 2004, 7:18 pm
Location: UK

Post by Pedsdude » August 22nd, 2006, 7:51 pm

Common sense :roll:
Image
Image

Luke
Past/Inactive Team Member
Past/Inactive Team Member
Posts: 1774
Joined: May 31st, 2005, 12:42 am
Location: Cornwall, UK

Post by Luke » August 22nd, 2006, 10:06 pm

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.

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Post by Drofder2004 » August 23rd, 2006, 1:44 am

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...
Image
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
Past/Inactive Team Member
Posts: 1774
Joined: May 31st, 2005, 12:42 am
Location: Cornwall, UK

Post by Luke » August 23rd, 2006, 2:27 am

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?

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Post by Drofder2004 » August 23rd, 2006, 2:45 am

Nope you cannot, therefore I am stumped.

Sorry.
Image
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

Pedsdude
Site Admin
Site Admin
Posts: 15914
Joined: October 15th, 2004, 7:18 pm
Location: UK

Post by Pedsdude » August 23rd, 2006, 1:57 pm

:o Cherish this moment folks! I might even rename the topic to "Drofder's kryptonite" and make it a sticky :P
Image
Image

User avatar
YaNo
CJ Worshipper
CJ Worshipper
Posts: 460
Joined: May 5th, 2005, 9:34 pm
Location: Azeroth
Contact:

Post by YaNo » August 23rd, 2006, 2:21 pm

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

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Post by Drofder2004 » August 23rd, 2006, 3:14 pm

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 ;)
Image
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

Pedsdude
Site Admin
Site Admin
Posts: 15914
Joined: October 15th, 2004, 7:18 pm
Location: UK

Post by Pedsdude » August 23rd, 2006, 3:27 pm

I didnt sticky it and rename it btw lol.
Image
Image

Luke
Past/Inactive Team Member
Past/Inactive Team Member
Posts: 1774
Joined: May 31st, 2005, 12:42 am
Location: Cornwall, UK

Post by Luke » August 24th, 2006, 3:55 pm

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

Luke
Past/Inactive Team Member
Past/Inactive Team Member
Posts: 1774
Joined: May 31st, 2005, 12:42 am
Location: Cornwall, UK

Post by Luke » August 24th, 2006, 5:35 pm

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?

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Post by Drofder2004 » August 24th, 2006, 6:20 pm

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.
Image
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
Past/Inactive Team Member
Posts: 1774
Joined: May 31st, 2005, 12:42 am
Location: Cornwall, UK

Post by Luke » August 24th, 2006, 6:28 pm

I know, thats what i did :?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest