Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sphere custom housing
Author Message
Menieth
Apprentice
*

Posts: 5
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2014
Reputation: 0



Post: #1
Sphere custom housing
Hi,

i´m currently testing custom housing function to evaluate if it would be good to put on one freeshard where i´m playing or not and i found out that i´d like to have more items added there to use for building.

As far as i know, i can edit walls.txt, misc.txt etc. to see more items in menu but when i tried that sphere won´t allow me to to add them (make them orange color and says something about illegal structure when i try to confirm building) or adds them with another item that i don´t want there (that happened with grass items (like ID 0x1782) where i just wanted to put these grasses over dirt but adding it creates also basic grass tile under it so that grass item isnt even visible the way i wanted = useless to add it) - i dont want to use it as landtile but like wall or something - to be above chosen landtile item.

I especially wanted to modify fences as there are some missing maybe later add some land / roof tiles (shard custom art there), those grasses to be able to create path to house etc.

So my question is - does anyone here made modifications in those text files and if so is it possible to add more items / what do i need to modify to get those "new" items work (like modify tiledata, add something to scripts)?
10-06-2014 07:29 PM
Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #2
RE: Sphere custom housing
you must edit the file (walls.txt, misc.txt, etc) on the server too
if you edit only on the client, the server will think that this player is trying to "cheat" creating a invalid/disabled item
10-07-2014 12:26 AM
Find all posts by this user Like Post Quote this message in a reply
Menieth
Apprentice
*

Posts: 5
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2014
Reputation: 0



Post: #3
RE: Sphere custom housing
ok when I don´t have same files I get these warnings and parts are not added to design:
19:01:WARNING:Invalid item 0861 being added to building 040001fe3 by 01.
19:04:WARNING:Invalid item 0877 being added to building 040001fe3 by 01.

when I have same files for sphere and client I can place those items without warnings but they stay orange like they cannot be placed alone (like when you add sole roof tile or wall on second floor where they cannot hold) and on commit i get info:
Illegal object. House not legal, not committing!

for test I even tried to replace (not just add one more) line
13 2 0 2226 2227 2228 2229 2243 2244 2245 2246 0 Fences 3
with those items i want to have
13 2 0 2144 0 2145 0 2167 2168 2186 2187 0 Fences 3

but with same result => not working

any idea what am I doing wrong?
10-07-2014 03:29 AM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,140
Likes Given: 217
Likes Received: 89 in 76 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #4
RE: Sphere custom housing
Are they scripted? It means... they have ITEMDEF?
Did you checked the RESDISP on account?

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
10-07-2014 03:32 AM
Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #5
RE: Sphere custom housing
your server doenst have these 2 items scripted, you need to create the ITEMDEF to make it able to use on custom house engine

I think a empty itemdef is enough
Code:
[ITEMDEF 0861]
[ITEMDEF 0877]
10-07-2014 03:35 AM
Find all posts by this user Like Post Quote this message in a reply
Menieth
Apprentice
*

Posts: 5
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2014
Reputation: 0



Post: #6
RE: Sphere custom housing
[ITEMDEF 085c]
DEFNAME=i_fence_wood_3
RESOURCES=25 I_BOARD
CATEGORY=Buildings - Fences
SUBSECTION=Wooden Fence 3
DESCRIPTION=@
DUPELIST=085d,085e,085f,0860,0861,0862,0863,0864,0865,0877,0878

[ITEMDEF 085d]
//wooden fence
DUPEITEM=085c

[ITEMDEF 085e]
//wooden fence
DUPEITEM=085c

[ITEMDEF 0860]
//wooden fence
DUPEITEM=085c

[ITEMDEF 0861]
//wooden fence
DUPEITEM=085c

085d and 085e are in basic misc.txt and are working fine
0860 and 0861 are in new line and cannot be added

well these aren´t even new items and also i´m using 7.0.35.6 client so far without problem with seing any item so i think resdisp is ok..

in attachmen is screen of how I see those two basic and newly added items..
   
10-07-2014 03:44 AM
Find all posts by this user Like Post Quote this message in a reply
Skul
Master
**

Posts: 413
Likes Given: 0
Likes Received: 19 in 15 posts
Joined: Jun 2012
Reputation: 9



Post: #7
RE: Sphere custom housing
make sure your sphereserver doors.txt, floors.txt, misc.txt, roof.txt, stairs.txt and walls.txt match those of your client's, this is mandatory.

"I ask a question to the answer I already know."

Marchadium :: http://www.marchadium.ca/ :: Join us!
10-07-2014 04:58 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Menieth
Apprentice
*

Posts: 5
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2014
Reputation: 0



Post: #8
RE: Sphere custom housing
yeah they really are the same couse I put whole install of UO into mul folder on sphere to make sure I have everything there .. and when I make change in file I copy it immediatelly into UO (or MUL) folder ...
10-07-2014 05:10 AM
Find all posts by this user Like Post Quote this message in a reply
Menieth
Apprentice
*

Posts: 5
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2014
Reputation: 0



Post: #9
RE: Sphere custom housing
ok that previous problem will be solved with custom addon to housing function ..

now another problem appeared:

when I build house somewhere with higher Z - at least its doing with z=30 (for example on isle thats on coords 1273,537,30 on default map) then when i try to build any roof it will jump to coords 30 higher then where i wanted to build them..

i built layer 1 roof in on first floor and on sync or commit it will jump to second floor like z=z+30 .. any idea why is it doing this? this problem is only with roofs and I haven´t changed anything in roof.txt so far

foundation on z=0 => first row of roof placed in height 4 after commiting roofZ=4
foundation on Z=5 => first row of roof after adding in height 9 => after commiting roofZ=14
foundation on z=10 => first row in height 14 => after commiting roofZ=24

etc.
sphere = nightly from 6th october
(This post was last modified: 10-21-2014 06:42 AM by Menieth.)
10-21-2014 05:35 AM
Find all posts by this user Like Post Quote this message in a reply
Swiftik023
Apprentice
*

Posts: 8
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jan 2018
Reputation: 0



Post: #10
RE: Sphere custom housing
hi can i ask you what is means "TID" and "FeatureMask" in misc.txt?
Code:
Category    Style  TID    Piece1  Piece2    Piece3    Piece4    Piece5    Piece6    Piece7    Piece8    FeatureMask    Comment
0            0    1060056    44          0     41    40    42    0    43    29    0    Fieldstone Archways
1            0    1060070    470         0    471    469    473    0    472    466    0    Weathered Stone Square Archways
thx
(This post was last modified: 01-16-2018 02:29 AM by Swiftik023.)
01-16-2018 02:28 AM
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)