Posts by zfoxfire

    I think that's my programming mantra. "It's possible and I know what steps are involved but I don't wanna spend the time!" :D

    Shouldn't be too hard to adjust for terrain height. The surface height at the vehicle's coordinates should already be known. Read in the length of the vehicle and sample the height at the front and back block location of the vehicle and use that to set the height and slope of the vehicle model.


    Takes a bit of trig programming no doubt.

    What do we use for fuel? Last I checked, there is no gas in Rising World and cars do not run on coal or lumber.
    Now a steam-powered car or train would be very doable! :-D

    I'm thinking that in the future it would be nice to register something like this as a creative tool and insert it into creative mode. Instead of pressing an F key to select a tool, you click on one of many vanilla or 3rd party tool icons. Right now, this tool could be used by anyone on the server I'm assuming. It should be registerable as a creative tool so it could be limited by whoever has permissions to enter creative mode.

    Good idea. Actually the plugin API is in the game folder (in data/jiw/plugin-api.jar), just the javadoc is missing. Guess we will add it with the next update (or maybe put it into a separate folder in the game directory, we'll see) ;)


    Thanks! I'll update my IDE accordingly :)

    this should be bundled in the Rising World game download so we can reference the latest released version as its updated. Then we can simply point our IDE to the library and javadoc and not have to worry about downloading jars.

    nvm... i looked at the GPS plugin Miwarre just posted and figured out my problem. the main line in the yaml file has to point to the class file itself, not just the jar.

    I got the same error in game where the class could not be found






    Code
    name: atm
    main: net.zorkfoxden.risingworld.plugin.atm
    version: 1.0.0
    author: zfoxfire
    team: Java Foxes
    description: spawns an atm infront of you
    license: gpl
    website: http://zork-foxden.net


    I found the solution to class not found when attempting to build. As you can see, in the project properties, just specify your main class which is atm.java.



    Now its not yet building a jar file however.