View Single Post
05/30/14, 01:40 AM   #8
Sharlikran
 
Sharlikran's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 655
Warning: Spoiler

If you click the spoiler, as you can see I need to make it modular or I'll end up with a wall of text. Each map file is already over 1200 lines long.

Originally Posted by Wobin View Post
The answer to 'how do I store this info' will largely rest on the question "What are you doing with the info?"

Note that you can store the information as sparsely as you need for storage purposes, and recombine them in game for speed of reference and create lookup tables and the like.
Two things 1) I want to pass the map name, "cahute de Cadwell^fd" as an argument to a function and return the zone, subzone, and an index number. Then use string.format to end up with "coldharbor/coldharbour_base". The index would be that it was the 5th map name in the array. 2) Pass the zone, subzone, and the index and get the map name of any of the three languages thus ending up with a way to translate "cahute de Cadwell^fd" to "Cadwell's Hovel".

Last edited by Sharlikran : 05/30/14 at 01:58 AM.
  Reply With Quote