Hi! FlareRPG version 1.0 came out recently. I looked around a bit.
Then hailing Free and Open Source (FOSS) nature of the game I quickly "mapped" the maps of empyrean_campaign (the main SP game). Here's what I got:
Ah! You want some scalable format, e.g. PDF, for printing? Here.
How it's made? Easy:
Then hailing Free and Open Source (FOSS) nature of the game I quickly "mapped" the maps of empyrean_campaign (the main SP game). Here's what I got:
Ah! You want some scalable format, e.g. PDF, for printing? Here.
How it's made? Easy:
#!/bin/bashThen convert with Graphviz:
GAMEPATH=${GAMEPATH:-/usr/share/flare/mods/empyrean_campaign}
cd "$GAMEPATH"/maps
echo "digraph G {"
grep intermap * */* 2>/dev/null | \
sed -E 's|[A-Za-z/]*maps/||g' | \
sed -E 's|.txt[^=]*=| -> |' | \
sed -E 's|.txt.*$||' | \
cat
grep -m1 title= * */* 2>/dev/null | \
sed -E 's|[A-Za-z/]*/||g' | \
sed -E 's|.txt:title=| [label="|' | \
sed -E 's|$|"]|' | \
cat
echo "}"
$ dot -T pdf flare.intermap.dot > /tmp/flare.overworld.pdfEnjoy!
$ dot -T png flare.intermap.dot > /tmp/flare.overworld.png
Комментариев нет:
Отправить комментарий