Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Editor - Creating Quests
Author Message
imi Offline
Realmforge Studios
******

Posts: 717
Joined: Mar 2010
Post: #4
RE: Editor - Creating Quests
Ah, ok.. sorry. Now I know where the problem is.

There are two types of zip-distributions. "map" zips and "mod" zips. Mods are game-global and will be loaded when dungeons starts. Maps are loaded when a map start.

Most things you can do in a "per-map" basis. But some won't work, for example the localization system is initialized when the game starts and not refreshed on map start so changes to localization must be in a "mod". (Actually.. when writing it like this it doesn't make too much sense, as many text ids are only used in a single map. However, you have to think how we do translations here usually: Create one big file then ship it to some professional and get the translation back. Thinking it this way it makes more sense to have the localization "global").

Anyway, since you can add maps to a "mod" zip. So you have to juggle your files a bit around:

Make a subdirectory in mods/ subfolder named after anything you like to name your mod. There, create the "localization/" subdirectory and put the csv in there.

Once you are finished with your map, you can move the directory from your maps/ folder into a maps/ folder within your mod-folder.

So lets assume you name your map "exampleQuest" and the mod "exampleTranslationWithQuest", then the directory structure within your "mods" directory is like this:

Code:
exampleTranslationWithQuest/
    localization/
        en/
            texts-en.csv
        fr/
            texts-fr.csv
    maps/
        exampleQuest/
            level.zap
            object_templates.xml
            description.xml
            ...

This is also the directory struction within the zip file if you package the map later.

Hope it helps, Imi.

Lemme see whether I finish the "add localization" feature to the editor later. It's half-implemented by now (only reading, no writing).

[Image: ds18.jpg]
(This post was last modified: 18-02-2012 05:27 PM by imi.)
18-02-2012 05:15 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Editor - Creating Quests - Megafont - 17-02-2012, 06:12 AM
RE: Editor - Creating Quests - imi - 17-02-2012, 03:26 PM
RE: Editor - Creating Quests - Megafont - 18-02-2012, 02:34 AM
RE: Editor - Creating Quests - imi - 18-02-2012 05:15 PM
RE: Editor - Creating Quests - Megafont - 19-02-2012, 12:37 AM
RE: Editor - Creating Quests - imi - 19-02-2012, 01:45 AM
RE: Editor - Creating Quests - imi - 19-02-2012, 03:05 AM
RE: Editor - Creating Quests - Megafont - 19-02-2012, 04:16 AM
RE: Editor - Creating Quests - imi - 20-02-2012, 12:54 PM
RE: Editor - Creating Quests - Megafont - 21-02-2012, 03:56 AM
RE: Editor - Creating Quests - imi - 21-02-2012, 04:54 PM
RE: Editor - Creating Quests - Megafont - 22-02-2012, 04:03 AM
RE: Editor - Creating Quests - imi - 22-02-2012, 10:23 AM
RE: Editor - Creating Quests - Megafont - 23-02-2012, 01:17 PM
RE: Editor - Creating Quests - imi - 23-02-2012, 02:46 PM
RE: Editor - Creating Quests - Megafont - 24-02-2012, 01:20 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | kalypso media :: website | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication