Jump to content




Frame Elevator movement is slow


  • You cannot reply to this topic
2 replies to this topic

#1 Xixili

  • Members
  • 65 posts
  • LocationChina

Posted 16 December 2013 - 04:35 PM

Hello guys,

Im using a script that controls the motor to move the cabin up and down (elevator)

When I boot the elevator it does a testrun and that testrun goes fine at the speed I want
(redstone on (0.2)
(redstone off (0.6)
Something like that so the cabin moves faster.

But in operational mode it goes slow like 1 step every second (1 pulse every second)

Somehow I cant find the problem in the script that makes it go faster.

code:
http://pastebin.com/uYXFLXXx

#2 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 16 December 2013 - 05:09 PM

Your test functions use 0.2/0.2, your movement functions use 0.2/0.6. Your movement loop uses an extra 0.8 in either direction (line 494).

#3 Xixili

  • Members
  • 65 posts
  • LocationChina

Posted 16 December 2013 - 05:22 PM

View PostLyqyd, on 16 December 2013 - 05:09 PM, said:

Your test functions use 0.2/0.2, your movement functions use 0.2/0.6. Your movement loop uses an extra 0.8 in either direction (line 494).
I was blind.
That did the trick.

Thank you





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users