melikeyrpg
Member
I am using RPG Maker XP. I have searched for a weight based inventory script like the ones in Fallout 3 and Oblivion but could not find one. I am currently trying to event it but I keep hitting roadblocks. I have a total weight variable, and variables for each weapon that add to the total when a pickup is activated (simply using the event to increase weapon/item/armor by 1 wouldn't let me trigger it so I made pickups). I made a very long common event called update weight that has a conditional branch to check if each weapon/item/armor is in the inventory and increase the total weight by the item's variable and set the elses to set the respective item variables to 0. Then I put a set total weight to 0 at the top so the number would not multiply every time the weight is updated. I was planning to put a update weight common event on all the pickups and pretty much everywhere items may change such as shops and storage units. The problem is that say I pickup a kinfe that weigghs 1. Then I pickup another knife, then my total weight would be updated to 2. If I put 1 knife in a storage unit or sell 1 knife, my total weight still reads 2. One way to fix this would be to unstack items such as weapons and armor so they take up separate slots in the inventory but I don't know how to do that. Then I tried using a Custom Event Trigger script found here,
http://forum.chaos-project.com/index.php?topic=6893.0
This would simplify things if I could get the variables to vary when the increase/decrease item event is used, this would eliminate my pickups.
If you know where I can get a weight based inventory script, how to unstack items in the inventory, or can explain how to event this system, I would appreciate it. Thank you.
http://forum.chaos-project.com/index.php?topic=6893.0
This would simplify things if I could get the variables to vary when the increase/decrease item event is used, this would eliminate my pickups.
If you know where I can get a weight based inventory script, how to unstack items in the inventory, or can explain how to event this system, I would appreciate it. Thank you.