Page 1 of 1

New Houses

Posted: Tue Oct 23, 2007 2:37 am
by Stephan
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.

Posted: Tue Oct 23, 2007 7:53 am
by Harley
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: Select all

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

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.