Sign in to follow this  
Warlander

New House Calculator

Recommended Posts

The best I can do for you is renders looking from straight above the fences (Thank you Autodesk Softimage)

These are close to the correct in game colouring.

The only Issues is that "Stone and Iron parapets" looks about the same as "iron fences" and a low stone wall looks weird.

Walls are thicker than parapets so I would suggest walls are half on each tile and parapets is inside the tile.

Wooden Fence

Woodenfence_zps198b406a.png

Crude wooden

Crudewoodenfence_zps1aa84e5a.png

Wooden Parapet

WoodenParapet_zpsf6166be9.png

Low stone wall / Small stone wall

Lowstonewall_zps951e75ba.png

Tall stone wall

Tallstonewall_zps3997ed40.png

Iron Fence

Ironfence_zps96718e1a.png

Stone and Iron Parapet

StoneandIronparpet_zps17cf4ad5.png

Hope they help

  • Like 2

Share this post


Link to post
Share on other sites

It would be amazing if you could add basic furniture like forges and bsbs.

  • Like 1

Share this post


Link to post
Share on other sites

Few words about future of this program:

The highest priority task is adding pastebin.com support - Java restrictions on applets are really strict, copy/paste options cannot work, so I must make bypass ASAP (save/load and even exceptions reporter features are almost useless without copy/paste). When this will be done, I am going to add parapets, fences and arches/windows (thank you axeblade!) and borders selection. After that, I will try to add:

-"house toolkit" aka quick access bar

-undo and redo button

-furniture placement

-labels placement

-improve house calculation algorithm

-more display modes (new tile sizes and option to use colors instead of textures)

-option to choose any size of applet, not only few predefined ones

Edit: Pastebin.com support is added.

Edited by Warlander

Share this post


Link to post
Share on other sites

When i resize the y does not work right for me from 27 to 37 before and after it works fine. note: i have only tested from 26-38 to see were it starts and stops there might be more that don't work as well..idk (Edit: JNLP version)

Edited by Kegan

Share this post


Link to post
Share on other sites

Do you mean "disappear" of scrollbar?

Edit: I see the problem, I will try to fix it ASAP. This bug seems to be resolution-based.

Edit2: Fixed.

Edited by Warlander

Share this post


Link to post
Share on other sites

When I load a map from a data save it starts at the default size anyway you can get it to remember and do the resize from the save data too?

Edited by Kegan

Share this post


Link to post
Share on other sites

Nice tool, I look forward to seeing more of this in the future :)

Share this post


Link to post
Share on other sites

I can't seem to get it to run. None of the versions. Is my java out of date or something?


