Jump to content




OCS controlled carts


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

#1 jewelshisen

  • Members
  • 164 posts

Posted 13 March 2013 - 06:15 AM

I'm needing a bit of help making a program. I'm wanting to use this to combine Railcraft, CC, OCS, and WR-CBE.

My idea is fairly simple. Have MFSU carts from Railcraft running from my nuclear power plant to my various bases to deliver power.
I want to have CC and OCS watching my MFSUs so that they cut off the supply after the box charges to a certain level. To do this I would have WR-CBE to let the computer trigger the holding rails to send the energy cart along.

My issue is this: How do I pull the storedPercentage value from the OCS sensor?

#2 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 13 March 2013 - 06:18 AM

What values does it give you for the cart? Hopefully Stored and Capacity, like a regular MFSU. You'd then be able to figure the percentage from those.

#3 jewelshisen

  • Members
  • 164 posts

Posted 13 March 2013 - 06:19 AM

View PostLyqyd, on 13 March 2013 - 06:18 AM, said:

What values does it give you for the cart? Hopefully Stored and Capacity, like a regular MFSU. You'd then be able to figure the percentage from those.

Not scanning the carts. Scanning the normal MFSU that the carts will empty into. Sorry about the confusion.

#4 jewelshisen

  • Members
  • 164 posts

Posted 13 March 2013 - 07:05 AM

Solved it.





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users