[COMPLETED] Custom NPC Skins. By: Crash

Discussion in 'Archived: Plugin Requests' started by 25CentStudios, Aug 16, 2011.

  1. Offline

    Crash

    Ok I updated it and this should fix your problem.
     
  2. Offline

    undeadmach1ne

    it still says 'is not an integer' and that only 1 npc is skinned (my test one, which is a normal npc with a uid, works fine). when my evil twin spawns he is not skinned. thanks for trying to get this working though :)
     
  3. Offline

    Crash

    I had to look through their code but I get it now. The creature npcs don't spawn at the start they get spawned based on some delay. I can't skin an NPC if it's not in the world.
     
  4. Offline

    undeadmach1ne

    damn. well thanks for taking the time to look into it. your effort is much appreciated <3 and the plugin is also very appreciated as it works as intended and will let me at least skin the normal npcs how i want. awesome work :)
     
  5. Offline

    Crash

    I think there's a way to skin evil NPCs I'm going to test it out I'll post back if it works or not. (Also I'll be adding capes)
     
  6. Offline

    undeadmach1ne

    :)
     
  7. Offline

    scrollsmash

    This is superb! 10/10 [diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond]
    Now if I can just find a way to restrict the evil NPC's to spawning in certain areas... ;)
     
  8. Offline

    Crash

    Aha! I finally fixed the creature npc skinning problem and added on capes.
    See if it works for you now.

    The config has changed to :
    Code:
    creature:
      'name':
        skin: http://
        cape: http://
      'othercreature':
        skin: http://
        cape: http://
    npc:
      'uid/name':
        skin: http://
        cape: http://
      'anothernpc':
        skin: http://
        cape: http://
    
     
  9. Offline

    undeadmach1ne

    i cant get it to work. if i have a space between 'skin:' and the url it throws a yml error. if i take that out it loads fine and says ' [INFO] [NPCSkin] Skinned 1 NPCs successfully.' but my npc and the evil mobs still dont have skins. im using the same dropbox url that worked before. i have tried the npcs uid and his name and no luck either way so far.

    rb 1060, spout server 134 and client 165.
     
  10. Offline

    Crash

    Post the config you're using.
    (the one with the error)
     
  11. Offline

    undeadmach1ne

    ok i must have sone something else wrong with it. i have been trying to get it to work/remade the config from scratch a few times and its not throwing up the yml error any more, but when i have a space between skin: and url it says
    Code:
    [NPCSkin] 0 does not have a URL for the cape or skin!
    [NPCSkin] Skinned 0 NPCs successfully.
    if i take out the space it says that it loaded 1 properly. still cant get it to display the skins or capes though. here is my config (without the full links to the files).

    Code:
    creature:
      'EVIL_undead':
        skin:http://dl.dropbox.com/u/215/mc_skins/EVIL_undeadmach1ne.png
        cape:http://dl.dropbox.com/u/215/mc_skins/cape.png
    npc:
      '0':
        skin:http://dl.dropbox.com/u/215/mc_skins/EVIL_undeadmach1ne.png
        cape:http://dl.dropbox.com/u/215/mc_skins/cape.png
    edit - can anyone re-post a link to the first version?
     
  12. Offline

    Crash

    EDIT : Actually that failed for me for some reason I must have screwed up the config loading somehow I'll fix it soon.
     
  13. Offline

    25CentStudios

    got the same error ^^^^
     
  14. Offline

    undeadmach1ne

    ok. im glad it wasnt me being a noob :) if there is anything i can do to help just let me know. thanks again for trying so hard to get this working...you are a hero imo.
     
  15. Offline

    Crash

    Heh, sorry guys I got the check for no skin/cape backwards so it would say you had no skin when you had one and vice-versa. Make sure to have a space between the : and the url
     
  16. Offline

    undeadmach1ne

    wow it works absolutely perfect now! i am pretty much hysterical at this point lol...its so awesome. bricks will be shat when red eyed/evil twins of my players show up :) its gonna be awesome. you are a champion Crash. thanks! <3
     
  17. Offline

    Crash

    I take it that the creatures are actually skinned?
     
  18. Offline

    undeadmach1ne

    yeah it works perfectly :) i couldnt be happier. i have only tried it with one evil and one regular npc but i cant imagine setting up more than one breaking it. capes worked also. looks like i have a night of drawing skins/capes ahead of me now :) thanks so much...
     
  19. Offline

    25CentStudios

    Does this require spout craft? The launcher? It said 1 successfully skinned, but it was Steve, for an example, I used undeadmachines skin in the configuration he posted, and it was Steve.
     
  20. Offline

    Crash

    Yeah you need Spout client mod or else you can't see skins / capes
     
  21. Offline

    25CentStudios

    Ok, thank you!
     
  22. Offline

    undeadmach1ne

    those links are not valid either...check out a site like mcskinsearch...they have direct links to their png's and a vast selection...
     
  23. Offline

    25CentStudios

  24. Offline

    undeadmach1ne

    lol yeah i tried to specify that in the post that i showed my cfg...it was just a temp setup so i didnt want to have ppl using the skins then suddenly have it stop working. sorry for the confusion.

    on another note, why isnt this an official release yet? imo it kicks the ass of the other npc skinning plugin and should be more widely known.
     
  25. Offline

    25CentStudios

    I know. And dont be sorry, it was I who was stupid enough to fall for it :p
     
  26. Offline

    Ethneldryt

  27. Offline

    Madness

    Holy shit, a bazillion props.
     
  28. Offline

    undeadmach1ne

  29. Offline

    Safetybrick

    i get this when i load it:

    Code:
    2011-10-15 13:48:58 [SEVERE] Could not load 'plugins/NPCSkin.jar' in folder 'plugins': Citizens
    org.bukkit.plugin.UnknownDependencyException: Citizens
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:135)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:215)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:136)
        at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:112)
        at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:136)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    bukkit RB 1317, citizens 1.1.2 and RB spout. any thoughts on whats going on?
     
  30. Offline

    undeadmach1ne

    thats odd. its built against 1317, but i am running 1318 on my test server. maybe try that...the error is "Thrown when attempting to load an invalid Plugin file" according to the javadoc so im thinking its a problem with the depend system (which is apparently broken right now). that seems strange though cause it works fine for me. let me know what happens if you try a newer build of craftbukkit and ill keep looking into this.

    anyone else tried it yet? can someone verify that it worked/didnt work for them?
     

Share This Page