HI
I'm using Vlue's weapon and armor randomization script in my game. Its a wonderful script, but I need a minor (hopefully its minor) feature added to it. I want to be able to select some affixes, which when spawned on a weapon or armor, it will choose a random name from a set pool. This way, it would be possible to generate items just like the rare items are generated in Diablo 2 and I'm sure a few other RPGs too. I would like to set two pools for names, one for prefixes and one for suffixes.
Heres an example:
Let's say we have a set pool of prefix names with words "Iron", "Jagged" and " Fire", and a pool of suffix names with words "Dog", "Cat" and "Night".
I want the 15., 23. and the 45. affixes to have their names randomly selected from the preset pool of prefix name, and 16., 34. and 67. affixes to have their names randomly selected from the preset pool of suffixes.
Now, a hand axe drops for the player. Vlues script randomly selects the 23. prefix and the 16. suffix for it. Now, because those two affixes were set to have their names to randomly select one from preset pools, the new hand axe's name will be "Jagged Night".
I hope its clear what I wrote. If not, just ask, I will try to explain it a little better.
Vlue weapon/armor randomization script
I'm using Vlue's weapon and armor randomization script in my game. Its a wonderful script, but I need a minor (hopefully its minor) feature added to it. I want to be able to select some affixes, which when spawned on a weapon or armor, it will choose a random name from a set pool. This way, it would be possible to generate items just like the rare items are generated in Diablo 2 and I'm sure a few other RPGs too. I would like to set two pools for names, one for prefixes and one for suffixes.
Heres an example:
Let's say we have a set pool of prefix names with words "Iron", "Jagged" and " Fire", and a pool of suffix names with words "Dog", "Cat" and "Night".
I want the 15., 23. and the 45. affixes to have their names randomly selected from the preset pool of prefix name, and 16., 34. and 67. affixes to have their names randomly selected from the preset pool of suffixes.
Now, a hand axe drops for the player. Vlues script randomly selects the 23. prefix and the 16. suffix for it. Now, because those two affixes were set to have their names to randomly select one from preset pools, the new hand axe's name will be "Jagged Night".
I hope its clear what I wrote. If not, just ask, I will try to explain it a little better.
Vlue weapon/armor randomization script
