[crossfire] Random map layout

alex_sch at telus.net alex_sch at telus.net
Sun Mar 18 00:15:09 CDT 2007


Quoting Nicolas Weeger <nicolas.weeger at laposte.net>:

> Current random map layouts are kind of limited, and repetitive, and such :)
> To improve that, I'd like to either alter existing layouts or add new ones.

Agreed :)

> I just committed some changes that enable a plugin to access random map code
> generation, including giving a layout for map filling (add walls, exits, 
> monsters, ...).
> 
> Would it be better to add those new layouts through a plugin, or directly
> into 
> the random_maps code?

My view is that it'd be best to include directly in the random_maps code, except
for two cases: 1) prototyping, or 2) a layout that's completely unique to one
location in crossfire and isn't that useful elsewhere.

Alex Schultz




More information about the crossfire mailing list