Hi love the script. Is there a way I can make the description a prefix or suffix? Any chance you might be able to mod the script to do this? I would be very grateful. I am also wondering if the color changing of the names has a priority? I thought that prefixes would take priority in color coding but I might be wrong just a question. No big issue for me but making the description as a prefix or suffix would be beautiful addition. Thank you for this wonderful script.
Weapon/Armor Randomization
RGSS3 Scripts (RMVX Ace)Hi love the script. Is there a way I can make the description a prefix or suffix? Any chance you might be able to mod the script to do this? I would be very grateful. I am also wondering if the color changing of the names has a priority? I thought that prefixes would take priority in color coding but I might be wrong just a question. No big issue for me but making the description as a prefix or suffix would be beautiful addition. Thank you for this wonderful script.
Hi love the script. Is there a way I can make the description a prefix or suffix? Any chance you might be able to mod the script to do this? I would be very grateful. I am also wondering if the color changing of the names has a priority? I thought that prefixes would take priority in color coding but I might be wrong just a question. No big issue for me but making the description as a prefix or suffix would be beautiful addition. Thank you for this wonderful script.
Hi love the script. Is there a way I can make the description a prefix or suffix? Any chance you might be able to mod the script to do this? I would be very grateful. I am also wondering if the color changing of the names has a priority? I thought that prefixes would take priority in color coding but I might be wrong just a question. No big issue for me but making the description as a prefix or suffix would be beautiful addition. Thank you for this wonderful script.
Hi love the script. Is there a way I can make the description a prefix or suffix? Any chance you might be able to mod the script to do this? I would be very grateful. I am also wondering if the color changing of the names has a priority? I thought that prefixes would take priority in color coding but I might be wrong just a question. No big issue for me but making the description as a prefix or suffix would be beautiful addition. Thank you for this wonderful script.b
Wow sorry about all the posts I'm on my phone and it froze when I pushed post. So I pushed it a bunch a times lmao dumb me. I dunno how to delete what I posted either hahaha my bad
Oops indeed! Affixes have an option to change the description with :desc, unless you meant adding on to descriptions instead of overwriting.
As for the color thing, the affix with the higher rarity value (set by :rarity) is the color used.
As for the color thing, the affix with the higher rarity value (set by :rarity) is the color used.
Oh I see that's a huge help with the priority in colors. Ya I was wondering if there was a way to add on to the descriptions instead of overwriting them.
Hey all. I just started using VX Ace myself, and I'm really enjoying myself. Your script is excellent Vlue, I just have a couple questions...
1) I'm using the "pool" method of running your script. By default will basic items (ones with no affixes) still drop?
2) I have added descriptions to my affixes so that the player can see the stats that are being modified. However, only one description seems to display when I run a test. Is there a way around this?
Thank you.
1) I'm using the "pool" method of running your script. By default will basic items (ones with no affixes) still drop?
2) I have added descriptions to my affixes so that the player can see the stats that are being modified. However, only one description seems to display when I run a test. Is there a way around this?
Thank you.
Added options 😛desc and :sdesc to add onto descriptions instead of overwriting them. So that takes care of both of you.
To explain to thedarkwolf333 however, the :desc tag rewrites the entire desc, so if you use 😛desc and :sdesc you can have some from either affixes.
As for the pool thing, yes if you use the pool method, you have to create empty affixes if you want items with no affixes to drop.
To explain to thedarkwolf333 however, the :desc tag rewrites the entire desc, so if you use 😛desc and :sdesc you can have some from either affixes.
As for the pool thing, yes if you use the pool method, you have to create empty affixes if you want items with no affixes to drop.
Awww thanks vlue! !! That's so awesome I'll get the updated script tonight and give it a shot. That's wonderful and helps out a lot
I just updated to version 1.8 from the link on the Facebook page (BTW, the OP here only links to 1.6.7), and noticed something odd. Weapons and armor are getting their affixes like normal as they drop, but so are items, even though none of my items have any affix tags in their notes sections. Actually, the same is happening to armor that doesn't have any tags either, and also the tags are stacking (i.e. some are coming out with multiple prefixes and/or suffixes). Any idea what might be causing that? I also just loaded your modified version of Galv's random loot script, so might it be related to declaring the rarity of items?
Also, could you explain how the rarity bit after the affixes works?
Also, could you explain how the rarity bit after the affixes works?
You're using the template version with all the affixes I made. It's specially made to work differently than the pure version (which is 1.6.7 and properly linked). The template version automatically adds a grade (common to legendary) and a bonus (+1 to +3) to every randomized item regardless of note tags, as well as whatever affixes it can through the note tags, for a max of one grade, one prefix, one suffix, one bonus. If you don't want that, then just copy over the affixes from the template version to the pure version.
Ahh hah! That makes sense. Thanks for clarifying it. I do like the idea of universally applied affixes, rather than having to type in hundreds of tags per weapon/armor, but applying them to stuff with zero need of affixes (i.e. most items) might be a bit much. I'll tweak it some more.
It's never right unless there's a new bug, it seems like. I was adapting the 1.8 affixes to the 1.6.7 version of the script, changing as desired to my own needs, and noticed during testing that there seems to be a chance for a randomly generated item to have two prefixes and/or two suffixes. Just to make sure I didn't accidentally change something in the main code after the affix database, I repasted the code from the pastebin, but it's still happening, whether with the pool system or the default system.
For reference, here's a sampling of how I've been writing the affixes:
And here's what my notetags look like (not adjusted for odds yet):
Is it possible it's a result of having too many affixes? Right now, I'm up to 224 affixes, with each item being tested having all of them. Though I wasn't having this problem with the previous version of the list at 400-ish (albeit with different formatting).
Oh wait, hang on... Ahh, hah! It's Galv's random item script again. If I do a regular "add_weapon(2,1)" script call, it doesn't happen. I hate to bug you yet again to work on a script that isn't yours, but can you take one more look?
For reference, here's a sampling of how I've been writing the affixes:
#ATK +/- 1 => { :name => "Attacker's ", :SatkP => 20, :color => Color.new(170,255,170), :rarity => 1, :SpriceP => 10,}, 2 => { :name => "Strong ", :SatkP => 40, :color => Color.new(170,255,255), :rarity => 2, :SpriceP => 20,}, 3 => { :name => "Powerful ", :SatkP => 60, :color => Color.new(170,170,255), :rarity => 3, :SpriceP => 30,}, 4 => { :name => "Violent ", :SatkP => 80, :color => Color.new(255,170,255), :rarity => 4, :SpriceP => 40,}, 5 => { :name => "Reluctant ", :SatkP => -20, :color => Color.new(255,255,170), :rarity => 5, :SpriceP => -10,}, 6 => { :name => "Corroded ", :SatkP => -40, :color => Color.new(255,255,170), :rarity => 5, :SpriceP => -20,}, 7 => { :name => "Cracked ", :SatkP => -60, :color => Color.new(255,255,170), :rarity => 5, :SpriceP => -30,}, 8 => { :name => "Broken ", :SatkP => -80, :color => Color.new(255,170,170), :rarity => 6, :SpriceP => -40,}, 9 => { :name => " of Attack", :SatkP => 20, :color => Color.new(170,255,170), :rarity => 1, :SpriceP => 10,}, 10 => { :name => " of Strength", :SatkP => 40, :color => Color.new(170,255,255), :rarity => 2, :SpriceP => 20,}, 11 => { :name => " of Power", :SatkP => 60, :color => Color.new(170,170,255), :rarity => 3, :SpriceP => 30,}, 12 => { :name => " of Violence", :SatkP => 80, :color => Color.new(255,170,255), :rarity => 4, :SpriceP => 40,}, 13 => { :name => " of Reluctance", :SatkP => -20, :color => Color.new(255,255,170), :rarity => 5, :SpriceP => -10,}, 14 => { :name => " of Corrosion", :SatkP => -40, :color => Color.new(255,255,170), :rarity => 5, :SpriceP => -20,}, 15 => { :name => " of Cracking", :SatkP => -60, :color => Color.new(255,255,170), :rarity => 5, :SpriceP => -30,}, 16 => { :name => " of Breaking", :SatkP => -80, :color => Color.new(255,170,170), :rarity => 6, :SpriceP => -40,},
And here's what my notetags look like (not adjusted for odds yet):
<PREFIX1 1>
<PREFIX2 1>
<PREFIX3 1>
<PREFIX4 1>
<PREFIX5 1>
<PREFIX6 1>
<PREFIX7 1>
<PREFIX8 1>
<SUFFIX9 1>
<SUFFIX10 1>
<SUFFIX11 1>
<SUFFIX12 1>
<SUFFIX13 1>
<SUFFIX14 1>
<SUFFIX15 1>
<SUFFIX16 1>
<PREFIX2 1>
<PREFIX3 1>
<PREFIX4 1>
<PREFIX5 1>
<PREFIX6 1>
<PREFIX7 1>
<PREFIX8 1>
<SUFFIX9 1>
<SUFFIX10 1>
<SUFFIX11 1>
<SUFFIX12 1>
<SUFFIX13 1>
<SUFFIX14 1>
<SUFFIX15 1>
<SUFFIX16 1>
Is it possible it's a result of having too many affixes? Right now, I'm up to 224 affixes, with each item being tested having all of them. Though I wasn't having this problem with the previous version of the list at 400-ish (albeit with different formatting).
Oh wait, hang on... Ahh, hah! It's Galv's random item script again. If I do a regular "add_weapon(2,1)" script call, it doesn't happen. I hate to bug you yet again to work on a script that isn't yours, but can you take one more look?
Oh both systems are not compatible? What happens if you use both?
This is a continuation of a discussion on Vlue's FB page, though I figured it might be easier to talk here rather than keep digging through his FB archives.
Basically, someone brought up Galv's random item script as a tie-in to this script as a means of getting a random selection of a weapon/armor/item from a chest via Galv's script, which is turn randomly given an affix via this script. However, Galv's script has a text-box notification built into it by default, which Vlue was kind enough to disable in favor of his Sleek Item Popup script. Which took care of that, except the multiple prefixes/suffixes bug is happening now.
Basically, someone brought up Galv's random item script as a tie-in to this script as a means of getting a random selection of a weapon/armor/item from a chest via Galv's script, which is turn randomly given an affix via this script. However, Galv's script has a text-box notification built into it by default, which Vlue was kind enough to disable in favor of his Sleek Item Popup script. Which took care of that, except the multiple prefixes/suffixes bug is happening now.
Hello Guys!
First of all, thanks for this great script. I would like to know if there is a way to set the randomization based on the player level, like diablo where you could not be able to find weapons with great stats until level 20 or bla bla
thank u in advance and if so can u modify the script and post it i am so damn noob in these kind of things!
First of all, thanks for this great script. I would like to know if there is a way to set the randomization based on the player level, like diablo where you could not be able to find weapons with great stats until level 20 or bla bla
thank u in advance and if so can u modify the script and post it i am so damn noob in these kind of things!
There is not, there were a couple things that could've gone wrong with them.
The features part helps a lot in that regard though, because instead of static affixes, you can have one that changes the stats of an item by a percentage. You still have to make a bunch of items for each level range, but not a whole bunch of affixes at least.
The features part helps a lot in that regard though, because instead of static affixes, you can have one that changes the stats of an item by a percentage. You still have to make a bunch of items for each level range, but not a whole bunch of affixes at least.
Original thread: https://forums.rpgmakerweb.com/threads/weapon-armor-randomization.14771/