multi items placement

Forum where anything UOX3-related goes - including, but not limited to: newbie-support, ideas, general questions, comments, etc and-so-forth.
Post Reply
Lord tano
UOX3 Neophyte
Posts: 29
Joined: Sat May 12, 2007 6:49 pm
Has thanked: 0
Been thanked: 0

multi items placement

Post by Lord tano »

Having a new issue I am trying to place a custom plot house foundation
using insideUO it said that its id is (0x1425) but when I use the command

"add (0x1425) and target the place where iI want it I get a warfork instead of the foundation that I wanted

so what am I doing wrong?
Why is there air?
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

First off, customizing houses isn't implemented. Just so you know.
Second, if you still want to add the house foundation multis, you need to add them to house.dfn and connect them to a scripted house deed like the houses already in UOX3, since you cannot add multis directly ingame using the 'ADD command.

So add a new [HOUSE #] to house.dfn where the # is the next number not already used by another HOUSE-header, add 0x4000 (has also been done with all other multis in the file, it's a necessary operation) to 0x1425 so you get 0x5425 and set that as the ID tag, then set SPACEX and SPACEY tags that tells UOX3 how large an empty area the house needs to be placed.

Next, script a new deed in DFNDATA\ITEMS\DEEDS\house_deeds.dfn (or a custom file to make it easier to upgrade UOX3 later) looking like this:

[myhousedeedname]
{
NAME=housing plot

ID=0x14F0 //ID of the deed-item
MOREX=# //your unique HOUSE number from house.dfn
VALUE=# //how much the deed sells for if you add it to the shopkeepers
RESTOCK=5 //how many deeds to restock at the shopkeeper
GOOD=9 // Related to advanced trade system, ignore :P
}

Then, start up UOX3 or reload all DFNs and add your new deed using 'ADD ITEM myhousedeedname. Double-click, and place.
-= Ho Eyo He Hum =-
Lord tano
UOX3 Neophyte
Posts: 29
Joined: Sat May 12, 2007 6:49 pm
Has thanked: 0
Been thanked: 0

Post by Lord tano »

I must have read this a hundred times and I'm trying
i think i'm close but it might be easier to just use the houses that are in the game already
Why is there air?
Lord tano
UOX3 Neophyte
Posts: 29
Joined: Sat May 12, 2007 6:49 pm
Has thanked: 0
Been thanked: 0

Post by Lord tano »

**OK I ADDED THIS TO house.dfn**

Code: Select all

// 7X7 custom plot
[HOUSE 33]
{
ID=0x53EC
SPACEX=4
SPACEY=4
CHARX=0
CHARY=0
CHARZ=7
HOUSE_ITEM=2
HOUSE_DEED=7x7customplot
}
**and this to deeds.dfn**

Code: Select all

[7x7customplotdeed]
{
NAME=7x7 custom plot deed
ID=0x14F0
MOREX=33
VALUE=43800
RESTOCK=5
GOOD=9
}

but I don't seem to be getting anywhere the server gives reply that the item doesn't exist
Why is there air?
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

Issue resolved in IRC, but posting reply here as well.

HOUSE_DEED=7x7customplot should say HOUSE_DEED=7x7customplotdeed if you want to be able to convert it back to a working deed at some point.

The deed & house entry is set up correctly, but you must add the deed using the 'ADD ITEM 7x7customplotdeed command (not 'ADD 7x7customplotdeed). Also, reloading the DFNs from console or restarting UOX3 is necessary after making DFN changes.
-= Ho Eyo He Hum =-
Lord tano
UOX3 Neophyte
Posts: 29
Joined: Sat May 12, 2007 6:49 pm
Has thanked: 0
Been thanked: 0

Post by Lord tano »

That did indeed make a working 7x7 plot deed. But there are issues with it.

1)The house sign was in the wrong place (my bad I copied the sign placement from a small cottage)how do I get the correct xyz for the sign on a plot
2)There was not a sign post. (how do I create a "house item" "signpost" that can be used for all the house plots
3)about 5 minutes after placing my test plot the house sign went poof.(i could not delete the plot after that ,ended up sutting down server without saving to get rid of it)
4)The steps were not placed with the house. (is this another house item thing that has to be made with each plot like the house sign and post?)
Why is there air?
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

1) Not sure, but I believe you define the coordinates under the [HOUSE ITEM #] sections depending on where you want to place the item from the center of the multi you're placing.

2) To define new items such as signposts, add a new [HOUSE ITEM #] (with unique number of course) and link to a signpost in the DFN files using ITEM=<id from section header in item-DFN>. Same goes for stair-items, btw. Then define the X, Y and Z coordinates from the center of the house to where you want to place the item.

3) After placing a house, use 'TWEAK on the sign and report back the DECAY or DECAYABLE status of the sign. It should be set to false or 0.

4) Yep. For how to do that, see reply #2.
-= Ho Eyo He Hum =-
warwick
UOX3 Neophyte
Posts: 33
Joined: Sun Dec 26, 2010 11:44 pm
Has thanked: 0
Been thanked: 0

Post by warwick »

I'm kinda new to this (very new infact), was thinking of the house placement tool, if it was possable to use that just as in UO, how ever after reading this thread, if i understud it all correct, it is not implemented, but if I'm misstaken, where is the item or its number to use for adding.

I found the foundations, and the rest of items, but that doesn't mean the actualy tool for use for the players is possable.

Is there any plans to make this work?
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

AFAIK there is currently no support for the house placement tool in UOX3, and unless anyone takes it upon themselves to code (or script, if it's something that can be handled through the JS scripting engine) the feature it's not likely to see the light of day, I'm afraid.
-= Ho Eyo He Hum =-
Post Reply