asamy / forgottenmapeditor

Map editor written in lua for Open Tibia. Written with OtClient's framework.
Other
46 stars 20 forks source link

File with version #18

Closed comedinha closed 11 years ago

comedinha commented 11 years ago

On start up put a file loads with version... Exemple: tibia1010.dat (so will allow changing versions to edit different maps.."

VERSION    = 870  -- Most important for loading Tibia files correctly.
OTB_FILE   = "/data/materials/items"..VERSION..".otb"
XML_FILE   = "/data/materials/items"..VERSION..".xml"
MON_FILE   = "/data/materials/monster"..VERSION.."/monsters.xml"
NPC_FOLDER = "/data/materials/npc"..VERSION..""
OTBM_FILE  = "/data/materials/map.otbm"
DAT_FILE   = "/data/materials/Tibia"..VERSION..".dat"
SPR_FILE   = "/data/materials/Tibia"..VERSION..".spr"
asamy commented 11 years ago

You should make a pull request.

Also, how about just making a folder in materials for each version?

comedinha commented 11 years ago

https://github.com/allanference/forgottenmapeditor/pull/23