Jump to content
  • 0

Item Image on NPC Menu


javierlog08

Question


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  15
  • Reputation:   0
  • Joined:  07/18/12
  • Last Seen:  

There is a way to put item images on NPC menu?

Like in lists for example

18850.png POLAR BEAR CABP
18850.png POLAR BEAR CABP
18850.png POLAR BEAR CABP
18850.png POLAR BEAR CABP
18850.png POLAR BEAR CABP

Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.02
  • Content Count:  207
  • Reputation:   16
  • Joined:  12/19/13
  • Last Seen:  

This do you need?
 

In a text in white he adds:

Example:

map      shop   nameNPC  idNPC,iditem:Price

 

vend_zone.gat,98,117,6     shop     Bullet     564,13205:15,13206:15,13207:15

*Spaces with a key shift
 

ssaaa.jpg

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.02
  • Content Count:  846
  • Reputation:   137
  • Joined:  02/26/14
  • Last Seen:  

This do you need?

 

In a text in white he adds:

Example:

map      shop   nameNPC  idNPC,iditem:Price

 

vend_zone.gat,98,117,6     shop     Bullet     564,13205:15,13206:15,13207:15

*Spaces with a key shift

 

ssaaa.jpg

He wants the image in an NPC Message not a Shop

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  15
  • Reputation:   0
  • Joined:  07/18/12
  • Last Seen:  

Yes,the main idea is can show items on the NPC's messages, for example in the mes script command.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

Unfortunately you can't, best you can do it use the 'cutin' script command.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  15
  • Reputation:   0
  • Joined:  07/18/12
  • Last Seen:  

Thanks all for your replies guys.

Sandbox , why i can't?
This kind of changes require more than just source editing? i mean HExing or some modification to the client?
do you can explain me briefly please?

Thanks
:D 
 

Edited by javierlog08
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

I think so, but i'm not sure.

 

'cutin' is the script command used to pop-up Kafra images, so I think you can do that instead as a workaround.

 

*cutin "<filename>",<position>;

This command will display a picture, usually an NPC illustration, also called
cutin, for the currently attached client. The position parameter determines the
placement of the illustration and takes following values:

    0 - bottom left corner
    1 - bottom middle
    2 - bottom right corner
    3 - middle of screen in a movable window with an empty title bar
    4 - middle of screen without the window header, but still movable

The picture is read from data\texture\???????\illust, from both the GRF archive
and data folder, and is required to be a bitmap. The file extension .bmp can be
omitted. Magenta color (#ff00ff) is considered transparent. There is no limit
placed on the size of the illustrations by the client, although loading of large
pictures (about 700x700 and larger) causes the client to freeze shortly (lag).
Typically the size is about 320x480. New illustrations can be added by just
putting the new file into the location above.

The client is able to display only one cutin at the same time and each new one
will cause the old one to disappear. To delete the currently displayed
illustration without displaying a new one, an empty file name and position 255
must be used.

    // Displays the Comodo Kafra illustration in lower right corner.
    cutin "kafra_07",2;

    // Typical way to end a script, which displayed an illustration during a
    // dialog with a player.
    mes "See you.";
    close2;
    cutin "",255;
    end;
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  15
  • Reputation:   0
  • Joined:  07/18/12
  • Last Seen:  

Thank You !  /no1

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...