[CF-Devel] [Fwd: Re: DM command: freeze]

Tim Rightnour root at garbled.net
Sat Jun 29 10:51:59 CDT 2002


On 28-Jun-02 Mark Wedel wrote:
>
     
        I was thinking of that - the command issued would dump them right to some
     
     >
     
      spot 
     
     >
     
      on the map.  But the fact that there are different locations for different 
     
     >
     
      penalties made that a little more difficult.  And the fact that I would
     
     >
     
      prefer 
     
     >
     
      that such information is dynamically generated - perhaps by something like a 
     
     >
     
      .jails file in the map directory, vs having compiled in values.
     
     
Using a jails file.. and perhaps some creativity.. you could do something like
this:

prison bob 1

And send bob to prison cell one.  cells would be defined in the jail file, with
mapnames and coordinates of arrival.  Perhaps you could even come up with a way
to figure out which cells were occupied, so "prison" with no args gives you a
list of the incarcerated.  Perhaps the jails file would define the four
interior corners of the cell and you could scan the area for players.

I would suggest a global jails file, rather than one in the maps. That way you
could theoretically have more than one jail, and define them centrally.

---
Tim Rightnour <
     
     root at garbled.net
     
     >
NetBSD: Free multi-architecture OS 
     
     http://www.netbsd.org/
     
     
NetBSD supported hardware database: 
     
     http://mail-index.netbsd.org/cgi-bin/hw.cgi
     
     
    


More information about the crossfire mailing list