Jump to content

Recommended Posts

Posted

Hey,

I would like to create my own energy framework like the mod BuildCraft does (EU transmitted by cables).

I already looked at the source code of the mod but it is really confusing.

Can someone help me understand of how it transmits the energy / how it works in general?

 

Thanks in advance!  :)

Posted

I feel I should point out that the EU via cables is Industrialcraft, not Buildcraft.

 

Annoyingly, IC2 is closed-source, so you wont be able to look at the source from that.

 

 

 

I also want to make an energy network. I don't want to use an existing one, because once mine is made I'm releasing the core files under a totally open license- so once it's made, anyone can use it in their own mods, totally free of restriction other than a credit to me. API's are great but this would give total freedom.

 

So if you do work anything out let me know ;)

width=463 height=200

http://s13.postimg.org/z9mlly2av/siglogo.png[/img]

My mods (Links coming soon)

Cities | Roads | Remula | SilvaniaMod | MoreStats

Posted
I also want to make an energy network. I don't want to use an existing one, because once mine is made I'm releasing the core files under a totally open license- so once it's made, anyone can use it in their own mods, totally free of restriction other than a credit to me. API's are great but this would give total freedom.

 

Sweet.

You might even think about making an Energy API.  Not like Universal Energy, but rather a core that other mod developers can take and use in order to create their own mods like IC2, etc. without having to make their own power network.  They just have to create blocks and implement IPowered or IGenerator (or whatever) and have it done for them.

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.

Posted

Making a Energy Framework... Hmm. I figured out what my next project is going to be! Don't be too expectant on me though, you should try to build one yourself.

 

After all, knowledge is gained through asking questions, and experience is gained through using knowledge, but also, experience is gained by doing, and knowledge is gained from experience.

 

Point of that is, there are many ways to learn. You just have to use them.

 

Have fun exploring and creating!

I am Mew. The Legendary Psychic. I behave oddly and am always playing practical jokes.

 

I have also found that I really love making extremely long and extremely but sometimes not so descriptive variables. Sort of like what I just did there xD

Posted

I also want to make an energy network. I don't want to use an existing one, because once mine is made I'm releasing the core files under a totally open license- so once it's made, anyone can use it in their own mods, totally free of restriction other than a credit to me. API's are great but this would give total freedom.

 

Sweet.

You might even think about making an Energy API.  Not like Universal Energy, but rather a core that other mod developers can take and use in order to create their own mods like IC2, etc. without having to make their own power network.  They just have to create blocks and implement IPowered or IGenerator (or whatever) and have it done for them.

 

That's exactly what I have planned. It'll literally just be a barebones energy system; no blocks included, and then distributed as source. Modders throw it into their project and can extend it and edit it, so they have their own energy name/values etc. But first I need to understand how to make one... :P

width=463 height=200

http://s13.postimg.org/z9mlly2av/siglogo.png[/img]

My mods (Links coming soon)

Cities | Roads | Remula | SilvaniaMod | MoreStats

Posted
But first I need to understand how to make one... :P

 

Of course.

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.

Posted

Well that doesnt really help me yet.

Should I transport "packets of energy" (say 100 EU at once) from cable-block to cable-block or just check with AStar wether the generator and some other machine are connected and go from there?

Posted

When it comes to stuff like this then you make it up and test it. Guess and check is the only way to go really...

I am Mew. The Legendary Psychic. I behave oddly and am always playing practical jokes.

 

I have also found that I really love making extremely long and extremely but sometimes not so descriptive variables. Sort of like what I just did there xD

Posted

Well that doesnt really help me yet.

Should I transport "packets of energy" (say 100 EU at once) from cable-block to cable-block or just check with AStar wether the generator and some other machine are connected and go from there?

 

If you do end up going with A* you might want to use Jump Point Search.  It'll prune illogical nodes from the search tree due to the fact that there are only so many tiles/blocks that it makes sense to search next based on the fact that the current tile is the shortest distance (that is, in order for the current tile to be part of the path, certain neighbors CANNOT be part of the path, because there's a faster way to get there).

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.

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.

Announcements



×
×
  • Create New...

Important Information

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