[CF-Devel] Ingame map customisation / building

crossfire-devel at archives.real-time.com crossfire-devel at archives.real-time.com
Sat Nov 8 09:37:52 CST 2003


Hello.

I went on implementing ingame map customisation/building (if anyone 
wants patches to test, just ask).
It works correctly in most cases, but still has some glitches (like door 
sometimes seen as wall -> wall face is incorrect)

The issue i'm running into is to correctly see if something is a wall, a 
gate, where buildable is acceptable, and so on.
So here's what i plan on doing, for maps, or more precisely squares, you 
could build on:
* for walls & floors, set the type as FLOOR or WALL (easiest way to 
correctly check if it's really a floor or a wall)
* for walls, floors, buttons/pedestals, doors, gates (all items you 
could build/remove), use a subtype of for instance 1 (i think subtype is 
not used currently for those items)

Of course, it'd be even more easy to have a 'buildable' flag, but i can 
survive without :)

Comments? Criticism? Suggestions?

Nicolas 'Ryo'


_______________________________________________
crossfire-devel mailing list
     
     crossfire-devel at lists.real-time.com
     
     
     https://mailman.real-time.com/mailman/listinfo/crossfire-devel
     
     
    


More information about the crossfire mailing list