SEED - Known bugs

From The DarkMod Wiki
Revision as of 11:42, 23 July 2010 by Tels (talk | contribs) (add)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Introduction

The new LODE system can generate entities for you, in random or image-map based distributions, with random rotations and more. This page lists a few of the know bugs and not-yet-completed features:

Rotating

It is not possible to abitrarily rotate the lode inside DR. The only way to rotate the LODE shape is by adding an "angle" spawnarg on the LODE.

To find out the value of "angle", rotate the LODE inside DR until it fits, then rotate it back and set the angle spawnarg accordingly.

Inhibitors

At the moment you cannot set spawnargs on inhibitors. For instance it is not yet possible to change the inhibition distribution, it will always be 100% everywhere.

Density and Entity Count

The calculation of the entity based on the density does not take into account inhibitors, the falloff distribution of any image map based inhibition. Instead if always assumes that all entities are distributed evenly across the entire space.

This means if you change the falloff from "none" to "cutoff", the space where entities spawn is reduced from W * L (where W and L are the width and length of the LODE) to:

pi * W/2 * L/2

This is roughly 78% percent of the area of the rectangle in fits in. However, the density is still calculated from the entire area, so you end up with the same amount of entities placed into less space, hence a more dense entity field.

Workaround

For now you must manually lower the density when you change the distribution. This will likely get fixed soon, as this is very cumbersome, esp. with multiple inhibitors and image based falloff maps, which make the required calculation for the density adjustment non-trivial.

See also