The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
This time about graphics and scripts
Author Message
Dullais
Journeyman
*

Posts: 65
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 0



Post: #1
This time about graphics and scripts
Hello guys.
I would like to know if there is a way to make multiple items look different.
It is like bottles, you can put 2 or more together, it changes the amount of item and its dispid...
So iam thinking of way to make another flasks useable as i_bottle_empy, I looked at my tiles and saw that there is no animation for multiple of those flasks. i can make the graphic and put it into uo, but What would the script look to this actualy work like i_bottle_empty ? for example a would add picture for 1 item (HEX: 2710) and for 2 or more items (HEX: 2711).
How do i make this work ?
03-24-2013 08:22 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: This time about graphics and scripts
If i remember well, you have just to turn on the Generic flag of the item in the tiledata.mul

From patching tutorial

Unknown4" in conjunction with the switch "Generic" holds the offset in pixel the second item will be displayed if an item is stackable (usually a value of 2 will be sufficient).
"Generic" most times means "stackable" and is used in conjunction with the value "Unknown4".

Unknown4 is the stackoff field in UoFiddler
03-24-2013 10:14 AM
Find all posts by this user Like Post Quote this message in a reply
Dullais
Journeyman
*

Posts: 65
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 0



Post: #3
RE: This time about graphics and scripts
(03-24-2013 10:14 AM)darksun84 Wrote:  If i remember well, you have just to turn on the Generic flag of the item in the tiledata.mul

From patching tutorial

Unknown4" in conjunction with the switch "Generic" holds the offset in pixel the second item will be displayed if an item is stackable (usually a value of 2 will be sufficient).
"Generic" most times means "stackable" and is used in conjunction with the value "Unknown4".

Unknown4 is the stackoff field in UoFiddler

Looked up, found and did it, and it worked, thanks Smile
03-24-2013 09:27 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #4
RE: This time about graphics and scripts
No problem Big Grin
03-24-2013 09:55 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)