Jump to content

Message icon for books


Ophryon

Recommended Posts

Hi all. I just released my first mod, and am looking forward to improving my modding skills. I've run into a small aesthetic snag that I'm hoping someone can help with.

 

Is it possible to change the Message Icon for books? The edit window has a button for it, but the Wiki says this function is "unused." I've tried changing it anyway, but the in-game icon is always the same generic gift-box.

 

My mod adds titles to pre-war books, so the player gets a message like "Animal Farm added." It would be great if the icon was a book instead of that gift-box. Thanks for any tips you might have.

Link to comment
Share on other sites

It sounds like you'll have to use a workaround in order to do this. The way I'd do it would be by creating an identically named item that can utilise a message icon, and appearing to add this to the player instead.

 

To do this, you'll want to use the optional "HideMessageFlag" parameter of AddItem, so that when you add the book you can hide its message, and add another item (scripted to remove itself automatically as below) which displays a message with the appropriate icon.

 

Use a script like this for the item to instantly remove itself:

Begin GameMode
RemoveMe
End

Cipscis

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...