Difference between revisions of "Leveled Item"

1,144 bytes added ,  10:32, 18 October 2014
Fixing double redirects
imported>GhanBuriGhan
(changed "actor" to "item")
imported>QQuix
(Fixing double redirects)
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
A leveled item is an example of a leveled list. When the item needs to be added to the actor or container, one of the items in the list is created using the level of the player. Potions can be placed in Leveled Item lists even though they are not items.
A leveled item is an example of a [[:Category:Leveled Lists|leveled list]].
 
== Selecting an Item from the List ==
 
In a container, a leveled list chooses its item based on player level - depending on the settings (described below), either the item nearest in level to the player, or randomly any item at the player's level or lower.
 
On an NPC, however, things are more complicated. Here, the equipment that an NPC gets is chosen based on the '''minimum''' of the player's level and the NPC's level. What this means is that if an NPC has a leveled list of items with different items at level 10 and level 20, and the NPC is level 10 and the player is level 20, the NPC will get the level '''10''' item, not the level 20 item (as would be the case with a container). For more information, and experimentation information, please see [[How Oblivion engine deals with NPC leveled equipment]].
 
== Leveled Item Options ==
 
These are the various settings that can be chosen on a leveled list of items:


*'''Calculate from all levels <= PC's level:''' If checked, the level list will use any item at or below the player's level in the list. If not checked, it uses the closest item or items to the player's level, but not exceeding it. The lower threshhold is governed by the [[iLevItemLevelDifferenceMax]] setting.
*'''Calculate from all levels <= PC's level:''' If checked, the level list will use any item at or below the player's level in the list. If not checked, it uses the closest item or items to the player's level, but not exceeding it. The lower threshhold is governed by the [[iLevItemLevelDifferenceMax]] setting.
Line 13: Line 23:


== Notes ==
== Notes ==
*Leveled items cannot have scripts or transfer scripts to their generated references.
 
*Leveled items cannot be placed directly in the world. They can only be put into containers or actors.
* The Leveled List itself cannot have a script
** Scripted items can be placed in a leveled list, however.
* Leveled items cannot be placed directly in the world. They can only be put into containers or actors.
* If a container contains a leveled list that provides an item, and a set quantity of that item, only the leveled list may appear in the container. To resolve this, simply use a leveled list to generate the set quantity, and place that in the container instead, and the amounts will properly combine.
 
==References==
 
* [[How Oblivion engine deals with NPC leveled equipment]]


[[Category:Items]]
[[Category:Items]]
[[Category:Leveled Lists]]
[[Category:Leveled Lists]]
Anonymous user