I just wanted to ask if you think it is possible to mod the game to a point where items can have more than just 1 pre/suffix each more like the diablo 2 item generation (think rares could have up to 3 each)?
I`d like the idea of a more unique rare item style and (potentially) better rare items compared to the few viable choices later in the game right now.
The save format does not allow for more than one prefix and suffix, so no.
On the other hand an affix can have any number of stats associated with it, so there is no need for multiple prefixes / suffixes just to have more stats. See e.g. http://gracefuldusk.appspot.com/items/Swords/ and scroll down to the affixes
thanks for the info, I did know an affix had more than one stat but to diversify one would need to create thousands of “affix-combos” into super-affixes as ASYLUM pointed out, thought there might have been an easier solution but seems like there isn`t (would be weird if there is no way of changing the item naming for rare items anyway if you had Taskmaster’s Subjugator’s … Ring of the Wild of Blood … as a name anyway probably )
I’m assuming it’s possible for different affixes to have the same name ingame?
€: Is there any hardcoded limit to the number of possible affixes in the game?
Well, yes and no. You can have an indefinite amount of affixes afaik. BUT items go through loot tables before they are dropped, and these loottables have randomizer affix tables, and these are limited; 18 affix table files per suffix and prefix (each, not altogether), and another 18 for “rare” suffix and prefix.**
Affix tables can hold up to 100 different affix files. I don’t know the specifics about how an affix drops, but I can assume it works like most things do in the engine, you assign the affix table a weight, and that is compared with other affix tables’ weights when an item is generated. If the affix is generated, then I guess it would just dig through that affix table and randomly choose an affix, again, based on weights. Anyway, if you managed to fill up one entire affix table per affix slot on one lootable, you’d have up to 7200 possible affixes, I think?
Anyway, every loottable doesn’t have to have the same affix tables and you would create loottables that are restricted by level (leveltables), so you can create a new loottable every 25 levels or so that can contain a new set of affix tables that would consist of “super affixes”. Or whatever, you get the point, it’s just an example.
I hope you understand what I’m trying to convey, it’s a little difficult to explain.
** I’m not sure if the template can be modified to include more affixes, if someone knows how to do that it might be worth a shot since it did work for the skill tree when someone tinkered with that to increase the skill limit from 40ish to 100. Also, it’s probably unnecessary after calculating the total possible affixes… Lol.
Hmm, looks like adding a better endgame variety of rare items is a bunch of work then, as you wouldn’t want really cool rares to drop all the time so you probably have to create a whole bunch of affixtables and some nice one`s with lesser weight so you only have minimal chances of getting those, right?
Think I’ll dig through some more posts concerning affixes and loottables to get a better grasp on the matter.