Jump to content

Converting power from RF to mod power system


darthvader45

Recommended Posts

I've been looking at Ri5ux's AVP mod for some time, and noticed he is working on R2P (Redstone to Powerline) and P2R (Powerline to Redstone) converters for some time now.  He intends to make it possible to convert power from his mod to RF, and I would like to help in that regard.  How would I go about making a block that converts power from his mod's power system to Redstone Flux?

Link to comment
Share on other sites

Step 0: Know Java

Step 1: Know how to mod

Step 2: Get the RF and AVP apis

Step 3: Convert!

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

Alternatively if his mod is open source, you can write the block into his mod as a pull request.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

Alternatively if his mod is open source, you can write the block into his mod as a pull request.

 

What methods would be necessary to convert RF into his mod's power unit?  I'm not exactly sure, as this is a new area for me, so a couple examples would be nice.  From what I've seen in his mod, it registers the power as V, which I assume stands for volts.

Link to comment
Share on other sites

You'll have to look for some sort of equivalence.  I.e. both mods convert charcoal to power via a generator, then the output values of those two generators are "roughly equal."  And that's your conversion ratio.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

You'll have to look for some sort of equivalence.  I.e. both mods convert charcoal to power via a generator, then the output values of those two generators are "roughly equal."  And that's your conversion ratio.

 

The AVP mod currently uses two different power generators, a repulsion generator that outputs 219 volts, and a solar panel that outputs 119 volts.  The power lines themselves have a .1 volt per block dropoff.  This mod does not have an API atm.  That may be why it hasn't progressed far enough to have an energy conversion system.

Link to comment
Share on other sites

Ok, solar panel.  Look to see what RF solar panels generate.  There's your equivalence.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

He can still mod for 1.7.10 (although not recommended), but if he runs into problems, he isn't going to get help here.

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Link to comment
Share on other sites

So there's not a single place where one could get help with 1.7.10 modding?  Sucks.

 

Actually you already got help here and it isn't specific to 1.7.10. And you said you already know Java. So there shouldn't be any problem.

 

All we're saying is that you need to take the mod that doesn't have an API and make an API that does the same thing as the other API you have. Then you can work with both systems in the same way. So take the RF API and make a list and then figure out how you would do the same thing with the other power system code. That's it.

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

Link to comment
Share on other sites

Ah. Yeah if you wanna convert from RF to your mod you need to implement it yourself using that API and your brain :D

Disclaimer:  I been told to keep my opinions to myself, to shut up and that I am spreading lies and misinformation or even that my methods are unorthodox and or too irregular. Here are my suggestions take it or leave it.

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.