NPC Visuals

Results 1 to 6 of 6
  1. #1
    Member damankin6 is offline
    MemberRank
    Dec 2008 Join Date
    40Posts

    NPC Visuals

    Is there a way to put a image of a mob inside the NPC Text? like #v [number]# but show a mob?


  2. #2
    Grand Master ngnam87 is offline
    Grand MasterRank
    Mar 2013 Join Date
    666Posts

    Re: NPC Visuals

    yes, use #F <link to mob image in WZ>#
    i cannot give you an example because i cannot find mob image in mob.wz ??!

  3. #3
    Moderator Eric is offline
    ModeratorRank
    Jan 2010 Join Date
    DEV CityLocation
    3,188Posts

    Re: NPC Visuals

    Quote Originally Posted by ngnam87 View Post
    yes, use #F <link to mob image in WZ>#
    i cannot give you an example because i cannot find mob image in mob.wz ??!
    Mob.wz\100100\stand\0, not sure if that's the correct command/input, but that's an image in mob.wz (Mob.wz\100100.img.xml\stand\0.png)

  4. #4
    Grand Master ngnam87 is offline
    Grand MasterRank
    Mar 2013 Join Date
    666Posts

    Re: NPC Visuals

    ok, so just use like this: cm.sendOk("image mob is #FMob/0100100.img/stand/0#");
    Edit: i open harepacker and realize that Mob/0100100.img/stand/0 won't show image
    use
    Mob/0100100.img/move/0 instead

  5. #5
    Member damankin6 is offline
    MemberRank
    Dec 2008 Join Date
    40Posts

    Re: NPC Visuals

    Thank you guys for the replies, works exactly as i wanted! ♥

  6. #6
    Sorcerer Supreme RevanOn3r is offline
    Member +Rank
    Jul 2014 Join Date
    NetherlandsLocation
    263Posts

    Re: NPC Visuals

    Quote Originally Posted by damankin6 View Post
    Thank you guys for the replies, works exactly as i wanted! ♥
    I didn't know you could do this...very interesting. I have to try this when I'm home.

    I think it would be make custom quest NPC's (or edit old ones) to say something like:

    Code:
        } else if (status == 1) {
                if (selection == 0) {
        cm.sendOk("#h  #, can you please collect #k 50# #v4000010# from \r\n#fMob/0100006.img/move/0#"); //50 Slime Bubbles, Green Slime
    Few questions though. How big will it display the mob.img? For example, if we throw Zakum's body in there...yeah.

    Does a guide exist that breaks down all .js functions (such as #h #, #k #, \r\n, etc..), because I'd love to make one for the community instead of remembering or looking at other files. Reason I ask is because I've come across several methods for displaying an item image used in NPC's:

    ##4031711# Method
    Code:
            cm.sendSimple("You will be brought in immediately. Which ticket you would like to use?#b\r\n#L0##4031711#");
    #v4031711# Method
    Code:
            cm.sendSimple("You will be brought in immediately. Which ticket you would like to use?#b\r\n#L0#v4031711#");
    #i4031711# Method
    Code:
            cm.sendSimple("You will be brought in immediately. Which ticket you would like to use?#b\r\n#L0#i4031711#");
    All methods above work for displaying an item image inside an NPC. If anyone can specify why, that would be great. If a guide exists, please point me in the direction (or I'll begin making it). And if no one can post a screenshot on the mob image for size reference, I'll upload some tomorrow.

    EDIT:

    I forgot @Shawn made a guide on the NPC's.

    Link:

    http://forum.ragezone.com/f428/add-l...finish-643364/
    Last edited by RevanOn3r; 05-08-14 at 08:39 PM. Reason: Found Guide



Advertisement