The MapView Project - Editor/Viewer

Gr3yHound

Mr.MapView
Joined
Mar 30, 2004
Messages
395
This version is outdated, use the new version



SIZE="5"]Last edit: 8 December 2008[/SIZE]

New total A W E S O M E Version in Development (really)

Teaser Movies: (The Release will still last at least 2 weeks since i m going on vacation this weekend)

Code:
[SIZE="3"][U]I NEED YOUR HELP[/U][/SIZE]
[SIZE="2"]I´d like to know about anything that nags you about creating scenarios. Whatever it is that´s soaking up your time. Tell me about it. Mayb i can provide a way to make your life easier.[/SIZE]
  • Completed new Features
    • TOTAL CODE REWRITE!!!!!!
    • Support of all native Civ4 placements
      • You can specify *.xml files to teach MapView
    • You can now add grafics for new bonuses, improvements, features, terrains by yourself
    • Quick Terrain-Field preview by Right-Click
    • Quick Edit opportunity via Right-Click menu (might be taken out due to usability)
    • Convert grafics (bmp/jpg) to WBS files (similar to BMP->WBS Converter)
    • Made the FloodFill-Tool 100% working
    • Option to clear the Map from
      • Routes
      • Improvements
      • Bonuses
      • Improvements
      • Cities
      • Units
      • Features
    • Delete a specific aspect of tiles (e.g: just delete BONUS_COW)
  • Planned new Features
    • Warlords Support/General Custom MOD Support
    • Increase supported MapSize to 1000x1000
    • Crop and Resize your Maps
    • Create new Maps/Scenarios from scratch
    • Randomize Bonuses (optional depending on XML defined rules, that´s how Civ does it)
    • Ability to load a background image to allow "overpainting" a foto or whatever to create maps.
    • Undo
    • Redo
    • Ability to create an HTML description of a map
    • Delete a specific aspect of the whole map (e.g: just delete all BONUS_COW)
    • HotKeys to allow easier and faster work
And of course:
Anything else that helps you creating your scenarios in less time with more quality. I´m open for any idea!



8600+ Downloads (July 2007)

Hello fellow Civmen,

Version 0.2.3.1072 is out. Read the Changelog. (scroll down)

THINGS YOU SHOULD KNOW ABOUT THE NEW VERSION: (edited for 0.2.3.1072)
  • Terrain can be write protected! So if nothing happens you probably try to paint on a write protected terrain type. (this protection is applied for terrain only, you can still place bonuses etc. on all fields)
  • You can still delete RailRoads even if you don´t see them yet
  • The StartingPositions are shown as dice since you can only add/delete those starting positions that are used when no special starting position is asigned for a particular civilization.

FAQ:
  • Q:MapView (0.2.3.1072) crashes when i try to load certain maps? Especially for maps created by other custom editors.
  • A: This is due to some syntax problems in the StartPlot-EndPlot Tag. Load and save the Map with Civ itself to fix the error.
  • Q:How can i create a new map?
  • A:You just can´t. Mapview is only able to edit existing maps. You need a working map to start using MapView. Use Civ or Junuxxs Atlas Project or something similar.
  • Q:Why can´t i place terrain?
  • A:That´s because you try to paint on terrain types that are write protected.
    In the terrain selection toolbar you can right-click on a terrain type to toggle it´s write protection or or off.
    EXAMPLE:

    Terrain editing is enabled, Tundra will be placed, desert and plains are write protected, coast, grassland and ocean can be overwritten.

Download/Versions
My main host will be down for an unknown time. I´ll provide the lastest release on my university mirror.
Pls excuse the downtime.


Notes
  • My river parsing doesn´t care about floating direction yet so if you have ****ed up rivers they won´t be shown as ingame.
  • Rivers look horrible and have no deltas or sources, they just start and end and overlap and whatsoever. ;=) i´ll improve that, no worries.


  • Planned Features (priority not in order)
    • Popup Menu with Terrain info on MouseOver showing terrain information (semi done)
    • Add the still not-shown stuff
    • Add ability to edit players/teams
    • Make it possible to create a new map
    • Mayb gather with "The Atlas Project" to a very comfortable Create+Edit program.
    • whatever you suggest (i m listening.. :) )

This project is inspired by the awesome "The Atlas Project" by Junuxx

########################################################
CHANGELOG:

  • 0.2.3.1072 (12.Dec 2005)
    • Added River placement and deleting (river creatin goes from source to mouth of the river)
    • Added neat river direction arrows for river crossing to keep track where rivers are floating to.
    • You can now add resources, forests/jungles and improvements without restrictions
    • Added "random" starting positions. Individual startpositions for Civilizations is not yet supported.
    • New Update Checker so you finally get links to access the download and the thread. Links are opened with the standard browser
    • Added an option to "allow/disallow editing of several categories at once". That way you can decide if you want only add or delete one item at once or if you want to be able to do several steps at once. Default is "disallowed" (one-by-one)
    • Added show/hide ice switch
    • Added snow to terrain edit functions. You can FINALLY place snow.
    • Changed the river-button icon.
  • 0.2.2.1048 (8.Dec 2005)
    • Added all Improvements for editing, still requires "ImprovementType=" line in the source file
    • Added language depending Hints for resources and bonuses.
    • Exchanged buttons by menu control.
    • Added an exit menu item (junuxx ;))
    • Map is now read automatically after selecting the file.
    • Changed names of resource icons.
  • 0.2.1.1002 (7.Dec 2005)
    • Added all Improvements
    • Improved the help
    • Tweaked the navigation to avoid easy misstakes and help you understand the system
    • Removed the listbox on the left side
    • All TerrainTypes are not write protected per default
    • You can now zoom in editmode (rightclick drag and move like it has always been)
    • Little MapView note will appear on Screenshots (sry :D )
  • 0.2.0.982 (5.Dec 2005)
    • Introduced editing functionaility
    • Edit all terrains but snow
    • Delete Resources
    • Delete Routes (even if Railroads are not yet displayed)
    • Delete Improvements (even if only Farms are displayed)
    • Delete Forests/Jungle
    • Edit Plottype (flat, hilly, peak)
    • Add Resources (requires an existing "BonusType=*" line for plot)
    • Add Jungle/Forest (requires an existing "FeatureType=*" line for plot)
    • Farms are now displayed
    • Oases are now display
    • Update check feature implemented
    • Splitters for custom resizing inside the program window
    • Graphical statistics for terrain occurance.
    • started coding on dynamic contents which should be ready for foreign ressources, terrain types and whatever once it´s done. (thinking of mods)
    • Added help
  • 0.1.5.589 (25.Nov 2005)
    • Added console support. You can now set MapView to be the default program to be used with *.wbs files if you double-click on a *.wbs file. It will automatically load and display the map. Thx vadus for the idea.
    • Added support feature type jungle.
    • Added peaks.
    • Scrollspeed now depending of the zoomfactor to make viewing easier. thx Junuxx for the hint.
    • Changed limits to 300k lines and modified dimensions to maximum 250x150.
    • Worked on the performance. Only tiles inside the window will be drawn. Still needs improvement tho.
    • Added x and y position indicator.
    • Now showing line of "BeginPlot" of the tile when you click it.
    • Lots of code improvements.
    • First steps to make this beeing able to work as an editor.
    • Added a marker to emphasize the tile that is currently marked/under the mouse.
    • When you left-click on a tile the corresponding Plot info will be shown in a text field. (even if you can type, you can´t edit yet)
  • 0.1.4.469 (22.Nov 2005)
    • Added Rivers.
    • Added Woods.
    • Made a few neat buttons.
    • Screenshots are now saved as jpeg files.
  • 0.1.3.452 (22.Nov 2005)
    • Resources are now shown.
    • Added a button to toggle them.
    • Changed texture format to *.tga in order to use transparency.
  • 0.1.2.382 (21.Nov 2005)
    • Fixed issue about suffixing spaces crashing the program
    • Fixed issues that crashed the program when clicking certain Error messages
    • After a map is loaded it´s displayed center
    • Added some logging
    • Supports file with 100000 lines now (formerly 50000), dimensions are still 200x200
    • Added screenshot feature (*.bmp)
  • 0.1.1.349 (19.Nov 2005)
    • Implemented TerrainFeature support and realized it for FEATURE_ICE
    • Ice fields now visible as ice
    • Added Texture for ice to "MapView\Textures" folder
  • 0.1.0.345 (19.Nov 2005)
    • View *.Civ4Worldbuildersave map by terrain type using Texture files
    • Added Move, Zoom, Scroll ability to the OpenGL window
    • View source file line by line
    • Added listboxes for Player information
    • Added listboxes for map informations
    • Added listbox for game information
    • Added some basic syntax error checks
      • BeginTag before EndTag (BeginPlot is allowed to start Units and Cities)
      • Some checks on the coordinates in zterrain plot

########################################################
Known Issues:

  • 0.2.2.1048
    • none (issues listed above)
  • 0.2.1.1002
    • none (issues listed above)
  • 0.2.0.982
    • none (issues listed above)
  • 0.1.5.589
    • none
  • 0.1.4.469
    • none
  • 0.1.3.452
    • none
  • 0.1.2.382
    • Program crashes on files bigger then 50000 Lines
    • Program may crash when the file is corrupt or has syntax error at important passages (working on it)
    • Program may crash when loading maps greater as 200x200 (will be fixed in next version)
  • 0.1.1.349
    • Program crashes when file contains suffixing spaces
    • Program crashes on files bigger then 50000 Lines
    • Program may crash when the file is corrupt or has syntax error at important passages (working on it)
    • Program crashses when loading maps greater as 200x200 (will be fixed in next version)
  • 0.1.0.345
    • Program crashes on files bigger then 50000 Lines
    • Ice fields may not be displayed as ice but as the terrain the ice is covering (FEATURE switch not yet supported)
    • Program may crash when the file is corrupt or has syntax error at important passages (working on it)
    • Program may crash when loading maps greater as 200x200
 
Good work Gr3yHound. Looking forward to playing around with it. :goodjob:

One thing I find odd in the screenshot: What's up with Greenland? Why does it seem to have a lake in the middle?
 
