New Map Editor Release (Build: 3358)
New Features
-------
- Map Editor can now load/save big sector maps.
- Control hardcoded list of unclickable ("bad") sectors via XML file.
o On the strategic map, the player cannot click or highlight specific
sectors (e.g. A4, A5). Introduce a <BadSector> tag in MovementCosts.xml
that flags a sector as "bad". (<BadSector>1</BadSector>)
- Move hardcoded underground sectors initialization to Lua script file. (by Realist)
o Locate "initunderground.lua" at data-xyz\scripts ("xyz" subject to change).
Lua script allows easily adding underground sectors at arbitrary locations and defining enemy garrisons and creature population.
Also enables underground bloodcat population.
- Changed order of properties in GameSettings.cpp
- Sorted Data-1.13\ja2_options.ini
- Translated missing HAM 3.6 German Texts
Bugfixes
------
- In Method CreateDestroyMouseRegionsForFacilityAssignmentMenu()
- HAM 3.6 fixes
- Turns out that the program is saving the number of used Placement Slots to the temp file fine,
but if that number is equal to the limit of how many enemies/civvies are allowed in a sector by the INI settings,
it leads to an assertion error instead when trying to re-load that sector. (by Headrock)
- The DEBUG only setting "fEnableInventoryPoolQ" is now only enabled in a DEBUG version.
In all other builds it is set to FALSE.
Info Map Editor
-------
Q: How can I create Big Maps with the Editor?
A: 1.) Start the new Map Editor.exe file
2.) The Map Editor should load a map automatically
3.) You see now 2 new text boxes (Rows, Cols) in the taskbar
4.) Enter the size of the new map in the Rows text box. It should not be greater than 2000
Cols always have the same size than Rows. That's why you can't enter a number for Cols.
Normal maps have a size of 160 rows X 160 cols
5.) Now click on New map" or load an existing map
6.) The map should have now the new size you entered for Rows
If you loaded a map, the original map is placed in the center of the new big map
7.) Make any changes you like to the map
8.) Save the map. Depending on the mapsize it could take some minutes
9.) The map will be saved in the Profiles folder
Q: How can I easy navigate in the editor in big maps?
A: 1.) Use the arrow keys to scroll. For fast scrolling press SHIFT + Arrow keys.
2.) Press "i" and you get an overview of the map.
Use the Arrow keys to scroll. By pressing also SHIFT you scroll much faster
Q: What is the version 1.12 checkbox?
A: If this checkbox is checked, the map will be saved in version 1.13 (vanilla JA2) format
Q: What limitions for big maps has the current Map Editor?
A: 1.) Radar maps are not created correctly for big maps. Only the upper left corner of the map is shown in the radar map
2.) NPC-Scripts are bound to grid numbers. They are not yet converted to the new grid numbers when altering a normal map
3.) There are a lot of hardcoded grid numbers in the source code, so they only work with normal maps
4.) For now you should only create big maps, that do not have any NPCs on it, that trigger special actions
For outdoor maps or town maps (that do not have any NPCs special actions) big maps work fine
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1213 4f8fa57e-7814-0410-bad4-adc449f26b7c
- New "Map Editor" (build: 2736): No map editor changes so far, but it should fix the problem with ja2.set -> "displaying white rectangles"
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1128 4f8fa57e-7814-0410-bad4-adc449f26b7c
--Editor fixes from Kriplo
Implementation for mouse wheel support
Implementation for mouse middle button support
Fix for adding on roof tiles
Fix assertion when leave editor mode
On saving map check of entry points are add
Fix for to many ToolTip messages in place walls
Fix assertion on loading map without entry points
Fix assertion in Sector Summary if DevInfo directory not exist
Fix for problem of losing map edgepoints
Fix problem with losing stuff from LBE
Fix crash in meanwhile
--Game fixes from Headrock
Fixed a typo in the Health experience calcuation for strategic movement
Added "Draw" cost to weapons help data
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1044 4f8fa57e-7814-0410-bad4-adc449f26b7c
*** ja2.exe ***
Bugfixes:
- Fixed item "beaming" bugs that allowed items to be grabbed from a sector your merc wasn't currently in.
- Resolved a problem where ItemSize=99 items would cause a CTD because of a mission condition.
- Adjusted the ALT+W function so it runs a bit better.
- Merc with no ammo in autocombat leads to CTDs.
- Character names which are too long at IMP activation screen leads to CTDs.
- SHIFT+N allowed both sun goggles and NVGs to be worn at the same time.
*** Map Editor.exe ***
Bugfixes:
- Fixed the map editor so that "Nada" items don't appear in the item lists.
- Made an adjustment to the editor so that map version checking takes place when rebuilding the DevInfo folder.
This will allow maps to update properly if you switch between maps alot, while not forcing a major version update
when it's not needed.
- Minor update so that sector A9 will be the default map when a major version update has completed.
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@996 4f8fa57e-7814-0410-bad4-adc449f26b7c