Allow maps to be defined in an ascii art file
Patches: #21
v1 - Allow maps to be defined in an ascii art file
Example of how this works:
<map id="0" type="world" fname="custom-world.map" isAscii="true" width="19" height="17" levels="1" borderbehavior="wrap" showavatar="true" music="1" tileset="base" tilemap="base"> </map>
custom-world.map: ##.####--===~~~~~=- #$...;;;--===~~~~=- .....;;;;-====~~~=- .*........---==~~=- ............-====-- ..........@..----^^ ............::|:^^^ ..+........:!!-:^#^ ..........:!!!!:^^^ -.........::!!:::^^ ===--|-...%::::::.. -..........^....... ................... ........CANDY...... .?.......[&]....... ........LA.ND...... ...................
subset of modified tilemap-base.xml: [...] <mapping symbol="~" tile="sea"/> <mapping symbol="=" tile="water"/> <mapping symbol="-" tile="shallows"/> <mapping symbol=";" tile="swamp"/> <mapping symbol="." tile="grass"/> <mapping symbol=":" tile="brush"/> <mapping symbol="!" tile="forest"/> <mapping symbol="^" tile="hills"/> <mapping symbol="#" tile="mountains"/> <mapping symbol="$" tile="dungeon"/> <mapping symbol="*" tile="city"/> <mapping symbol="@" tile="castle"/> <mapping symbol="+" tile="town"/> <mapping symbol="[" tile="lcb_west"/> <mapping symbol="&" tile="lcb_entrance"/> <mapping symbol="]" tile="lcb_east"/> [...]
As of version 1.2 the official way to modify maps is via TMX files.
I think it's safe to say after 14 years that it's no longer relevant to me and it can safely be closed :)
On Sat, Jul 29, 2023 at 12:49 PM Karl Robillard wickedsmoke@users.sourceforge.net wrote:
As of version 1.2 the official way to modify maps is via TMX files. [patches:#21] https://sourceforge.net/p/xu4/patches/21/ Allow maps to be defined in an ascii art file Status: open Group: Created: Mon Oct 19, 2009 12:14 AM UTC by Mike Kienenberger Last Updated: Mon Oct 19, 2009 12:14 AM UTC Owner: nobody Allow maps to be defined in an ascii art file Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/xu4/patches/21/ To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
[patches:#21] https://sourceforge.net/p/xu4/patches/21/ Allow maps to be defined in an ascii art file
Status: open Group: Created: Mon Oct 19, 2009 12:14 AM UTC by Mike Kienenberger Last Updated: Mon Oct 19, 2009 12:14 AM UTC Owner: nobody
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/xu4/patches/21/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Log in to post a comment.
v1 - Allow maps to be defined in an ascii art file
Example of how this works:
<map id="0" type="world" fname="custom-world.map" isAscii="true" width="19" height="17" levels="1"
borderbehavior="wrap" showavatar="true" music="1" tileset="base" tilemap="base">
</map>
custom-world.map:
##.####--===~~~~~=-
#$...;;;--===~~~~=-
.....;;;;-====~~~=-
.*........---==~~=-
............-====--
..........@..----^^
............::|:^^^
..+........:!!-:^#^
..........:!!!!:^^^
-.........::!!:::^^
===--|-...%::::::..
-..........^.......
...................
........CANDY......
.?.......[&].......
........LA.ND......
...................
subset of modified tilemap-base.xml:
[...]
<mapping symbol="~" tile="sea"/>
<mapping symbol="=" tile="water"/>
<mapping symbol="-" tile="shallows"/>
<mapping symbol=";" tile="swamp"/>
<mapping symbol="." tile="grass"/>
<mapping symbol=":" tile="brush"/>
<mapping symbol="!" tile="forest"/>
<mapping symbol="^" tile="hills"/>
<mapping symbol="#" tile="mountains"/>
<mapping symbol="$" tile="dungeon"/>
<mapping symbol="*" tile="city"/>
<mapping symbol="@" tile="castle"/>
<mapping symbol="+" tile="town"/>
<mapping symbol="[" tile="lcb_west"/>
<mapping symbol="&" tile="lcb_entrance"/>
<mapping symbol="]" tile="lcb_east"/>
[...]
As of version 1.2 the official way to modify maps is via TMX files.
I think it's safe to say after 14 years that it's no longer relevant to me
and it can safely be closed :)
On Sat, Jul 29, 2023 at 12:49 PM Karl Robillard wickedsmoke@users.sourceforge.net wrote:
Related
Patches:
#21