items.txt to items.wsc

This is where you can post about tools related specifically to the POL Server itself

Moderator: POL Developer

Post Reply
pr0v0l0
New User
Posts: 1
Joined: Mon Nov 19, 2007 2:40 pm

items.txt to items.wsc

Post by pr0v0l0 »

Hi everyone...

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

Thanx
User avatar
tekproxy
Forum Regular
Posts: 352
Joined: Thu Apr 06, 2006 5:11 pm
Location: Nederland, Texas

Post by tekproxy »

To keep people from having to search what a .wsc file is, could you explain?
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Post by Yukiko »

.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: Select all

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.
tartaros
New User
Posts: 28
Joined: Tue Mar 27, 2007 6:30 am
Contact:

Post by tartaros »

sphere doesn't use such a format
User avatar
OldnGrey
POL Expert
Posts: 657
Joined: Sat Feb 04, 2006 6:26 pm

Post by OldnGrey »

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 Reply