Differences

This shows you the differences between two versions of the page.

Link to this comparison view

user:blue_anna [2010-09-19 23:28]
blue_anna
user:blue_anna [2010-09-19 23:35] (current)
blue_anna
Line 26: Line 26:
 If you increase the **level** return val for a creature, it moves the central axis for the curve for that monster deeper into the branch. If you increase the **rarity** return val for a creature, you get a larger curve. it doesnt sharpen (become like the blue curve), it doesnt change shape.  If you increase the **level** return val for a creature, it moves the central axis for the curve for that monster deeper into the branch. If you increase the **rarity** return val for a creature, you get a larger curve. it doesnt sharpen (become like the blue curve), it doesnt change shape. 
  
-you probably want to do that. You want sharp curves, and wide curves (the natural distribution is several levels wide, and should be regarded as a wide distribution imho). you want asymetrical curves, with a sharp curve before the level you target (so the mosnter basically doesnt show up too early, but comes on in force once you get to that level), or you want sharp curve after the target level (so that another creature that shows up later in enum.h doesnt lose slots to an earlier creature). Here's how to do that in your custom rarity function:+you probably want to do that. You want  
 +  * **sharp curves** -- for monsters that should more or less only spawn around a specific level. 
 +  * **soft curves** -- for monsters that are fairly rare, so the don't only show up basically on the one level from the level function. (the natural distribution is several levels wide, and should be regarded as a wide distribution imho) 
 +  * asymetrical curves, with a **sharp curve before** the level you target -- so the monster basically doesnt show up too early, but comes on in force once you get to that level 
 +  * **sharp curve after** the target level  -- so that another creature that shows up later in enum.h doesnt lose slots to a high-frequency creature with a slightly smaller level func ret val for this creature.  
 + 
 +Here's how to do that in your custom rarity function:
  
 <code>int mons_MYBRANCH_rare(int mcls) <code>int mons_MYBRANCH_rare(int mcls)
Logged in as: Anonymous (VIEWER)
user/blue_anna.txt · Last modified: 2010-09-19 23:35 by blue_anna
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki