Giant Elementals, A Crazy Idea that IS possible!

Discussion in 'WIP and Development Status' started by Splated, Apr 7, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    Nachoman44

    This impresses me, would love to see the code and how it's formed as this really interests me! Good job btw, love it <3
     
  2. Offline

    Splated

    NathanWolf likes this.
  3. Offline

    NathanWolf

    Congratulations! I may just have to add these to my server at some point.

    If you are interested, for the "spawn naturally" part, I would love to integrate with my new-ish MagicWorlds plugin. It's mainly a simple entity replacement spawn listener, for customized entity population. But it can also spawn my Autonoma in place of an entity, and it'd be easy to add Elementals to the mix. It gives you some pretty nice control over probabilities, y-heights, etc - though it's still in its very early stages the two plugins could probably grow up together. :)

    I would also need to make MagicWorlds not depend on Magic, probably, for you to want to use it ... or whatever, the spawn control stuff wasn't that hard you could just steal my code too...
     
  4. Offline

    Splated

    [​IMG]

    I'm having problems when i try to scale up the elementals
     
  5. Offline

    NathanWolf

    As in performance problems? I could definitely imagine- falling blocks are, in my experience one of the laggiest things you can mess with, both client and server side. Second only maybe to lighting updates :)
     
  6. Offline

    Splated

    its all stretched out looking i can't make the control points bigger, head, hands,torso, shoulder etc..

    The blocks always hang out in the center i can't get them to spread out.
     
  7. Offline

    NathanWolf

    Oooh, I see- well it still looks cool to me! You could add a "thickness" parameter for control points and spread the blocks out a random amount to make it look more filled in, maybe?
     
  8. Offline

    Splated

    Thats the problem I can't get them thicker, my current method works for about 20 sec then collapses.
     
  9. Offline

    Splated

    update: elementals now have an animation system and a few animations, the scale system works, mostly.
     
    NathanWolf likes this.
  10. Offline

    Splated



    new video !
     
  11. Offline

    Garris0n

    Needs more git and maven :p
     
    NathanWolf and xTigerRebornx like this.
  12. Offline

    epicfacecreeper

    Garris0n All Maven and Subversion. Not my shoice, but SVN is cool.
     
  13. Offline

    Garris0n

    Ew
     
  14. Offline

    Splated

    git kept messing up so i picked another.
     
  15. Offline

    DrEinsteinium

    Brilliant idea. I'm really liking the look of this. Please continue this project! I know it's in early beta, but some creative suggestions would be:

    - The elemental drops a chest of loot at their feet when they die
    - Fire elementals throw fireballs at you, much like blazes.
    - Boss health bar to see the elemental's health
    - Dragon crystals (or whatever they're called) connect to their wrists/hands and heal their health.
     
  16. Offline

    Splated


    Heres all you need to make a block fly.

    repeat every 5 ticks
    Code:java
    1. private boolean VectorCal(Entity flyingE, Location loc){
    2.  
    3. Vector start = flyingE.getVelocity();
    4. start.normalize().multiply(0.1);
    5.  
    6.  
    7. Vector Grav = loc.toVector().subtract(flyingE.getLocation().toVector());
    8. Grav.normalize().multiply(0.1);
    9. start.add(Grav);
    10.  
    11.  
    12. start.add(new Vector(0, 0.2, 0)); //Counteract gravity
    13.  
    14.  
    15. flyingE.setVelocity(start);
    16. }


    idea forums are up http://dev.bukkit.org/bukkit-plugins/splateds_elementals/forum/

    I definitely want some sort of reward I'm hopeing it will be a team effort to take one down.

    I plan to give each "type" there own special attack.
    Air - lighting.
    Fire - fire
    Dirt - ???
    Stone - earthquake?
    Tree - ???
    Water - ?poison?

    Not sure how to put in a Boss Bar code wise.

    I plan to have the elementals seek out blocks of there element then eat it to regain health.

    not sure how to make a "heal tube" code wise, but i want too.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 7, 2016
  17. When will a more recent version of this plugin be downloadable?
     
  18. Offline

    Splated

  19. Offline

    DrEinsteinium

    Splated
    Look at the Bar API in order to implement the boss health bar :)
     
    NathanWolf likes this.
  20. Offline

    Splated

    NathanWolf likes this.
  21. Offline

    epicfacecreeper

  22. Offline

    Splated


    Not if we do the AI from scratch. The idle wandering motion its doing right now is just my coded AI no mobs needed.

    i added a Boss Bar system but i hit one snag i can't fix

    AHHHHHHH reflection is to complex for my brain to handle!
     
  23. Offline

    1Rogue


    What's the snag?
     
  24. Offline

    Splated


    Just errors left an right and since I don't really understand what I'm doing with reflection no way to solve them.
     
  25. Offline

    DrEinsteinium

    Splated BarAPI is open source last time I checked. Obviously don't copy entirely, but try to learn from their reflection code :) Or you can even talk to the author about the problems and see if he has fixed them before you.
     
  26. Offline

    1Rogue


    You should post your code that you have issues with, that way others can explain.
     
    DrEinsteinium likes this.
  27. Offline

    Splated



    I just went with BarAPI its working but the remove bar part seems to be broken.

    [​IMG]

    tada!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 7, 2016
  28. Offline

    NathanWolf

    Sooo awesome! I would love to integrate with this plugin, or have this plugin integrate with mine- Elementals that cast Spells, perhaps? A Spell to summon an Elemental? Yes, please!

    I was just about to post this, but if you have time to look this over... do you think you'd be interested in adding either or both of those features?

    http://jenkins.elmakers.com/job/MagicAPI/doxygen/
     
  29. Offline

    epicfacecreeper

    NathanWolf That would be really cool. I'll probably make a spell to summon one once we have the AI set up.
     
    NathanWolf likes this.
Thread Status:
Not open for further replies.

Share This Page