Add new comment
A maze for DS |
||
Submitted by KillerGremal on Sat, 2013-04-27 15:47 | ||
I was looking for a lost piece of experimental code to possibly tune my mods with, and while browsing the backup folders I stumbled upon an old trial about creating/importing labyrinths for the siege editor. Unfortunately there were no comment why I didn't proceed this idea at that time, so couldn't resist to do some additional tunings to make a prefab for the Siege Editor with help of an auxiliary grid and text table: There are 4 types of nodes intended for the labyrinth - floor, wall, L-shaped corner, small 'walk-around' (convex) corner. 4 letters/keys are used for each node type - for example q, w, e, and r for the L-shaped corner depending on its placement/rotation. q y y a 3 s y y y y y y y w q y y y w v d c c c c c c c c f d f x v d f 1 x v s y y w q y y y y a x v x r e v d e r c c f x v d c c c c e v x q y a s w q y y a x v x q w q y y a x v d c f x v d c f x v x v x v d c c e v x q a x v s w v s a s a x v s y y y a x v d e r f x r c c c f x r c c f d c e v s w q a x q y y w v x q y y a x q w r c e v d e v d f x v x r c c f x v s y y w v s y a x v x v x q y y a x v d c f x r c c c e v x v x v d c c e v x q a x q w q y y a x v x v s w q y a x v d e v s a d f d e v x r f x v d c e v s w v d c e v x q a s y a x v x q w r f x v x q y a x r c c c c e v x v s y a x v x r c c e q w q y y w v x v d c c e v s y y y y a s a d f s a x v s y y w r c c c c c c c c e r c c e r f 4 d e As experienced creating this table is the most vulnerable and painful step (...dreaming of any OCR tool to do this). However a PHP script turned it then into a prefab so the Siege Editor could read it: Actually I never passed such a labyrinth in-game so far. One reason for suspending this idea probably was the path-finding in DS - an autopilot widely would vitiate a maze, unless doors, barricades, etc. will be added too. However some rework (start and finish area, torches, spider webs, etc.) would be needed anyway to make it an attractive environment. blogs: |
||