It is currently Wed Dec 03, 2008 8:21 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: banks?
PostPosted: Sat May 06, 2006 9:40 am 
Offline

Joined: Fri Apr 14, 2006 9:36 am
Posts: 240
Hey for banks ive been looking around everyone all the bank files.. etc cnat find anything, where do i change the ammount of items and the wight they hold?


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 06, 2006 10:27 am 
Offline
User avatar

Joined: Sat Feb 04, 2006 8:17 am
Posts: 147
Location: Illinois, USA
servspecopt.cfg file.

This is in your config folder, or should be. These are default for all containers though. I scripted a seperate routine into the banker scripts to adjust this with. It is more of a check for the number of items in the bank, not the weight of items.

_________________
2nd place is the 1st loser.


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 06, 2006 1:01 pm 
Offline
Certified POL Expert
User avatar

Joined: Thu Feb 02, 2006 1:41 pm
Posts: 1223
Location: Southern Central USA
In objtypes.inc the bankbox is defined as using this obtype number for the container: 0x0e40.

If you look in the itemdesc.cfg file in the \pol\config directory you will see this entry:

Code:
Container 0x0E40
{
    Name                MetalChest
    desc                metal chest
    Gump                0x004A
    MinX                44
    MaxX                143
    MinY                65
    MaxY                140
    RequiresAttention   0
    movable             1
    MaxItems            125
    weight              5
    CanInsertScript     ::canInsert
    OnInsertScript      ::onInsert
    CanRemoveScript     ::canRemove
    OnRemoveScript      ::onRemove
}


By adding this line:

MaxWeight <an integer with the max weight you wish banks to hold goes here>

For example:

MaxWeight 10000

You will define the maximum weight the bankbox can hold.

_________________
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: Sat May 06, 2006 1:43 pm 
Offline

Joined: Fri Apr 14, 2006 9:36 am
Posts: 240
Thanks.


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