PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
items.txt to items.wsc

 
Post new topic   Reply to topic    PenUltima Online Forum Index -> POL Tools
Display posts from previous:   

Author Message
pr0v0l0



Joined: 19 Nov 2007
Posts: 1

PostPosted: Mon Nov 19, 2007 6:52 pm    Post subject: items.txt to items.wsc Reply with quote

Hi everyone...

I search a program for convert items.txt into items.wsc.
There's a similar utility?

Thanx

Author Message
tekproxy
Distro Developer


Joined: 06 Apr 2006
Posts: 350
Location: Nederland, Texas

PostPosted: Tue Nov 20, 2007 3:18 am    Post subject: Reply with quote

To keep people from having to search what a .wsc file is, could you explain?

Author Message
Yukiko



Joined: 02 Feb 2006
Posts: 1094
Location: Southern Central USA

PostPosted: Thu Nov 22, 2007 2:59 am    Post subject: Reply with quote

.wsc files are the item files used by another emulator (Sphere I believe). The format is fairly close to POLs items.txt file format fortunately.

I am pretty sure the reason pr0v0l0 needs that utility is because there are several world building utilities that were written to use .wsc files, static freezers and the like, and he wants to use them for POL.

Here is an example of the format of items in a items.wsc file:

Code:
SECTION WORLDITEM 0
{
SERIAL 000000
ID 6047
X 2498
Y 2747
Z -5
TYPE 255
COLOR 0
}
SECTION WORLDITEM 1
{
SERIAL 000001
ID 6060
X 2497
Y 2748
Z -5
TYPE 255
COLOR 0
}
SECTION WORLDITEM 2
{
SERIAL 000002
ID 6054
X 2497
Y 2747
Z -5
TYPE 255
COLOR 0
}
SECTION WORLDITEM 3
{
SERIAL 000003
ID 6047
X 2495
Y 2749
Z -5
TYPE 255
COLOR 0
}
SECTION WORLDITEM 4
{
SERIAL 000004
ID 6060
X 2496
Y 2749
Z -5
TYPE 255
COLOR 0
}
SECTION WORLDITEM 5
{
SERIAL 000005
ID 6054
X 2496
Y 2748
Z -5
TYPE 255
COLOR 0
}


It appears that the SECTION WORLDITEM number and SERIAL correspond to the Item/Objtype number. I believe ID is the graphic number. X,Y and Z are obvious. TYPE is used to delineate the different classes of objects ie. weapons, armour, containers etc. COLOR is obviously color.

I know this isn't a converter utility but I thought maybe it would be of help to you in converting the file if you haver to do it manually.

Author Message
tartaros



Joined: 27 Mar 2007
Posts: 24

PostPosted: Mon Nov 26, 2007 7:16 am    Post subject: Reply with quote

sphere doesn't use such a format

Author Message
OldnGrey



Joined: 04 Feb 2006
Posts: 520

PostPosted: Mon Nov 26, 2007 8:42 am    Post subject: Reply with quote

UOX3 uses .wsc files.

One of the reasons for a pol scripter to want wsc is so they can use the original WorldForge melt and freeze utiliities that only read and write uox format files. However, Shinigami did a worldforge for POL edition that uses the pol .txt file format.

There might still be some utilities that need uox item files, but if you post what you might need it for someone might suggest an alternative.

Post new topic   Reply to topic    PenUltima Online Forum Index -> POL Tools All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty