Item Window of Ark's dreams
#1
The -COMPLETED- item window of Ark's dreams
by Jimmie
Sep 25 2005

This is a locked, single-post thread from Creation Asylum. Archived here to prevent its loss.
No support is given. If you are the owner of the thread, please contact administration.


Now then. The script files are many and large. 80000-90000 characters, 2000-3000 thousand lines. That's too big for a post (60000 characters). [Image: ranting2.gif]


I could make a notepad file, but you'll need the demo for examples anyways.

INSTRUCTIONS
To activate the script, either edit Scene_Title, or make an autostart event, to run the following:

Code:
$game_item=Game_Item.new



To add items with no regard to limits, use the following:

Code:
$game_party.force_add(actor id, item id, type)


Actor id being the actors number in the party, starting with 0.
Item id being the id in the database, starting with 1.
Type being 0 for item, 1 for weapon, 2 for armor.

HOWEVER! Make sure to use the following command afterwards:

Code:
$scene=Scene_Trade.new(the actor you force added to, or one of them)



To increase the bag size of a character, use this:
Code:
$game_item.set_bag(actor,$game_item.bag(actor)+change)


Actor being the number IN THE DATABASE!! STARTS WITH 0!
Change being the number to increase with.

To set the bag size, use

Code:
$game_item.set_bag(actor,new limit)


Actor as earlier, new limit being the new limit.

That's about all you need unless you'll be scripting, in which case you can check the scripts.

Now for setting it up in the database...

By default, Key Items have the attribute no. 17.
18-24 are sizes.
25-29 are weights.

Key Items can't be tossed, and can be viewed separately.
Sizes and weights from smalles/lightest to largest/heaviest.

All attributes and values can be changed in the 'Constants' script.

The animated icons should be set up like so:
Either 1,4,9 or 16 frames, organized in squares of 1x1,2x2,3x3 or 4x4.
So the size of an icon file will be either 24x24,48x48,62x62 or 86x86 pixels.
The frames go from left to right, then the next row etc. and then restart.


That's about all you need to know.

Here's the demo

.zip   Item_System_by_Nitt.zip (Size: 256.89 KB / Downloads: 2)



I do hope I didn't forget anything now...

Top-left characters: Add/remove party members.
Right character: Upgrade item limits.
Thief 2: Force add.
Lancer 2: Info
Lancer 3: Initiate the scripts.
Menu: Item 'n' trading.
}


Possibly Related Threads…
Thread Author Replies Views Last Post
  Game Completion Window Leon Blade 0 2,561 03-11-2007, 01:00 PM
Last Post: Leon Blade



Users browsing this thread: 2 Guest(s)