It is currently Wed Oct 15, 2008 4:34 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: items.txt to items.wsc
PostPosted: Mon Nov 19, 2007 2:52 pm 
Offline

Joined: Mon Nov 19, 2007 2:40 pm
Posts: 1
Hi everyone...

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

Thanx


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 19, 2007 11:18 pm 
Offline
Distro Developer
User avatar

Joined: Thu Apr 06, 2006 5:11 pm
Posts: 350
Location: Nederland, Texas
To keep people from having to search what a .wsc file is, could you explain?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 21, 2007 10:59 pm 
Offline

Joined: Thu Feb 02, 2006 1:41 pm
Posts: 1154
Location: Southern Central USA
.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.

_________________
Sincerely,
Yukiko

I know you think you understand what you thought I said but what you heard is not exactly what I meant.

Titus 2:13


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 26, 2007 3:16 am 
Offline

Joined: Tue Mar 27, 2007 6:30 am
Posts: 24
sphere doesn't use such a format


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 26, 2007 4:42 am 
Offline

Joined: Sat Feb 04, 2006 6:26 pm
Posts: 561
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl