Создание сценариев - FAQ

Материал из Wesnoth Life Wiki
Перейти к: навигация, поиск

Frequently Asked Building Scenarios Questions:

Are there any tools to help me create maps and scenarios?

Yes, there is a tool called wesnoth_editor. When compiling from source do not forget to add to the following option to your configure command:

./configure --enable-editor

else the editor will not be build. You can invoke it from the shell with the command:

wesnoth_editor

but normally a .desktop file will be created for your convenience!

What are the .cfg files and how can I edit them?

The .cfg files are plain text files, just saved with a file extension ".cfg". You can create and edit them using normal text editors; just save the files in correct format.

Please note that some Windows programs like to add a ".txt" extension, so the file is instead of "my_scenario.cfg" saved as "my_scenario.cfg.txt". And then the Windows Explorer will hide the ".txt" extension, so you may not notice it.

Notepad: After you create a document, click "File", "Save as..." and select "Save as type: All files". To open the document, click "File", "Open..." and select "Files of type: All files (*.*)". If you open someone else's document, and the end-of-line symbols are displayed as small rectangles, you have to use another editor.

WordPad: After you create a document, click "File", "Save as..." and select "Save as type: Text Document". After the document is saved, close WordPad and remove the ".txt" extension from file. To open the document, click "File", "Open..." and select "Files of type: All documents (*.*)".

I already created a campaign and published it on the campaign server. How can I get translations for the campaign?

Just have a look at WesCamp. This project is the easiest way to get translations for your campaign. All the info you need you can find at WesCamp.


How do I place an object or unit on my map with the map editor?

You can't. You need to make a multiplayer scenario file. There are more details on the maps page.