Skip to content

Posts from Current questions and answers regarding the map editor.

5.0 (12 ratings)
In reply to Эритроцитоз
User Avatar
13 years ago
Auto-translated
Erythrocytosis
Nothing has changed.
Do you experience this only with this map, or with other maps as well?
In reply to sarkkot55555
13 years ago
Auto-translated
sarkkot55555
Does this happen only with this map or with other maps as well?

Only with this one. I think there's nothing more to be done. I just need to make backups more often.
In reply to Эритроцитоз
User Avatar
13 years ago
Auto-translated
Erythrocytosis
Only with this one. I think there's nothing else to be done. You just need to make backups more often.
You're right here; it could have happened if some object was placed incorrectly.
User Avatar
13 years ago
Auto-translated
Oligarch, thank you for the advice; I figured out the music. But what should I do with the sounds? I want a specific sound to play at a certain moment (like a horn sound, for example). The Play2DSound function only reads the .xdb format, as I understand it. How do I create it, and is it necessary to create one?
And another question, which might be obvious and not new, but I couldn't find the answer in the search. How do I create an arena? I want a different arena to be used during a castle siege.
In reply to MasteR
User Avatar
13 years ago
Auto-translated
Okay, here's the deal: I don't remember all the intricacies of sound creation, but here's what I do: create a folder in the root directory (I have one called "Complete") with an English name, and put the ogg files in there.
Then, go to the extension editor, select "Select Tables - Sound" (or "2DSound," I don't remember exactly).
Create a new one.
And here's the script:
Play2DSound("/Sound/Sound.xdb#xpointer(/Sound)");
User Avatar
13 years ago
Auto-translated
Thanks again!

Added 6 hours and 49 minutes ago
Could you please provide more details about where to put what? I can't seem to make it work.

Added 10 hours and 57 minutes ago
I need to make sure that the people who download the map also have the music and sounds.
In reply to MasteR
User Avatar
13 years ago
Auto-translated
I'm telling you, I don't remember exactly, it was a long time ago. What do you mean "it doesn't work"? What does the console say?
If you want other players to have the music too, they need to place the music and sound files in the same way.
13 years ago
Auto-translated
How to fix this AWFUL, TERRIBLE, HORRIBLE text distortion in the editor?
Attachments 1
1 file attached • Total size: 12.7 KB
User Avatar
13 years ago
Auto-translated
it ALWAYS happens with me the first time I load a map. If I open the same map again, it disappears.

by the way, it doesn't affect the entire terrain on the map, nor does it affect all types of objects.
In reply to HAndOS
User Avatar
13 years ago
Auto-translated
revived
How do I fix this AWFUL, HORRIBLE TEXT PROBLEM in the editor? ???????????????
Unpack this or this into the bin folder of the installed game.
13 years ago
Auto-translated
Why, when I finish building a map and there are no errors, does it not appear in the game, but instead, when I load it in the editor, it gives an error? Please advise on what to do, because it's frustrating to have spent so much time creating a map, only for it not to load.
In reply to Cok69320
User Avatar
13 years ago
Auto-translated
Cok69320
Why, when I finish building a map, there are no errors, but it doesn't appear in the game, and when I load it in the editor, it gives an error. Can you tell me what to do, because it's frustrating to have the map all made and then it doesn't load.
Maybe the problem is with the editor itself; I had the same issue, so I installed a different one. It might not appear in the game because you haven't configured the map properties correctly, such as the conditions for each player, etc. And in general, make frequent backups and check if they load, so your work won't be in vain. When working with scripts in the editor, you need to be twice as careful. In my case, only one out of five attempts doesn't cause a glitch or an error.

Added 3 minutes later
Guys, the question remains open. Olegarch helped me with the music, but I still can't figure out the sounds. I tried this: in the map properties tree, I selected music->shared, created a new folder with the sound file, and specified the path to the original (in ogg format). But will I be able to play it in the game this way, and how do I do it? Or does everything need to be done completely differently?
In reply to Cok69320
User Avatar
13 years ago
Auto-translated
Cok69320
Why, when I finish building a map and there are no errors, does it not appear in the game, but instead, when I load it in the editor, it gives an error? Please advise what to do, because it's frustrating to have spent so much time on a map only to find that it won't load.

1) The path to the map is specified incorrectly.
2) The map name is written in the wrong language, in this case, Russian.
In reply to MasteR
User Avatar
13 years ago
Auto-translated
Play in game - Play2DSound(Path/Sound.xdb#xpointer(/Sound))
In reply to Олегарх
User Avatar
13 years ago
Auto-translated
Oligarch
To run in the game: Play2DSound(Path/Sound.xdb#xpointer(/Sound))
It constantly writes in the console that the file was not found. I have tried many options. Can you tell me whether to start writing the path with GetMapDataPath().. or with the folder where the file is stored in the map? And what does xpointer refer to? Maybe if I understand the principle, I will finally figure it out.

Statistics

Welcome our newest member: recijeb