Luke has it as part of jm_mallAll-Killer wrote:where can i see that escalator ? want to see it working
Conveyer Belt
Moderator: Core Staff
-
- Core Staff
- Posts: 13315
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
-
- Core Staff
- Posts: 13315
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Here you go...
A working conveyor belt... (map file and gsc)
To modify it is a lot of trial and error.
http://www.filefactory.com/file/a5cccf/
A working conveyor belt... (map file and gsc)
To modify it is a lot of trial and error.
http://www.filefactory.com/file/a5cccf/

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
-
- Core Staff
- Posts: 13315
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
First, the script gets an array of brushes (the belt)...Soviet wrote:you continue to amaze me drofder, could you give a simple explanation of how the script works?
Then the script sets all of those brushes to the start position (v. important they all start at same place).
Then the script starts moving the brushes 1-by-1 (there is a wait statement after each of the "brush move()" to stagger the process).
The move thread is pretty simple, again as I put in page 1, it uses a simple bit of Maths (loci)...
-Brush moves 120 units to the right...
-Brush rotates 180 degrees at the point of origin (define by the origin brush in each script_brushmodel)...
-Brush moves 120 units to the left...
-Brush rotates 180 (not -180) to return to its start position...
-Cycle continues.

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
-
- Core Staff
- Posts: 14220
- Joined: October 21st, 2004, 7:17 pm
- Location: Holland
- Contact:
Who is online
Users browsing this forum: Ahrefs [Bot] and 5 guests