|
Post by thebeardedone on May 4, 2024 17:43:20 GMT -5
I'm trying to use custom icons on pie menu categories but getting nowhere with it. In-game icons work perfectly: Custom icons don't: The same custom icons work perfectly when used on pie menu items, just not on the categories. Pointers to get this sorted would be greatly appreciated. Thanks. Part 2: The screenshot links aren't showing up for some reason. They can be viewed here: screenshots
|
|
|
Post by onemorekayaker on May 4, 2024 22:33:07 GMT -5
What does your coding look like? I'm able to just use the instance of my custom icon and it works fine:
<T n="_icon" p="Kayaker_LOCAL_DSTIMAGE">2f7d0004:00000000:instance go here</T>
You may also want to change the icon size to 26 by 26 if it isn't already.
|
|
|
Post by thebeardedone on May 5, 2024 0:27:13 GMT -5
What does your coding look like? I'm able to just use the instance of my custom icon and it works fine: <T n="_icon" p="Kayaker_LOCAL_DSTIMAGE">2f7d0004:00000000:instance go here</T> You may also want to change the icon size to 26 by 26 if it isn't already. Thanks for the reply. although I just popped back in to say I fixed it. 26 x 26 seems to me to be very small for the menu category icons, but probably fine for menu items. Anyway, it turns out there was nothing wrong on the coding side. Using LittleMsSam's Online Learning mod as an example I was able to work out that it was a problem with the size of my icons. I was using some at 40 x 40 but after seeing those LittleMsSam, was using I made new images at 128 x 128. After that it was a simple case of just importing those new images into my icons in studio and saving the package. Success! Interestingly, I've discovered during my trials and errors that the menu category tuning XML doesn't even need an icon definition. As long as there is one in the sim data section. e.g. The sim data for one of my menu categories has: <T name="_icon">00B2D882-00000000-EE4CDE21B4E564A4</T> The tuning file has no icon in it at all. I tested this out after figuring two icon references for the same object seemed a bit excessive.
|
|
|
Post by Sejian on Oct 10, 2024 8:29:08 GMT -5
Resizing to 128x128 worked! Thanks!
|
|