Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Individuality Script
#1
Individuality
DrakoShade
Version: 1.0
Mar 12 2006

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.


Introduction

I got sick of RMXP treating the party as more important than the individual. That's what I set out to fix. This script makes the individual a bit more important by seperating the item bags and gold.

Features
  • Seperate bags for each actor.
  • Seperate cash for each actor.
  • Event commands still work.
  • Default menu altered to show total party gold.
  • Default menu altered to select actor when choosing items.
  • Item scene re-worked to show actor items & allow trading.

Script


Script located here:
.txt   Individuality.txt (Size: 62.66 KB / Downloads: 2)

(Edit as of 16 April, 2008) PK use no longer supported. If you can't figure it out, I will not help. (/edit)
Instructions

To add an item to a person in the party, with 0 being the leader and 1, 2, or 3 being the second, third, or fourth person in the party list:


Code:
$game_party.actors[actor_position].gain_item(item_id, number)
$game_party.actors[actor_position].gain_weapon(weapon_id, number)
$game_party.actors[actor_position].gain_armor(armor_id, number)
$game_party.actors[actor_position].gain_gold(amount)


In order to add stuff to a specific actor in the database, rather than a person in the party, do it this way instead:


Code:
$game_actors[actor_id].gain_item(item_id, number)
$game_actors[actor_id].gain_weapon(weapon_id, number)
$game_actors[actor_id].gain_armor(armor_id, number)
$game_actors[actor_id].gain_gold(amount)


You can remove anything by either replacing "gain" with "lose" or just using a negative number.

You don't have to recursively fix all your events to give stuff to specific people. Any event command that gives to the party will go actor-by-actor in the party, adding the items one at a time until the full number have been given out. If it's only one item to begin with, the first character in the party gets it.

It also intelligently removes items one at a time from the party. It'll take items one at a time only from people who have them, until either the number in the event has been reached or the party is completely out of said item.

Gold is added by event commands by dividing evenly among the party. It's removed in a more complex way. It will make sure that everybody has their share to be removed. If somebody doesn't, then their gold will be set to zero, the amount they lost subtracted from the total, and everybody else will then lose 1/x of the total remaining to lose, where x is the size of the party minus the people who didn't have enough gold.

FAQ

No faq as of yet.

Compatibility

Issues with Postality Knights solved by Jimme. I modified the script slightly since he did it, but I opened his and made the same minor mods (cutting out the unused methods.) I'll upload that, too. Jimme, you're free to clear your attachment, now. I'll maintain both versions.

Credits and Thanks

Thanks primarily go to SephirothSpawn and Khatharr.

Author's Notes

What I consider the "core" of this script are the modifications to Game_Actor and Game_Party. The rest was fluff designed to make it work with the default scripts so that you could just install it in a virgin project and go.

If you want to edit it to work with a different menu or battle system, feel free. Just make sure that you credit me if you use the core of the script.
}


Possibly Related Threads…
Thread Author Replies Views Last Post
  Change character script jaigai 0 2,737 11-19-2006, 01:00 PM
Last Post: jaigai
  Just a modification of Abyssos' facs script lumina... 0 2,590 11-01-2006, 01:00 PM
Last Post: lumina...
  Credit Script 1.1 acoole 0 2,417 10-24-2006, 01:00 PM
Last Post: acoole
  Script Dev Kit Nick 0 2,794 10-15-2006, 01:00 PM
Last Post: Nick
  Opening Image script sasuke89 0 2,020 07-24-2006, 01:00 PM
Last Post: sasuke89
  Change Color of The diferent Status Script MASTERLOKI 0 2,269 07-18-2006, 01:00 PM
Last Post: MASTERLOKI
  Event Name and ID Search Script Hadriel 0 2,026 06-21-2006, 01:00 PM
Last Post: Hadriel
  Currency Script Split 0 2,273 05-18-2006, 01:00 PM
Last Post: Split
  Book Script and Utility Bruth 0 2,218 05-07-2006, 01:00 PM
Last Post: Bruth
  Metroid Text Sound Script Constance 0 2,153 12-21-2005, 01:00 PM
Last Post: Constance



Users browsing this thread: