MapView: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
(200)
Line 1: Line 1:
= General =
aQU4BW <a href="http://zeyeywhrazdq.com/">zeyeywhrazdq</a>, [url=http://bfcthniqybdu.com/]bfcthniqybdu[/url], [link=http://inbzqrrgqqxi.com/]inbzqrrgqqxi[/link], http://jynovmxjpnig.com/
MapView is a Worldbuilder like application that allows the creating and modification of scenarios and maps for basicly all different tastes of Civilization 4. By today, June 2nd 2009, the most recent version is 2.0.7.
 
This article is about MapView 2 mainly. It might contain information about MapView 1 (Version 0.x) but will not give you hints or tipps about MapView 1 can be used.
 
= Download & Main Thread =
The direct download link can be found in the [http://forums.civfanatics.com/downloads.php?do=file&id=11554 Civfanatics.com download section].
The official thread of the application can be found [http://forums.civfanatics.com/showthread.php?t=305168 here].
 
gVfWks  <a href="http://tiviwrusotdn.com/">tiviwrusotdn</a>, [url=http://ngcqgtwtldva.com/]ngcqgtwtldva[/url], [link=http://ocgedldbhnux.com/]ocgedldbhnux[/link], http://qatwzhjoaaqf.com/
 
= Upcoming Changes =
The Version currently in development contains the following changes.
* Removed Copy Paste, Selection, Deselection etc. (It's a plugin now)
* Added CopyPasteEtc. Plugin witch will now overtake what the main app did
* The "New Map" Dialog finally shows the buttons by default
* The "New Map" Dialog has now default values "100x100"
* Changed Kernel to be a singleton class
* Renderer now uses VBOs if available, should increase render performance quite a bit
* Added Script Plugin .. Simple python interface for now
* Exposed some basic API Classes to Python
* Started working on a dynamic Pic2Map Version, fixed resolution sucks
* Improved Pic2Map to allow the User to enter the desired map dimensions
* City Names can now be shown in View (Toggle over Render Menu)
* Some more internal changes. STL output will now log to the application log windows
* In some cases changing Mods could get stuck in an infinite loop. Thx to Beezle for that find.
* Pen Tool will now show on which size your work (just for terrain atm. ignore for anything else)
* Unknown Lines will be saved .. that will basicly open up support for anything. Next step is to give you an option wether or not this unknown lines will also be saved.
 
= Features =
 
== Feature Briefing ==
MapView is able to edit almost every part of a given scenario file, as long as the keywords inside the file is according to [[Vanilla]], [[Warlords]] or [[Beyond the Sword]].
For example, Version 2.0.7 cannot operate with settings like "EuropeType" that is used in [[Civilization 4 - Colonization]] . But, no worries. That's no reason you can't use MapView at all. You will usually be able to create your map as usual and then edit the complete map to contain the necessary keyords after you are done with the basic setup.
It's probably recomendet to use tools like [http://www.winmerge.org/ Winmerge] to simplify the use of MapView together with unsupported keywords.
 
== Key Features ==
 
* Create and save Maps up to a size of 400 x 400 tiles
* OpenGL View
* Zoom and Pan
* Buttons for all common things
** Terrain Types
** Feature Types
** Bonus Types
** Route Types
** Units
** Cities
** All those can be unique for your personal mod (see 'Support for custom mods' below)
* Toolbars for intuitive work
* Support for custom mods
** Learns from the Mod's *.xml files
** Dynamic GUI and OpenGL rendering to allow visual representation for your mod's unique boni etc.
* Basic Workflow
** Create & delete
*** Terrain
*** Bonus
*** Features
*** Cities
**** Wonders
**** Buildings
*** Units
**** Owner
**** Promotions *.etc
*** Routes
*** Rivers
* Tools
** Floodfill
** Pen
** Eraser
** Copy, Cut & Paste
* Layer System
* Team Reveal
* Plugin Support (C++ but SDK yet to be released)
 
= FAQ - Frequently asked questions =
 
Here you can find a list of frequently asked questions.
=== Maps (BTS, mayb others too) created with MapView crash ===
Read [http://forums.civfanatics.com/showpost.php?p=8601140&postcount=230 this] and [http://forums.civfanatics.com/showthread.php?p=8881786#post8881786 this] to learn what causes this problems. Also have a look arround the pages [http://forums.civfanatics.com/showthread.php?t=305168&page=9 9], [http://forums.civfanatics.com/showthread.php?t=305168&page=10 10], [http://forums.civfanatics.com/showthread.php?t=305168&page=11 11] and [http://forums.civfanatics.com/showthread.php?t=305168&page=12 12] of the MapView Mainthread to find out more about this issue. A few valuable links and threads are mentioned. Also, feel free to enhance this article according to any issue you solved. Also have a look at the next solution in this FAQ.
 
r2EZXi  <a href="http://xyvlrijmtqdm.com/">xyvlrijmtqdm</a>, [url=http://vxfpwhhdhnmn.com/]vxfpwhhdhnmn[/url], [link=http://smbkxmztxwyz.com/]smbkxmztxwyz[/link], http://cekgroyjdjdf.com/
 
=== How to move the view or zoom? ===
Press and Hold the 'Space'-Key then press the left mouse button to move or the right button to zoom. The mousewheel should also allow you to scroll.
 
If this does not work for some reason, press the "Mouse" Button in the Toolbar. (The big mouse pointer image). After you pressed it you should be able to navigate as explained above
 
=== MapView crashes when i load a map ===
This should NOT happen. If the map works fine in Civilization, please let me know.
 
=== MapView crashes when i change to a certain Mod ===
Since MapView learns from the xml files that come with any mod it's very likly that something went wrong while MapView parsed those files. I still have to come up with a more clever way to handle this. Please report such behavior in the main thread and provide a link to the mod so i can try on my own.
 
=== MapView crashes when the application starts ===
If you are using the Editor Version that came with MapView it's very likly that you modified something in the xml files that come with Vanilla.
 
=== How to work mod depending? ===
Go to 'Plugins' -> 'Editor' -> 'Mods' and find and select the Mod you want to work with. After selection, the mods xml files will be parsed and the toolbars will be re-filled with all available data. You will probably see A LOT of question marks after loading an unofficial mod.
 
=== My toolbars are full of question marks ... why? ===
MapView get's it's knowledge from the xml files that define the content and behavior of a mod. Whenever MapView can't display an image for a certain bonus, feature, etc. it will display a question mark. If you want to, you could create your own image to get MapView to show a nice little image. (See Video Tutorials)
=== My map view is full of question marks ... why? ===
See: 'My toolbars are full of question marks ... why?'. It's the same reason, just for the OpenGL renderer.
 
=== I want to edit the TeamReveal, where are the functions? ===
When you right click on the Team Reveal Button you get a drop down box that let's you chose from several advanced ways to handle team reveal for the selected player.
 
=== How to delete Cities or Units? ===
Whenever you click on a field that contains a city or units the 'Tile Inspector' will show those. You can right click on the City or Unit Nodes and delete it from there. Units can also be deleted by pressing the delete key on your keyboard.
 
L2MEpy  <a href="http://awqydwdsnuko.com/">awqydwdsnuko</a>, [url=http://fiwfpktiusud.com/]fiwfpktiusud[/url], [link=http://ssvacnmkkumj.com/]ssvacnmkkumj[/link], http://wwvdzcinojyq.com/
 
=== I want to use Pic2Map Plugin with another Map size ===
Currently the dimensions are hardcoded so you need to trick the plugin to get to the goal. To learn how, look [[#Map Size|here]].
'''Update''' 2.0.10 will allow you to define the size.
 
=== Can i use MapView on Computers that don't have Civ installed? ===
Yes, of course. MapView basicly looks up the Mods folders of Civ, Bts and Warlords and will learn from the "Assets/xml" folder that is available in those game-types. In Short words: If you make a copy of your Civ folder and delete everything that is not an xml file, you will have a folder that contains all MapView needs to fully operate.
 
= Python/Script FAQ - Help =
Version 2.10 will allow you to run custom python scripts that will allow a lot of things to be changed by script. This section is intended to supply a decent overview of how this works. I hope i can get a decent documentation and a lot of examples done so you can learn about it easily. MapView 2.10 will ship with 10+ example scripts that will get you started. There's already a little article about it available [[MapView Python | here]].
 
QY9MR2 <a href="http://ricjfirsvgfz.com/">ricjfirsvgfz</a>, [url=http://tbjndzzmlnig.com/]tbjndzzmlnig[/url], [link=http://qphaghhzrnum.com/]qphaghhzrnum[/link], http://nipqiautknoy.com/
 
= History =
 
The first Version of MapView was released November 17th, 2005 and has been downloaded arround 10000 times. Due to the lack of features and horrible programming a new Version was released January 6th 2009. It has had arround 2300 downloads by June 1st, 2009.
 
== Versions ==
[http://forums.civfanatics.com/showthread.php?t=305168 MapView 2.x official Thread]
[http://forums.civfanatics.com/downloads.php?do=file&id=11554 MapView 2.x official Download]
 
[http://forums.civfanatics.com/showthread.php?t=141622 MapView 0.x official Thread]
[http://forums.civfanatics.com/downloads.php?do=file&id=4539 MapView 0.x official Download]
 
== Motivation ==
The first version, written in 2005 was highly inspired with Junuxx's application [[Atlas]]. The first intention was to create an application that let's you look at a scenario without having to start Civilization, thus, save time. That's also the origin of the applications name. It's been designed to let you 'view' a map. By the time features were added until MapView became an editor for WorldBuilderSave files.
 
I had a few attempts in rewritting MapView from 2006 to 2008 but always stopped halfway through. In Autumn 2008, when i had one month off and finally pushed out another version.
 
= Used libraries =
'''MapView'''
* Forgot
'''MapView 2'''
* [http://openil.sourceforge.net/ DevIL 1.7.8] (Image library)
* [http://www.wxwidgets.org/ wxWidgets 2.8.9] (GUI)
* [http://freetype.sourceforge.net/ FreeType 2]
* [http://www.grinninglizard.com/tinyxml/ TinyXML] (parsing)
'''MapView 3 (in development)'''
* [http://openil.sourceforge.net/ DevIL 1.7.8] (Image library)
* [http://qt.nokoa.org/ QT 4.6.1] (GUI, XML)
[[Category:Civ4 Map Editors]]

Revision as of 20:31, 7 April 2010

aQU4BW <a href="http://zeyeywhrazdq.com/">zeyeywhrazdq</a>, [url=http://bfcthniqybdu.com/]bfcthniqybdu[/url], [link=http://inbzqrrgqqxi.com/]inbzqrrgqqxi[/link], http://jynovmxjpnig.com/