thx for your interrest, i sadly have to tell you i´ll probably need some more time since i m struggling with making it running on remote computers.

Junuxx said:
Good work Gr3yHound. Looking forward to playing around with it. :goodjob:

One thing I find odd in the screenshot: What's up with Greenland? Why does it seem to have a lake in the middle?

that´s because all those fields are TERRAIN_COAST with the ice feature, i´ll change that soon, it´s really distrubing
 
I've been waiting for this thread to appear... way to go Gr3yHound! I shall patiently, but with much anticipation, await for its release (whether tonight or later).

Also, I noticed that you plan to "smooth" the map display. Would you consider making it an option? I prefer the blocky look myself, as it makes it easier to make out specific plots. It would be nice to toggle between a "blocky" and "smoothed" map though.
 
sure =)
you are the customer,

but anyway i m still developing the algorithm for it...i´ll start at the coast since coast interact with the fewest terraintypes.

First steps are to have all the info shown. it will probably take a while until hills, forrests and rivers work. Won´t do much before i managed this, at least if i m not getting 100 of requests for another point.

(btw. i´m pretty sure i managed the compartibility problems for remote users)
 
I know it´s not the purpose of this program, but it would be cool to make a map editor in 2D, so it would be really fast and easy to use...
 
elhoim said:
I know it´s not the purpose of this program, but it would be cool to make a map editor in 2D, so it would be really fast and easy to use...

That´s of course the thing i hope to realise sometime.
I´ll immediately start on that once i m happy with displaying a finished map.
 
Most righteous! :rockon: This is the first step towards a bonafied map editor that won't take 30 seconds to add one tile on my computer...
 
Gaias said:
Interesting. Something along the same lines as this was mad for Civ3 CRpSuite. I was wondering if you are going to incorporate Replay function for the map view also?

I made a suggestion... or a suggestion in the form of a question. I am sure you could not have missed it considering I was the first one to post. :D
 
Gaias said:
I made a suggestion... or a suggestion in the form of a question. I am sure you could not have missed it considering I was the first one to post. :D
ah yes sorry,
i didn´t really read what this replay program is but i think it´s something like the game summery where you are able to see when cities were founded or destroyed and stuff. If it´s like that i don´t think i´ll add something in the next time.
 
Top stuff.

So so impressed. Can you actually edit the WBS file with this or is it just a viewer of the WBS file?
 
Currently you can only view the map and the file, but an (at start only text based) edit option will be implemented quite soon. Just wait until i have a decent error checking system so a edit/fix option is necessary

thx for your interrest, keeps me motivated, no other replies yet?
 
Hey Gr3yHound!

I downloaded v 0.1.1.349. Looks pretty good! :goodjob:
Some things though:

* Very large maps don't fit on the screen
* Smaller maps aren't in the center of the screen
* What about an exit button? :)

Keep up the good work!
 
Gr3yHound, it looks really good. Several things I would hope to see in this.

1) What about a X\Y degree's(not so much degree's) but more like 10 20 30 40 50 and so forth for the graph points. At all edges of the map. ;)

2) How about the posibility to select and change civ's starting info. Like the technology or X/Y location.

Good work though :goodjob: , it's coming along nicely(once I figured you could move the map hehe)

Tbear2520
 
Junuxx said:
Hey Gr3yHound!

I downloaded v 0.1.1.349. Looks pretty good! :goodjob:
Some things though:

* Very large maps don't fit on the screen
* Smaller maps aren't in the center of the screen
* What about an exit button? :)

a) did you ever move the mouse while having the left or right mouse button pressed? this will zoom or scroll
b) yes i know, i ll center the maps after they were painted, but see a)
c) hm it´s a windows application..it should have the X button in the edge so you can close it like you close every program, do you really want a button?

tbear2520 said:
Gr3yHound, it looks really good. Several things I would hope to see in this.

1) What about a X\Y degree's(not so much degree's) but more like 10 20 30 40 50 and so forth for the graph points. At all edges of the map. ;)

2) How about the posibility to select and change civ's starting info. Like the technology or X/Y location.

Good work though :goodjob: , it's coming along nicely(once I figured you could move the map hehe)

Tbear2520
1) like a ruler?
2) sure, but first i concentrate on displaying all aspects of the map, bonuses, ressouces, hills, forrest, there´s still much to do but i plan on supporting this point sometime
 
Gr3yHound said:
a) did you ever move the mouse while having the left or right mouse button pressed? this will zoom or scroll
b) yes i know, i ll center the maps after they were painted, but see a)
c) hm it´s a windows application..it should have the X button in the edge so you can close it like you close every program, do you really want a button?

a) Hadn't found the zoom function yet :D Still it would be great if the map was both centered and auto-scaled
b) well yeah, see a)
c) I think virtually every program has an in-application exit function. So not absolutely necessary, but sort of convention.
 
Junuxx said:
a) Hadn't found the zoom function yet :D Still it would be great if the map was both centered and auto-scaled

it´s like dragging in the View Window, Drag and move....i hope you´re just too dumb to get it so it means it´s no bug ;)

and btw. check your forum pms
 
Top Bottom