PDA

View Full Version : Item Syntax


GeorgiaBoy
10-13-2010, 12:27 AM
Hi Shadow,

I have a syntax question regarding items. I edited this area in systems.gdb:

ItemNormalRandomMagicModifiers 0
ItemCommonRandomMagicModifiers 0
ItemUncommonRandomMagicModifiers 1
ItemRareRandomMagicModifiers 2
ItemVeryRareRandomMagicModifiers 3
ItemSetRandomMagicModifiers 4
ItemUniqueRandomMagicModifiers 4
ItemArtifactRandomMagicModifiers 5
ItemLegendaryRandomMagicModifiers 6

I want the system to randomly determine modifiers with no predetermined modifiers from me. So, Very Rare gets 3; Sets 4; Artifacts 5, etc. This is an example of what I do not want:

AxeUnique9
{
Base Axe2

Name $$OrcSlayer$$

TextureName Textures/icons/items/axes_orcSlayer.tga

Unique 1

MagicModifier ModifierEgoEnemy1
MagicModifier ModifierDamageMult2
MagicModifier ModifierAttack1
MagicModifier ModifierResistancePoison1
}


So, do I want choice 1:

AxeArtifact70
{
Base AxeUnique58

Unique 0
Artifact 1

Name $$Raging Deathbringer$$

TextureName Textures/icons/Items/inv_axe_02.tga

MagicModifier
MagicModifier
MagicModifier
MagicModifier
MagicModifier
}


or choice 2:

AxeArtifact70
{
Base AxeUnique58

Unique 0
Artifact 1

Name $$Raging Deathbringer$$

TextureName Textures/icons/Items/inv_axe_02.tga

}


Thanks,

GB

timeh
10-13-2010, 11:00 AM
the second one?

since you're already telling it how many random mods to add, and the MagicModifiers on the items are fixed mods, not having anything there seems like it would just add the random ones

Shadow
10-13-2010, 11:33 AM
You want the 2nd one.