News:

SMFNew Installed

+-+-

User+-

Welcome, Guest.
Please login or register.
 
 
 

Login with your social network

Forgot your password?

Site Stats+-

Members
Total Members: 728
Latest: Cho
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 10932
Total Topics: 795
Most Online Today: 325
Most Online Ever: 854
(September 18, 2024, 07:49:37 am)
Users Online
Members: 0
Guests: 359
Total: 359

Author Topic: [Affix Editor] what are these for?  (Read 2559 times)

0 Members and 68 Guests are viewing this topic.

[Affix Editor] what are these for?
« on: »
In the Affix Editor window there are additional options to set. does anyone knows what they are for?

some projects in progress

Share on Bluesky Share on Facebook


Re: [Affix Editor] what are these for?
« Reply #1 on: »
Name: The internal name

Prefix: For items. The prefix that's added to the item's displayname if it has this affix on it. (Example: "Healthy" is a prefix in "Healthy Leather Pants.")

Suffix: Same as prefix. I'm not sure, but I believe this is unused in TL2. The vanilla affixes all seem to use prefix even when they are grammatically suffixes. (You might try this out to see if it even works. And post your findings.)

Rank: I believe this is the priority for this affix's prefix/suffix to appear in the displayname versus the prefixes/suffixes coming from other items. (Example: If your leather pants have both +hp and +electric damage, the rank on the affixes determines whether the displayname ends up as "Healthy Leather Pants" or "Shocking Leather Pants")

Play Hit Particle: I believe this controls whether the light burst and sound effect displays when the enchanter adds this to an item.

High Quality: Controls whether the affix counts as a "strong enchantment" that gets the special light burst and sound effect when an enchanter adds this to an item.

Spawn range: On what level units can this affix spawn.

Duration: Provides overrides duration for the effects in this affix. Some over-time effects behave differently if duration is set in both places.

Weight: Used for spawn chance. The odds of a particular affix spawning are that affix's weight divided by the sum of all the weights of affixes that are eligible to spawn (i.e. meet the level range, unit type, and difficulty level requirements). If zero, this affix will never spawn randomly and must be manually assigned.

Slots occupy: Each grade of item has a certain number of "slots" for affixes to go in(defined in globals.dat). Each affix takes up a certain number of slots. When an item is generated, unless it already has affixes assigned to it, it keeps rolling affixes until all its slots are full.

Unittypes: What unit types the affix is allowed to spawn on.

Not Unittypes: What unit types the affix is not allowed to spawn on. "Not unitypes" takes precedence over "unittypes."

Enchanters and socketables work funky -- you need to include the unit types it can apply to in "unittypes," and also exclude those same unittypes in "not unittypes," and include the enchanter's unit type or "socketable" in "unittypes." Somehow the game understands this as saying "never spawn this affix on these item types, but do let enchanters/socketables add it to these item types." Your picture provides an example.

Difficulties allowed in: Which difficulty levels will this affix operate in. If this box isn't checked, the affix does nothing in that difficulty level. I've used this to make monster skills that are balanced differently for different difficulty levels.

Re: [Affix Editor] what are these for?
« Reply #2 on: »
wow that is an excelet reply! thank you for all this info  :-*
some projects in progress

Re: [Affix Editor] what are these for?
« Reply #3 on: »
Oh, I missed this information. Thanks Chthon, now this has become clearer to me.  :)
This should be Wiki!  8)

Re: [Affix Editor] what are these for?
« Reply #4 on: »
I have a question.
Does it matter the affix name or is it done for convenience?
I mean
"pettag_"
"of"
"trinket"

Re: [Affix Editor] what are these for?
« Reply #5 on: »
I found one wrong affix!  :)
GEMS\GEM_UNIQUE_PERCENTLIFESTEAL
It contains

Code: [Select]
[NOT_UNITTYPES]
<STRING>UNITTYPE:ARMOR
<STRING>UNITTYPE:TRINKET
[/NOT_UNITTYPES]
But it should be
Code: [Select]
[NOT_UNITTYPES]
<STRING>UNITTYPE:ARMOR
<STRING>UNITTYPE:TRINKET
<STRING>UNITTYPE:WEAPON
[/NOT_UNITTYPES]
Because of this error, this affix can spawn in weapons.

 

Recent Topics+-