User Tag List

Page 1 of 4 1 2 3 4 LastLast
Results 1 to 7 of 28

Thread: Dress NPCs coremod

  1. #1
    Moderator / Eluna Dev <span style='color: #FF0000'><span class='glow_8B0000'>Rochet2</span></span>'s Avatar
    Join Date
    Apr 2013
    Location
    Finland
    Posts
    1,859
    XP
    13,487
    Level
    35
    Thanks
    95
    Thanked 591 Times in 418 Posts

    Dress NPCs coremod

    Hello.
    Ppl have asked once in a while if you could dress NPCs some gear and items etc. Usually people answer that you need to make a patch or similar.
    Through some core editing and the mage spell "mirror image" (not actually using the spell, but the packet and flags) I made it possible to dress NPCs with gear.
    Its a rather simple idea.

    You can make an NPC, set the displays of items you want him to have and his race and gender (defines displayID) as well as facial features and skin color.
    All this is done in the database. (which is rather self explanatory ..)
    The values for skins and features range from 0 to 12 or something .. not quite sure how many there are.
    Note that the items are DISPLAYIDS!! Not item entries.

    Get it:
    https://rochet2.github.io/Dress-NPCs

    Attached Images Attached Images
    Last edited by Rochet2; 03-04-2016 at 09:47 PM.
    Awards:
    Support LOL Scripter Facepalm! Raffle Winner

  2. The Following 10 Users Say Thank You to Rochet2 For This Useful Post:


  3. #2
    Founder <span style='color: #FF4500'>Tommy</span>'s Avatar
    Join Date
    Apr 2013
    Posts
    7,391
    XP
    3,449,104
    Level
    378
    Thanks
    889
    Thanked 1,856 Times in 1,119 Posts
    Very nice, Rochet! Interesting, very interesting. However, isn't there like a creature item set template you could dress them up in? Which, this is obviously changing skin and all of their features. Nonetheless, great job. :P

  4. #3
    Original Poster
    Moderator / Eluna Dev <span style='color: #FF0000'><span class='glow_8B0000'>Rochet2</span></span>'s Avatar
    Join Date
    Apr 2013
    Location
    Finland
    Posts
    1,859
    XP
    13,487
    Level
    35
    Thanks
    95
    Thanked 591 Times in 418 Posts
    Quote Originally Posted by Tommy View Post
    Very nice, Rochet! Interesting, very interesting. However, isn't there like a creature item set template you could dress them up in? Which, this is obviously changing skin and all of their features. Nonetheless, great job. :P
    Hmm ..?
    So you are asking for an additional feature for adding itemsets instead of item displays one at a time?
    Or talking of some ready feature ingame? There might be other ways to dress NPCs possibly with some other packets.
    Last edited by Rochet2; 09-28-2013 at 12:35 AM.
    Awards:
    Support LOL Scripter Facepalm! Raffle Winner

  5. #4
    Founder <span style='color: #FF4500'>Tommy</span>'s Avatar
    Join Date
    Apr 2013
    Posts
    7,391
    XP
    3,449,104
    Level
    378
    Thanks
    889
    Thanked 1,856 Times in 1,119 Posts
    Quote Originally Posted by Rochet2 View Post
    Hmm ..?
    So you are asking for an additional feature for adding itemsets instead of item displays one at a time?
    Or talking of some ready feature ingame? There might be other ways to dress NPCs possibly with some other packets.
    I only asked if there was a creature set table. There is one, but just ignore me. \o/

  6. #5
    Banned
    Join Date
    Apr 2013
    Location
    Fuck You Faded :D`
    Posts
    351
    Thanks
    124
    Thanked 94 Times in 51 Posts
    This is very interesting. Going to look into it thanks rochet! :P


    Edit: After messing around with this it works nicely :P
    Last edited by ToxicDev; 09-28-2013 at 05:38 AM.
    Achievements:
    Shopper Referrer 1 year registered Member Got a Sticky! Bad Seed Level XL Level LXXX
    Awards:
    Support LOL Scripter Member of Staff Raffle Winner

  7. #6
    Epic Member Anthonys-Toolbox's Avatar
    Join Date
    Apr 2013
    Location
    Sacramento, Ca
    Posts
    528
    XP
    8,460
    Level
    27
    Thanks
    134
    Thanked 346 Times in 127 Posts
    Thankyou! I have no idea what I'm looking at, the diff file but I'm sure it'll be useful to a lot of people since we all hate dealing with the middleman(DBC Editor) anyway. ^_^. Thanks again.

  8. #7
    Original Poster
    Moderator / Eluna Dev <span style='color: #FF0000'><span class='glow_8B0000'>Rochet2</span></span>'s Avatar
    Join Date
    Apr 2013
    Location
    Finland
    Posts
    1,859
    XP
    13,487
    Level
    35
    Thanks
    95
    Thanked 591 Times in 418 Posts
    Quote Originally Posted by ToxicDev View Post
    This is very interesting. Going to look into it thanks rochet! :P
    Edit: After messing around with this it works nicely :P
    Nice that it got a tester right away :)



    How it works:
    The creature entries in the table get mirror image flag on startup so the client will ask the server for the facial features etc with a packet.
    The packet call will then push the data you put in the table. The race and gender define the modelID set for the NPC on startup.
    Normally mirror image works so that the creatures are spawned and they have the flag. The client asks for the data and your data is sent (the mage's data, so the mirror image looks like you).
    Last edited by Rochet2; 09-28-2013 at 07:06 AM.
    Awards:
    Support LOL Scripter Facepalm! Raffle Winner

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •