NPC Security Camera Project

Discussion in 'Plugin Development' started by brdimattia, Nov 24, 2012.

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

    brdimattia

    Im working on an NPC Security camera project that will make the panning vision of the unbreakable NPC visible on the server Computer.It will also shoot arrows. I need some help with this because it is my first plugin, though i do have some java knowledge.
    Help Me Out?
     
  2. Offline

    Tzeentchful

    Sounds like a complex idea for a first plugin. I would try starting a bit simpler. You might want to go to the resource section and have a look the the tutorials in there.
     
  3. Offline

    brdimattia

    im pretty well oriented in java, i just need some help with the chunks of code and methods to export the view. Im up for the chalenge. Thanks!
     
  4. Offline

    md_5

    Umm. You would have to render the entire world yourself... Are you sure you are up for writing an entire renderer? Thats something --no one-- on these forums can do. And you haven't even written 1 plugin.
     
  5. I say good for him :)... Good luck and holy you achieve the impossible.... And if you do it... The I want you on my team :p
     
    CeramicTitan likes this.
  6. Offline

    brdimattia

    I will be looking into that as an option, but for now I see what your saying as few servers can handle the world render and I may be able to view the cam from in game. I'll keep looking into the render. If I just create an npc with a pivoting head and view the world from its perspective would that work?
     
  7. Offline

    md_5

    How do you plan to view the world from the NPC's perspective?
    You need to actually make the world from the NPC's perspective. Which entails writing an entire Minecraft render from scratch.
     
  8. Offline

    ZeusAllMighty11

    He doesn't understand that. He thinks you can like make an attachable camera item and place it on an NPC and see exactly as the NPC sees like it's magic... hah.
     
  9. Offline

    brdimattia

    Untrue, i think that while it would be nice to make a NPC see, its unlikely and will lag. but my idea is to se a view from a coordinate system, much like a third person view.

    would i be able to use the source code for this mod to help?
    http://www.minecraftmine.org/cctv-mod/

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 30, 2016
  10. Offline

    Codex Arcanum

    Not really. This really isn't practical with Bukkit rather than single-player modding.
     
  11. Offline

    brdimattia

    It has a render class among others that may help.
     
  12. Offline

    repsor

    Do you understand the difference between a bukkit plugin and a mod?
     
  13. Offline

    brdimattia

    I do, I'm trying to make a server side version of the mod
     
  14. Offline

    repsor

    I recommend that, however you've learned java already, you first get some practice with making bukkit plugins. Anyway, this may be helpfull: http://dev.bukkit.org/server-mods/spectate/
     
  15. Offline

    brdimattia

    Thanks Ill look into that
     
Thread Status:
Not open for further replies.

Share This Page