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
Adding Chairs
Author Message
Archaaz
Journeyman
*

Posts: 98
Likes Given: 12
Likes Received: 4 in 4 posts
Joined: Aug 2013
Reputation: 1



Post: #1
Adding Chairs
I am attempting to add new artwork of chairs using UOFiddler. I do not see a way to mark them such that they work as chairs, and cause player to sit. Is there a way to do this? I had thought to copy an existing chair, paste it in a free slot, and change the graphic, though I likewise do not see a way to do this.

My other thought, as I only wish to add a few new chairs, is to use some of the existing graphics, such as the elven chairs, and simply replace the graphic. Is this viable, and would it effect any existing objects using based on that graphic, other than to change the picture?

Thanks in advance for any help!
05-30-2018 10:41 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: #2
RE: Adding Chairs
Ddid you try to add the type t_chair to the item script?

I don't remember, but it could be that is the client that decides if the item is a chair or not based on the item graphical id (similar to gargoyle only be able to equip gargoyle weapons and so on)
05-30-2018 10:50 PM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes darksun84's post
Archaaz
Journeyman
*

Posts: 98
Likes Given: 12
Likes Received: 4 in 4 posts
Joined: Aug 2013
Reputation: 1



Post: #3
RE: Adding Chairs
I actually use RunUO. There is no variable for marking something as a chair or that triggers the sitting animation. It must be client side, as adding chairs as static items or sitting in chairs frozen to the map work. There does not seem to be any particular flag that can be set in UOFiddler, so it must have something do with the actual graphics. I suspect that replacing an existing chair graphic with a new one will cause it to work.
(This post was last modified: 05-31-2018 01:07 PM by Archaaz.)
05-31-2018 01:06 PM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Archaaz's post
Apocalypse
Journeyman
*

Posts: 56
Likes Given: 10
Likes Received: 4 in 4 posts
Joined: Jan 2016
Reputation: 0



Post: #4
RE: Adding Chairs
last i checked, chairs were hard coded... that was a long time ago though so i dont know if that has changed. you would have to replace a chair in order for it to work.
06-11-2018 02:38 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Apocalypse's post
Archaaz
Journeyman
*

Posts: 98
Likes Given: 12
Likes Received: 4 in 4 posts
Joined: Aug 2013
Reputation: 1



Post: #5
RE: Adding Chairs
Thanks! That does seem to be the case. I think there are just enough newer chairs to accommodate the graphics I want to add. I assume replacing an existing graphic would not cause any issue with existing items, such as map statics, and would just change the graphic?
06-11-2018 01:45 PM
Find all posts by this user Like Post Quote this message in a reply
Apocalypse
Journeyman
*

Posts: 56
Likes Given: 10
Likes Received: 4 in 4 posts
Joined: Jan 2016
Reputation: 0



Post: #6
RE: Adding Chairs
no i do it all the time. its going to change whatever item you're replacing in game to your new one but it wont mess anything up =)
06-12-2018 03:37 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Apocalypse's post
Archaaz
Journeyman
*

Posts: 98
Likes Given: 12
Likes Received: 4 in 4 posts
Joined: Aug 2013
Reputation: 1



Post: #7
RE: Adding Chairs
Excellent! Thanks again!
06-13-2018 02:52 PM
Find all posts by this user Like Post Quote this message in a reply
golfin
Banned

Posts: 213
Likes Given: 2
Likes Received: 32 in 28 posts
Joined: Nov 2017

Eranova

Post: #8
RE: Adding Chairs
Sitting animation, so sitting on the chair is a hard HC kod Client! It has been so since the beginning of the UO and it still takes !. But .... You can solve it with an invisible subject, when you put graphics on any ID ART and in the script set the invisible object of any chair from the original Client. We used to test it once. It was bugged in Mondain Legacy. I do not know what he will do today.
09-21-2018 03:11 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
golfin
Banned

Posts: 213
Likes Given: 2
Likes Received: 32 in 28 posts
Joined: Nov 2017

Eranova

Post: #9
RE: Adding Chairs
Good news for everyone. The client can be deceived. We can insert on the ID instead of any original transparent tile chair. And then you create a multis either file or script a new chair by using a transparent tile and some picture of the new chair in one place. Once inserted into the world, the character sits. I see it as a GM and I see it as a player. See picture: On the right sits a figure, on the left a sample of what he is sitting on.

[Image: chair.jpg]

I will write detailed instructions later.
(This post was last modified: 06-17-2020 03:56 PM by golfin.)
06-17-2020 03:55 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes golfin's post
Post Reply 


Forum Jump:


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