[Crossfire-wiki] [Crossfire DokuWiki] page changed: dev_todo:fancy_generators

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Sat Feb 17 10:10:38 CST 2007


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2007/02/17 10:10
User        : mhoram
Edit Summary: updating implementation notes

@@ -38,8 +38,13 @@
  * The other key would allow spawner to get into slower mode - where it works twice slower, but probably with the same max capacity.
  
  
  Please add new ideas here.
+ 
  
  ==== Implementation ====
  
  So far, I've added the ability for generators to create monsters within a radius, which is set with the ''generator_radius'' field in the object.  This defaults to 1 if not set.  Patch for this is at [[http://baugher.pikenet.net/cf/generator_radius.patch]].
+ 
+ The limit has been implemented.  Patch is here: [[http://baugher.pikenet.net/cf/generator_radius.patch]].  If a generator has ''generator_max'' set, it will only create new objects when there are less than that many objects belonging to it already on the map.  This works a little funny at the edges of tiled maps:  If the generator creates a monster on the neighboring map, it won't be counted, so it could end up creating more than the limit.  I'm not sure whether this is really a problem, but if it is, it could be fixed by preventing the generator from creating monsters on other maps.
+ 
+ Both these changes have been committed to trunk.


IP-Address  : 206.71.197.56
Old Revision: http://wiki.metalforge.net/doku.php/dev_todo:fancy_generators?rev=1170974959
New Revision: http://wiki.metalforge.net/doku.php/dev_todo:fancy_generators

-- 
This mail was generated by DokuWiki at
http://wiki.metalforge.net/




More information about the crossfire-wiki mailing list