Modding:Encounters and Population: Difference between revisions

Jump to navigation Jump to search
m
Add some info about the population:findblueprint and population:generate wishes
(Differentiate further between DynamicObjectsTable, DynamicInheritsTable, and DynamicSemanticTable, and add some more information on ExcludeFromDynamicEncounters.)
m (Add some info about the population:findblueprint and population:generate wishes)
 
Line 210: Line 210:


This is especially helpful when creating unique or rare NPCs and items, who aren't expected to simply appear in random zones. It is also useful when defining base objects, who serve as a template on which to construct other objects but should not themselves appear in-game.
This is especially helpful when creating unique or rare NPCs and items, who aren't expected to simply appear in random zones. It is also useful when defining base objects, who serve as a template on which to construct other objects but should not themselves appear in-game.
== Debugging population tables ==
There are two [[wishes]] available to make it easier to determine what objects appear in population tables:
* <code>population:findblueprint:&lt;blueprint&gt;</code>: shows the probability of a particular blueprint appearing at least once for every population table.
* <code>population:generate:&lt;table&gt;#&lt;amount&gt;</code>: generates a given population table the specified number of times, and then shows the frequency of various blueprints among the generated objects.
Both wishes are compatible with dynamic tables.


== Additional Info ==
== Additional Info ==

Navigation menu