Can someone give a script to make some thing: | spin like a drill digging in the ground? One that dosnt stop and one that works on a switch?
Can someone give a script to make some thing: --- spin like the drive shaft of a car? One that dosnt stop and one that works on a switch?
For each of these please include Key: and Value: properties in this format...
_______________________________________________
(script for Drill type w/o switch)
Key:****
Value:****
Script
Description or hint for script line
_______________________________________________
(script for Drill type w/ switch)
Key:****
Value:****
Script
Description or hint for script line
_______________________________________________
(script for Drive type w/o switch)
Key:****
Value:****
Script
Description or hint for script line
_______________________________________________
(script for Drive type w/ switch)
Key:****
Value:****
Script
Description or hint for script line
Scripts for Rotating vertical, rotating horizontal
Moderator: Moderators
- HDL_CinC_Dragon
- Brigadier General
- Posts: 574
- Joined: Mon Dec 22, 2003 8:32 pm
no code, but some ideas for it...
you'll need it to spin (probably rotatex or rotatey) and go up and down at the same time. (dunno that one) so you'll need some hefty trial and error before you can get it to spin and up and down at the same time. i suggest making it another script file and exec'ing it. use global.
blue? was that you who said 'i don't script'?
you'll need it to spin (probably rotatex or rotatey) and go up and down at the same time. (dunno that one) so you'll need some hefty trial and error before you can get it to spin and up and down at the same time. i suggest making it another script file and exec'ing it. use global.
blue? was that you who said 'i don't script'?
Moderator
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
lol, i could name one guy who could pull it off but he's working on bots and who knows how much other stuff right now.
well, you could try making stuff simple and have two waypoints (or more) vertical each other and rotate the drill. so..
$drill moveto waypoint1
waittil movedone
$drill moveto waypoint2
with a while loop going on in the background, i suppose the best way to do that would be to make a separate script for that. like
exec global/script.scr
and that keeps it going throughout the whole map.
whew, hope this helps.
gods it's 3:00 am...
well, you could try making stuff simple and have two waypoints (or more) vertical each other and rotate the drill. so..
$drill moveto waypoint1
waittil movedone
$drill moveto waypoint2
with a while loop going on in the background, i suppose the best way to do that would be to make a separate script for that. like
exec global/script.scr
and that keeps it going throughout the whole map.
whew, hope this helps.
gods it's 3:00 am...
Moderator
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
(script for Drill type w/o switch)
Key: rotateY
Value: 150
(script for Drive type w/o switch)
Key: rotateX // or rotateZ
Value: 50
Value numbers set the speed of rotation. Nothing needs to be in the script but, if you want to do it there, just do this.
$my_drill rotateY 150 // to start it
$my_drill move
$my_drill rotateY 0 // to stop it
$my_drill move
I'm not sure if the "move" lines are really needed.
Key: rotateY
Value: 150
(script for Drive type w/o switch)
Key: rotateX // or rotateZ
Value: 50
Value numbers set the speed of rotation. Nothing needs to be in the script but, if you want to do it there, just do this.
$my_drill rotateY 150 // to start it
$my_drill move
$my_drill rotateY 0 // to stop it
$my_drill move
I'm not sure if the "move" lines are really needed.
- HDL_CinC_Dragon
- Brigadier General
- Posts: 574
- Joined: Mon Dec 22, 2003 8:32 pm
lol, when I said "drill" I didnt ACTAULLY mean a drill, i just meant It want a vertical pole to spin basically
and same with the "drive shaft" one, i just want a horizontal pole to spin. Sorry i wasnt clear enough but i couldnt find the right words to describe it at the time
.
Tom:
Are you saying that all i need is to select it, and put:
Key:Rotate (x,y,z)
Value: 150
This will make it keep spinning right? and not stop?
Tom:
Are you saying that all i need is to select it, and put:
Key:Rotate (x,y,z)
Value: 150
This will make it keep spinning right? and not stop?




