Map Editor Problems

Do you have a question on map editing, how use the map manager or want to make your new map public? Post here.
posted on February 9th, 2014, 12:41 pm
I've been working on a map for a mod......The Problem:

Shown within the accompanying picture, you can see that the Map Editor has gone from working to not working right between testing a station with no changes done to any file other than the station I've been testing armaments for, Deep Space Nine.

As you can see, the entire map background has vanished and has been replaced by a black background (not the true space background in the game) and text has also appeared in the map editor when placing units down and when playing within the setup testing map, the text never goes away and anything I do can't get rid of it. I've circled in white the text I am describing, text that's never ever appeared in my Map Editor before until now.


IMG_0640.JPG (429.5 KiB) Viewed 829 times
posted on February 9th, 2014, 2:31 pm
Try pressing Alt-M. I am not entirely sure if that is what is being displayed, but per, Alt-M is "# Toggle showing memory information"

EDIT: or Alt-Y , similar function "# Toggle the display of debugging info"
posted on February 12th, 2014, 3:35 pm
SquireJames, thanks for your tip but it didn't work. Instead Alt-m brought up the new circled text and using Alt-m again closes. Also, the suggestion of Alt-y didn't do anything at all.

I've also attempted in trying to use the Alt key with other letters (A-Z) and none of them got rid of the text that I have mentioned and circled in the previous post's picture. None of the letters tried with the Alt key even removed the black screen preventing the game's true normal space background from showing up along with preventing weapons fire from showing up.

Does anyone know how this text is showing up and how to get rid of it? I also don't understand how one day this text would just show up within the Map Editor after testing one ship out and the next time opening the Map Editor and the text circled in the first picture starts showing up and never going away.

Things I was doing besides testing ships and stations out in the Map Editor, I had edited the Dynamic_Localized_Strings.H file and the RTS_CFG.H file trying to get the name of my special testing map to show up with its name within the map selection menu for the Map Editor. It didn't work so I removed the coding I added, after that the text circled within the first post's picture showed up. What does anything within these files have to do with the Map Editor?

Also note: This text and map background being all black is also not just affecting the Map Editor Maps but Instant Action maps as well. (This mod doesn't yet have its campaign redone but I suspect its maps look the same.) I have also included a picture from the Instant Action map showing the same text as in post one's picture and no space background either.

With the two files included in the zip file, the game now crashes when turning off the Ferengi and doesn't show the correct text when trying to edit the max resources for starting an Instant Action game. This was also working right prior to editing and then removing the edited text. Other that the names to the Federation Campaign missions being changed a month ago, these files are exactly how they were prior to this unknown text showing up yet supposedly they are the root to the problem since it started after editing and removing the coding to add the name of my "testing map" to the list of map names.


The Changed
(43.94 KiB) Downloaded 149 times
IMG_0646.JPG (333.4 KiB) Viewed 760 times
IMG_0645.JPG (367.33 KiB) Viewed 760 times
posted on February 24th, 2014, 3:20 pm
I've narrowed down the Map Editor Problem to the RTS_CFG.H file I edited since the Dynamic_Localized_Strings.H file doesn't appear to affect the Map Editor. I replaced both files with the versions in the STA2_Classic Mod and then gave them the edits prior to the ones that "broke" the Map Editor and now the Map Editor is back to normal. What I don't know is what in the RTS_CFG.H file "broke" the Map Editor.
posted on February 25th, 2014, 5:35 pm
If you like, send me both files (the one that works and the one that "broke" the map editor) I have a file comparison program that should be able to isolate the difference. Then we can see why that change of value for example might have caused the editor to cease functioning.
posted on March 13th, 2014, 1:19 am
What you are looking for is inside the RTS_CFG.h file. Here it is

// should the control panel be displayable

Check your original file and reset the value to "0" (off). Or you could simply disable the command by placing the following line over the one in your file.

// int cfgCONTROL_PANEL_SHOW = 0;

I hope this helps.
posted on March 13th, 2014, 3:45 pm
Thunderfoot006, I'm not sure if you've taken a look at the files in question but SquireJames has compared the two files together, the ones that are working right and the previous ones that weren't working and there are no differences in the two versions of each file other that the Time Stamps for when they were edited.
In both files, the only coding that I changed involves the Max_Dilthium, Max_Crew, Max_Latinum, Max_Metal, Max_Officers, and the Starting amounts for each one of those as well.
The "int cfgCONTROL_PANEL_SHOW = 0;" coding was totally left alone in all versions if the RTS_CFG file and was never changed. That wasn't what was causing the problem and its still a mystery since the only changes involved what I previously stated above.
posted on March 13th, 2014, 10:20 pm
Then I have no idea at all where the fault is. Sometimes, this game is like that. Problems will suddenly show up for no reason. About all you can do in this case is save a copy of your game right after you make a significant change. At least then all your previous work will not be for nothing.
posted on March 16th, 2014, 1:24 pm
I don't know if this will help, but I recently discovered a problem with my mod: when you edit dynamic_localized_strings.h you change it to UTF-8 in order to change some of the variables, but you have to change it back to ANSI when you save the file or it causes a CTD on 32 bit machines. Maybe there was some sort of format change between the two files you're looking at?

Who is online

Users browsing this forum: No registered users and 1 guest