It is currently Tue Dec 02, 2008 5:14 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: New Houses
PostPosted: Tue Oct 23, 2007 2:37 am 
Offline

Joined: Thu Oct 04, 2007 11:49 pm
Posts: 12
How would I go about adding new houses to my server? I am a complete noob at this so please dont assume I know something, I prolly dont :lol:

I want to design a new japanese style house and add it to the vendor's list of deeds that he sells.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 23, 2007 7:53 am 
Offline

Joined: Sat Mar 18, 2006 1:41 am
Posts: 93
Location: World Earth
I have created theme for new houses.
http://forums.polserver.com/ftopic1869.php --- Inside!

Yukiko wrote:
Harley I know what you want to do. I am sorry but I have never patched in new multis into the multis.mul file. I did once create a deed for the Minax Stronghold but that already exists in the multis.mul file. I can help you with creating the itemdesc.cfg entries but as for patching the new multi into the multis.mul file I cannot.

First you'll need to create a deed entry for the new house. I am going to use examples so you'll have to change the data to fit your situation.

Deed entry in itemdesc.cfg file:
Code:
Item 0xNNNN
{
    Name             newhousedeed
    Desc             deed to a new style house
    Graphic          0x14F0
    Script           houseDeed
    newbie           1
    VendorSellsFor   300000
    VendorBuysFor    76500
    HouseObjType     newstylehouse
    cprop numlockdowns i86
    cprop numsecure  i4
}


Entry in itemdesc.cfg for the actual house item:
Code:
House 0xNNNN
{
    Name             newstylehouse
    WalkOnScript     houseBanning
    Graphic          0xYYYY
    MultiID          0xID
//    OldObjtype       0x4066 this is not used by housedeed.src
}


Note that 'NNNN' should be replaced with unique objtype numbers above 0x4FFF and below 0xEE00. The value for Graphic 0xYYYY should be an unused number in the range of 0x4000 - 0x4FFF. I have to be honest that I do not know how to determine what the right number for that graphic should be. I have only experimented with this a couple of times. Maybe someone can add to this info.

I hope this is helpful. Sorry I can't help you more.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 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