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
chars maxweight?

 
Post new topic   Reply to topic    PenUltima Online Forum Index -> General Help 096
Display posts from previous:   

Author Message
BELL



Joined: 22 Apr 2008
Posts: 21

PostPosted: Tue May 06, 2008 3:23 pm    Post subject: chars maxweight? Reply with quote

who.backpack.maxweight := GetBaseStrength(who) * 3;

this dont work (
what im may set the character maxweight?

Author Message
Harley



Joined: 18 Mar 2006
Posts: 92
Location: World Earth

PostPosted: Tue May 06, 2008 5:05 pm    Post subject: Reply with quote

config/itemdesc.cfg :

Code:

Container 0x0E75
{
    Name                Backpack
    desc                backpack
    Gump                0x003C
    MinX                44
    MaxX                143
    MinY                65
    MaxY                140
    RequiresAttention   0
    VendorSellsFor      18
    VendorBuysFor       9
    dyeable             1
    MaxItems            200
    MaxWeight           600
    weight              1
    CanInsertScript     ::canInsert
    OnInsertScript      ::onInsert
    CanRemoveScript     ::canRemove
    OnRemoveScript      ::onRemove
}

Author Message
BELL



Joined: 22 Apr 2008
Posts: 21

PostPosted: Wed May 07, 2008 11:56 am    Post subject: Reply with quote

Harley wrote:
config/itemdesc.cfg :

Code:

Container 0x0E75
{
    Name                Backpack
    desc                backpack
    Gump                0x003C
    MinX                44
    MaxX                143
    MinY                65
    MaxY                140
    RequiresAttention   0
    VendorSellsFor      18
    VendorBuysFor       9
    dyeable             1
    MaxItems            200
    MaxWeight           600
    weight              1
    CanInsertScript     ::canInsert
    OnInsertScript      ::onInsert
    CanRemoveScript     ::canRemove
    OnRemoveScript      ::onRemove
}


im can set maxweigth dynamycally for any characters, is dependent on str/dex????

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

 




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