Jump to content

Recommended Posts

Posted

Hello everbody,

I am currently working on a new mod and it is going to have its own power system(just like buildcraft, ic2, ue). I have look at the code of many of the opensource mods that have there own power systems but i can't figure out how to set up a power system of my own. If anybody can point me to a tutorial, help me setup the basics of a power system, or show me code for a basic power system that i could base mine off of that would be very helpful. Please don't tell me to use an api because my type of power is very different from any other mods power. Thanks in advance.

Posted

Try to look how Redstone manages the instant power Transmission and then send Power Packages inatead of signal strengh.

PM's regarding modding questions should belong in the Modder Support sub-forum and won't be answered.

Posted

how are your skills in java (ill answer differently depending)

I am by far not an amateur but i am not an expert either. I am just bad at looking at a set of classes(like the ones in the opensource mods i look at) and from them being able to understand their power system and create my own off of theirs.

Posted

A power system should power things, right ?

Maybe you should think of something that needs this power, as a start.

Then how to calculate (add/remove/multiply powering ?), send (how it interacts, is it on contact,  or a power field ?) this power.

Basically, write down the properties of your power, like a physicist.

Then build the classes that should interact for this power.

Posted

Bump -  hydroflame

 

I would suggest you expand upon your answer about java knowledge.

Your answer was quite subjective, and hard to place on the scale.

 

What about this:

 

What is the biggest project you have completed in java?

do you have any formal education? taken any courses etc.?

The difference between passing by ref and by value?

Do you understand abstraction, recursion, inheritance and polymorphism?

 

If you guys dont get it.. then well ya.. try harder...

Posted

 

I would suggest you expand upon your answer about java knowledge.

Your answer was quite subjective, and hard to place on the scale.

 

What about this:

 

What is the biggest project you have completed in java?

do you have any formal education? taken any courses etc.?

The difference between passing by ref and by value?

Do you understand abstraction, recursion, inheritance and polymorphism?

 

 

some simple games and minecraft mods: http://www.minecraftforum.net/topic/1793246-discontinued-due-to-hard-drive-failure-dual-tools-mod-version-15-for-minecraft-152/

 

no all self taught

 

no

 

a little of it but not much

  • 3 weeks later...
Posted

I'd like to see this get answered because I want to make a Tech Mod also with a power system

 

There are two other threads about this which have been active during the last week, and you choose to bump this one?

The other ones have good answers too ;)

 

courses.vswe.se  <-- Make sure you know the basics before starting on this path

NB: The courses go from basics to advance rather quickly ending with custom model animation and advance guis.

If you guys dont get it.. then well ya.. try harder...

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.