I was wanting to use a item system similiar to Diablo. You would find cursed items - which you bring to the appropriate NPC and activate a script which adds random stats to all of the attribute bonuses on the item. I had a pretty simple method i was planning to use - which should have been my first clue it wasn't going to work.
My plan was to use variables such as variable 143: Item: Equip Str (This variable is the STR amount that changes when the item designated by variable 134: Item Number is equippped). So i was just going to write a script that loaded the item info, then go to data and have Variable 143: Item: Equip Str = 1 ? 30 and so on. Unfortunately for some annoying reason it won't let me use this variable in the upper left corner of the variable screen. It's grayed out for use and only let's me use this variable in one of the lower selections, which means i can't have a random number equal to it.
Only way i'll be able to get what i want without being able to use this method i can think of is by manually making hundreds of different items with different stat increases and have them randomly generate to replace the cursed item. This isn't realistic for obvious reasons because it would chew up way too much memory. So if anyone has any good ideas or ways i could use that variable to add random figures to an item's attribute bonuses i'd appreciate it. Since it was so easy to add random stat increases to your party members i incorrectly assumed it would be equally easy to add them to items - which sadly wasn't the case.
My plan was to use variables such as variable 143: Item: Equip Str (This variable is the STR amount that changes when the item designated by variable 134: Item Number is equippped). So i was just going to write a script that loaded the item info, then go to data and have Variable 143: Item: Equip Str = 1 ? 30 and so on. Unfortunately for some annoying reason it won't let me use this variable in the upper left corner of the variable screen. It's grayed out for use and only let's me use this variable in one of the lower selections, which means i can't have a random number equal to it.
Only way i'll be able to get what i want without being able to use this method i can think of is by manually making hundreds of different items with different stat increases and have them randomly generate to replace the cursed item. This isn't realistic for obvious reasons because it would chew up way too much memory. So if anyone has any good ideas or ways i could use that variable to add random figures to an item's attribute bonuses i'd appreciate it. Since it was so easy to add random stat increases to your party members i incorrectly assumed it would be equally easy to add them to items - which sadly wasn't the case.



5198-2124-7210 Smash
So wanted to say thanks for sharing it with everyone. If you'd like to share your scripts for caculating weather, applying weather, and for displaying the day of the week i'd like to see them also and incorporate them in my game too. I'll be sure to add a special thanks to you in the in-game credits because i spent forever trying to make a transition script that didn't reset when you changed areas.
) How can i store random numbers on a dummy character?
Comment