java.lang.UnsupportedClassVersionerror: Program/Tools/Calc : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.defineClassHelper(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.access$100(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception: java.lang.UnsupportedClassVersionerror: Program/Tools/Calc : Unsupported major.minor version 51.0

Share this post


Link to post
Share on other sites

i tried today its won't work - its very puzzling that its should work


Java Plug-in 10.13.2.20
Using JRE version 1.7.0_13-b20 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\pre installed user
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------
Match: beginTraversal
Match: digest selected JREDesc: JREDesc[version 1.7+, heap=-1--1, args=-Djava.security.policy=applet.policy, href=null, sel=false, null, null], JREInfo: JREInfo for index 0:
platform is: 1.7
product is: 1.7.0_13
location is: http://java.sun.com/products/autodl/j2se
path is: C:\Program Files\Java\jre7\bin\javaw.exe
args is: null
native platform is: Windows, x86 [ x86, 32bit ]
JavaFX runtime is: JavaFX 2.2.5 found at C:\Program Files\Java\jre7\
enabled is: true
registered is: true
system is: true
Match: ignoring maxHeap: -1
Match: ignoring InitHeap: -1
Match: digesting vmargs: -Djava.security.policy=applet.policy
Match: digested vmargs: [JVMParameters: isSecure: false, args: -Djava.security.policy=applet.policy]
Match: JVM args after accumulation: [JVMParameters: isSecure: false, args: -Djava.security.policy=applet.policy]
Match: digest LaunchDesc: https://dl.dropbox.com/u/67758055/Wurm/HouseCalc/launchCalc.jnlp
Match: digest properties: []
Match: JVM args: [JVMParameters: isSecure: false, args: -Djava.security.policy=applet.policy]
Match: endTraversal ..
Match: JVM args final: -Djava.security.policy=applet.policy
Match: Running JREInfo Version match: 1.7.0.13 == 1.7.0.13
Match: Running JVM args match the secure subset: have:<> satisfy want:<-Djava.security.policy=applet.policy>

Share this post


Link to post
Share on other sites

Everything is working for me (JRE 7 update 15). This may be just matter of outdated Java, but for sure I have signed program again.

Share this post


Link to post
Share on other sites

Just a thought.. You might want to add a calculation to show what skill level is required to build this home. Or even allow a person to set their skill as a variable that limits the amount of tiles in the plan. Great work though.

FYI, I was able to run the program just fine after updating to the latest java.

Share this post


Link to post
Share on other sites

Calculation of needed skill is already included, just click "calculate" button.

Edit: Windows are added. How do you like them? Are these different enough from doors?

Edited by Warlander
  • Like 2

Share this post


Link to post
Share on other sites

its needs double doors and also stairs?

Stairs aren't functional in the game yet so the openings are the ones used right now.

Could you possibly add the masonry/paving/thatching/etc. skill requirement for the different floor/roof types?

Share this post


Link to post
Share on other sites

I planned a one story house, and it kept adding 1 carp skill for every stone house wall i place on an already planned house tile. So it's seemingly inflating the skill I need to build a house. I haven't gotten as far as to plan a multistory on it due to this. I realized what's going on, working fine.

Edited by Nomadikhan

Share this post


Link to post
Share on other sites

Calculation of needed skill is already included, just click "calculate" button.

How about the other required skill levels? There are certain paving/masonry levels required for various building actions as well.

Share this post


Link to post
Share on other sites

How about the other required skill levels? There are certain paving/masonry levels required for various building actions as well.

I think that the task of this program is calculating needed materials and carpentry for the structure, you can always check the skill requirements in wiki. ;)

Is there any web admin who would like to help? I have written PHP script for resizable applet window and now want to publish it, so I need literally few kb on PHP-compatible website.

Share this post


Link to post
Share on other sites

I think that the task of this program is calculating needed materials and carpentry for the structure, you can always check the skill requirements in wiki. ;)

Is there any web admin who would like to help? I have written PHP script for resizable applet window and now want to publish it, so I need literally few kb on PHP-compatible website.


/>http://www.000webhost.com/features is worth looking into,

  • Like 1

Share this post


Link to post
Share on other sites

Big optimalization changes - now program should work about 5-6 times faster than before. I have tried to move the whole "mapper" frame from software (Java2d) to hardware (LWJGL) rendering, but is seems that Swing used to display interface really hates LWJGL and I would have to move the whole program to LWJGL to make everything work correctly.

Now I will focus on previously planned and written down features. ;)

Share this post


Link to post
Share on other sites

Any chance you can add the rest of the Wall & Fences?

Also Stone Slab floor is missing...

Edited by bigsteve

Share this post


Link to post
Share on other sites

I'm currently porting the whole program from Java2d to LWJGL. Here are the (very early) results (from oldest to latest):

qito.jpg

czor.jpg

buyb.jpg

bamu.jpg

First beta will be available in about 2-3 weeks. ;)

Edited by Warlander
  • Like 6

Share this post


Link to post
Share on other sites

Nice i have wasted so many materials from not liking the look and making changes to buildings. I hope you can get the roof part in there to that is the hardest thing for me to get the look i like.

Share this post


Link to post
Share on other sites

I can not get the JNLP version to work today i just get a white screen when i load it up.

Edit: I left it running in the background and when i switched back the screen had changed to black but it is still not working.

Edit 2: Well went back after posting the last edit and it seems to have loaded must just be my ips being slow today guess everything is fine.

Edited by Kegan

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this