Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Alternative Civs > Clash of Civilizations > Map Generator Model
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
04.Sep: `FC` 2.0.5 COMPLETED AND RELEASED
27.Jul: `FC` 2.0.4 COMPLETED AND RELEASED
16.Jul: `FC` 2.0.3 COMPLETED AND RELEASED

bottom of page
  
Author
Thread   
Pages (5): [ 1   2   3   4   5   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
Rüdiger is offline Rüdiger
Settler
Erlangen, Bavaria, Germany
Jan 2001
time: 06:13
Unhappy  Old Post 09-03-2001 21:54
Edit/Delete Message Reply w/Quote
#91 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

Ok buddies, I need your help!

I made a Java applet, but I can't get it to run in my Browser (IE5.5). It always says: "class XYZ not found". XYZ is something like package.classname, for example "mapgen.MapGenApplet". All my source files are in the mapgen package, MapGenApplet is my Applet class. Whatever I tried, it always claimed "class not found". I even tried not to pack my files into packages, but it doesn't help. The worst is, I have found some examples which work just perfect and if I try to copy them 1:1 for my own code, nothing works! The applet tag I use is the following:

[APPLET
CODEBASE = "."
CODE = "mapgen.MapGenApplet.class"
NAME = "MapGenApplet"
WIDTH = 400
HEIGHT = 300
HSPACE = 0
VSPACE = 0
ALIGN = top
]
[/APPLET]

I exchanged the "<" and ">" braces with "[" and "]" braces, to not confuse the forum. I have used "<" and ">" in my HTML files, of course.

The code is in a "mapgen" subdirectory of the directory the HTML file is located in. In the mapgen dir is the "MapGenApplet.class" file. The funny thing is, JBuilder, the IDE I use, can automatically generate a HTML file to test an applet, and in the IDE it works! But as soon as I try to launch the exact same HTML file in IE nothing works, just "class not found".

So if you know what I am doing wrong please tell me! I tried the whole day, and nothing worked. Don't forget, every applet I found, which wasn't made by me, did work in IE!

--------------------------

I am not a vegetarian because I love animals; I am a vegetarian because I hate plants.

A. Whitney Brown

Rüdiger is offline Rüdiger
Settler
Erlangen, Bavaria, Germany
Jan 2001
time: 06:13
Lightbulb  Old Post 10-03-2001 10:22
Edit/Delete Message Reply w/Quote
#92 Report this post to a moderator
Support Apolyton buy from Amazon

Argh!

Sorry for the last post, I know what I did do wrong. I used Swing in my code and it seems IE doesn't know Java 1.2! What a mess. If I am just using Java 1.1 everything works flawlessly. Unfortunately I won't have time for coding during the weekend, so no applet till somewhen next week.
Sorry.

Simon Loverix is offline Simon Loverix
Warlord
Tongeren, Belgium
Apr 2001
time: 05:13
Post  Old Post 12-04-2001 01:46
Edit/Delete Message Reply w/Quote
#93 Report this post to a moderator
Put an end to popups!

For everyone who wants good climate maps:
http://www.fao.org/WAICENT/FAOINFO/...te/EIsp0002.htm

There are even potential biomass maps. Maybe this can be included in the ecology model?

I made a 20kb physical map generator in Qbasic (shame on me). If anyone wants to see it, let me know and I'll mail it through. It doesn't work by moving plates about, but it looks fine (for 20k).

Remember that the land mass of this planet started as a supercontinent, was torn apart, formed a supercontinent again, was torned apart, formed a supercontinent (Pangaea) and forms the current continents after being torn apart for the third time. This shouldn't be generated, of course, but the initial supercontinent has to have quite some texture right from the start.

Last edited by Simon Loverix on 17-09-2001 at 02:08

Gary Thomas is offline Gary Thomas
Prince
New Zealand
Mar 2001
time: 17:13
Post  Old Post 13-04-2001 13:51
Edit/Delete Message Reply w/Quote
#94 Report this post to a moderator
Put an end to popups!

I would be most interested in seeing your QBasic (shame on you) code. Please email it to me at gthomas@takaro.co.nz

In passing, I have my own domain name. "Takaro" is the Maori word for "Game". Go figure where my priorities are...

Cheers.

Rüdiger is offline Rüdiger
Settler
Erlangen, Bavaria, Germany
Jan 2001
time: 06:13
Post  Old Post 19-04-2001 19:22
Edit/Delete Message Reply w/Quote
#95 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

Sorry for not posting such a long time but I had a RealLife attack still lasting. I think it is best for me to leave the Clash project, because I don't have the time to be of any help. The little bit of code I produced so far will remain on my homepage for you to download. I wish you all good luck for the project.

So long,
Rüdiger Keller

Mark_Everson is offline Mark_Everson
Clash of Civilizations Project Lead
Canton, MI
Jan 1970
time: 00:13
Post  Old Post 19-04-2001 20:46 Visit Mark_Everson's homepage!
Edit/Delete Message Reply w/Quote
#96 Report this post to a moderator
Support Apolyton buy from Amazon

Sorry to lose you Rüdiger

I certainly hope that RL starts heading in the right direction for you soon!

Best Regards,

Mark

Simon Loverix is offline Simon Loverix
Warlord
Tongeren, Belgium
Apr 2001
time: 05:13
  Old Post 17-09-2001 02:09
Edit/Delete Message Reply w/Quote
#97 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

What will the standard map size be?

Mark_Everson is offline Mark_Everson
Clash of Civilizations Project Lead
Canton, MI
Jan 1970
time: 00:13
  Old Post 17-09-2001 02:27 Visit Mark_Everson's homepage!
Edit/Delete Message Reply w/Quote
#98 Report this post to a moderator
Increase Your PM Length

If we keep to earth scale it will be 280x120. We may go smaller for the default just to limit game size/complexity. For further info you can check out this thread . (not everything in it was agreed to)

Gary Thomas is offline Gary Thomas
Prince
New Zealand
Mar 2001
time: 17:13
  Old Post 17-09-2001 05:39
Edit/Delete Message Reply w/Quote
#99 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

It is set up (sort of) to be a game parameter - like a lot of startegy games, you can set different size of games. I guess this will have the greatest effect on scenarios.

And I haven't given up my distant hope for a spherical map, heh, heh...

Cheers

Lord God Jinnai is offline Lord God Jinnai
Prince
St. Louis
Sep 1999
time: 23:13
Wink  Old Post 17-09-2001 17:15 Visit Lord God Jinnai's homepage!
Edit/Delete Message Reply w/Quote
#100 Report this post to a moderator
Lose 30 kilos (of popups)

Well your not the only one who wants a spherical map.

Gary Thomas is offline Gary Thomas
Prince
New Zealand
Mar 2001
time: 17:13
  Old Post 18-09-2001 23:58
Edit/Delete Message Reply w/Quote
#101 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

Glad to hear that I am not alone.

Unfortunately it is not possible to realistically cover a sphere with squares.

I suspect that, to achieve a spherical map, we will have to give up squares completely and go to a continuous map (sort of like the real world!).

At least that would enormously simplify the movement system.

Cheers

LDiCesare is offline LDiCesare
King
La Ferté sous Jouarre France
Jan 2001
time: 05:13
  Old Post 20-09-2001 12:58
Edit/Delete Message Reply w/Quote
#102 Report this post to a moderator
Lose 30 kilos (of popups)

We could use hexagons, they can map both planes and spheres (sphere: 1hex 6hexes 1hex/1 6 12 12 1/etc as you grow), and I like the old hex-based wargames. Plus you don't have to worry about perspective.

Mark_Everson is offline Mark_Everson
Clash of Civilizations Project Lead
Canton, MI
Jan 1970
time: 00:13
  Old Post 20-09-2001 15:25 Visit Mark_Everson's homepage!
Edit/Delete Message Reply w/Quote
#103 Report this post to a moderator
Remove this text

Ummm, we have significant resources invested in squares. A fair amount of art, etc. Please lets not endlessly revisit decisions that have been coded before we're even at the Lowest level of implementation in a lot of areas!

So what I'm saying, I guess, is that I'm not going to comment any more on this for now, but please don't take lack of comments for agreement.

There was a time when I would follow every design argument thru to the end. The problem was that when I did that, the design moved forward, but I didn't get any coding done. I still believe in working through things like this, and discussion among the whole group. But personally I've found the need to draw a line. I think the best thing to do for now is focus as much as possible on implementation of the design we already have, and only when something is found to clearly not work, then back up and redo the design.

Last edited by Mark_Everson on 20-09-2001 at 15:43

Simon Loverix is offline Simon Loverix
Warlord
Tongeren, Belgium
Apr 2001
time: 05:13
  Old Post 20-09-2001 15:45
Edit/Delete Message Reply w/Quote
#104 Report this post to a moderator
Tired of ads?

How many rows of tiles does that mean, from pole to equator? Axi wrote under 'A)2)resolution' '.. with the exception of polar area's..' Why? (I need it to try some things concerning climate for the PBM generation.)

Mark_Everson is offline Mark_Everson
Clash of Civilizations Project Lead
Canton, MI
Jan 1970
time: 00:13
  Old Post 20-09-2001 16:42 Visit Mark_Everson's homepage!
Edit/Delete Message Reply w/Quote
#105 Report this post to a moderator
Get a bigger avatar today!

Axi excluded the polar areas because:
1. They are basically ignorable for history up until now
2. If included in a cylindrical map they add a huge amount of area to the map that doesn't really do anything useful (see 1 )

If we chose to include the poles it would change his 280x120 to approximately 280x(192/1.41) (192 = pi*r, r ~ 6400km) => 280x 136 So the equator to poles would be 68 squares.

With the spec diamonds (iso squares) you get more squares equator-to-pole because of the packing (the rows are staggered). I want to caution you that Axi is counting only every other row. So he is only counting a single vertical row of diamonds to get his Y dimension. Since the rows are staggered there will be twice as many (That's why he says number of squares is 2XY).

Hope this is reasonably clear, and what you were looking for.

Last edited by Mark_Everson on 20-09-2001 at 16:55

Gary Thomas is offline Gary Thomas
Prince
New Zealand
Mar 2001
time: 17:13
  Old Post 20-09-2001 22:08
Edit/Delete Message Reply w/Quote
#106 Report this post to a moderator
Lose 30 kilos (of popups)

Laurent:
quote:
We could use hexagons, they can map both planes and spheres (sphere: 1hex 6hexes 1hex/1 6 12 12 1/etc as you grow), and I like the old hex-based wargames. Plus you don't have to worry about perspective.

Couldn't follow this. Actually hexes can't cover a sphere. There will always be bits that don't fit. The only polygons that can form a regular solid (an approximation to a sphere) are triangle (tetrahedron ot icosahedron) square (cube) and pentagon (dodecahedron), none of which are suitable. The nearest is the icosadahedron, in which the 20 big triangles can be subdivided into smaller triangles, 6 meeting at each vertex. However, at the vertices of the larger triangles, only five meet at a point.

Mapping onto a non-square based terrain really isn't difficult. The terrain is divided into polygonal areas of a uniform type, and texture mapped. Lest it is thought that this is a novel thought, ALL the 3D shoot-em-ups work this way. Personally I don't see why a strategy game can't do the same, with an enormous improvement in visual appeal. If that is combined with automatic micro-generation which I described elsewhere, we can get a very realistic simulation of a world.

Cheers

LDiCesare is offline LDiCesare
King
La Ferté sous Jouarre France
Jan 2001
time: 05:13
  Old Post 21-09-2001 15:32
Edit/Delete Message Reply w/Quote
#107 Report this post to a moderator
Get a bigger avatar today!

About polyhedra: You're right if you consider regular polyhedra (all the same lengths). Topologically, you can pave with hexagons. You'll just get bigger hexagons at some points, which may or may not be catastrophic.
Triangles would be good too.
As Mark said, however, we can hardly change squares by now.

Gary Thomas is offline Gary Thomas
Prince
New Zealand
Mar 2001
time: 17:13
  Old Post 22-09-2001 04:44
Edit/Delete Message Reply w/Quote
#108 Report this post to a moderator
Increase Your PM Length

quote:
As Mark said, however, we can hardly change squares by now.

I was thinking about D439.

Cheers

Lord God Jinnai is offline Lord God Jinnai
Prince
St. Louis
Sep 1999
time: 23:13
  Old Post 30-09-2001 01:29 Visit Lord God Jinnai's homepage!
Edit/Delete Message Reply w/Quote
#109 Report this post to a moderator
Tired of ads?

Ultimatly i think we should go with triangles, but atleast for the time being it'll be squares.

I know mark, that there had been a lot of time spent working on the graphical design of what the tiles would look like, but it's small compared to what the end result would be. The more signifigant part would be the recoding, but i think if it makes an overall better quality game its worth rewritting it. And not everything would need to be rewritten that had to do with movement eithr i beleive, depending on how it was programmed.

Gary Thomas is offline Gary Thomas
Prince
New Zealand
Mar 2001
time: 17:13
  Old Post 30-09-2001 05:12
Edit/Delete Message Reply w/Quote
#110 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

quote:
And not everything would need to be rewritten that had to do with movement eithr i beleive, depending on how it was programmed.

It certainly wouldn't require a rewrite.

I would code it using the pretty well understood texture mapping techniques used in shoot-em-ups. That is, there would be no terrain tiles, exactly as there are no terrain tiles in an atlas. Geographic features would be point features (less than 100 m2) or extended features (everything else). Extended features would be stored as polygons. Believe me, all this is really well understood, and has a huge literature. I have around fiflty books on this and closely related subjects.

As far as memory is concerned, it will require less than the present system. It will also be hugely configureable.

But above all, for a strategy game, it hasn't been done before!

Cheers

Richard Bruns is offline Richard Bruns
King
NC, USA
Nov 1999
time: 06:13
  Old Post 30-09-2001 22:45 Visit Richard Bruns's homepage!
Edit/Delete Message Reply w/Quote
#111 Report this post to a moderator
Continuous Mapping Support Apolyton, buy Civilization III: Complete

This tile-less mapping sounds like a good idea for the display, but I have a few concerns about how it interacts with the guts of the game, especially economy model and the movement of units.

For example, assume that we decide in the military model that a city garrison can react to threats in all areas around the city that can be reached in 20 days' travel for that unit. With squares or hexes, it is pretty easy to define and display the area that the unit protects. But would that cause problems in this system? It seems that calculating and displaying the response radius might be very hard in such a system, especially when you throw in the effects of roads, rivers, hostile terrain, and so on.

Also, how hard would it be to calculate the economic productivity of a certain region? Since provinces can be redrawn by the player, what do we do when a province might have dozens of chunks of discrete terrain, each with different attributes for farming and manufacturing productivity? Also, what happens when the player improves a certain area by adding irrigation or a better road system? Will that case problems in updating the display?

The terrain in flight simulators, shooters, and other action games is essentially static. It exists only to be looked at; the player is not interacting with it in any way except possibly using it as cover. I think that Mark's objections make a lot of sense; it seems like abandining squares would at minimum require a huge rework in all existing models that depend on interaction with the land, even if displaying the tiles is easy.

That said, it may be possible to superimpose a discrete display on top of the existing tile system. The models would still use tiles, but the display would be as Gary says. But that seems ot be one of those "Demo 17" things.

Sancio is offline Sancio
Settler

Aug 2001
time: 00:13
  Old Post 01-10-2001 05:49
Edit/Delete Message Reply w/Quote
#112 Report this post to a moderator
Support Apolyton or Terrorists Win

I always wanted a "continuous" map but never suggested it cause I knew that we would have to rewrite most of the current models ( Don't like suggesting something unless I am willing to do it ).

There are a couple of solution to the modifying terrain problem. It is like constructing buildings and such in most strategy/war games.

The basic map (the topography of the world) could be generated using "continuous" space. The modification (farms, cities, etc) could be treated as titles (polygons) within the 2D space.

Such thing as deserts, plains, forest, mountain could also be defined using polygons. The different models that need to know the terrain type can check if a point is within the polygon.

This might also require having different layers (or a z-coord) so that the different polygons are drawn correctly.

Sancio
PS. Happy coding Gary

Gary Thomas is offline Gary Thomas
Prince
New Zealand
Mar 2001
time: 17:13
  Old Post 01-10-2001 10:03
Edit/Delete Message Reply w/Quote
#113 Report this post to a moderator
Support Apolyton or Terrorists Win

quote:
For example, assume that we decide in the military model that a city garrison can react to threats in all areas around the city that can be reached in 20 days' travel for that unit. With squares or hexes, it is pretty easy to define and display the area that the unit protects. But would that cause problems in this system? It seems that calculating and displaying the response radius might be very hard in such a system, especially when you throw in the effects of roads, rivers, hostile terrain, and so on.

Actually it is harder with squares, simply because there are more of them. The A* path-finding algorithm is not restricted to a grid.

quote:
Also, how hard would it be to calculate the economic productivity of a certain region? Since provinces can be redrawn by the player, what do we do when a province might have dozens of chunks of discrete terrain, each with different attributes for farming and manufacturing productivity?

Isn't this what happens now? With polygonal areas, again there would be far fewer areas to worry about. Each homogeneous area would be treated exactly as a square is treated now. Where is the problem?

quote:
Also, what happens when the player improves a certain area by adding irrigation or a better road system? Will that case problems in updating the display?

What happens when a square is improved?

quote:
The terrain in flight simulators, shooters, and other action games is essentially static. It exists only to be looked at; the player is not interacting with it in any way except possibly using it as cover.

This is simply not true, and is hardly worth countering. The terrain in a strategy game is essentially static, it isn't at all in shooters, depending as it does on its location relative to the player, as well as lighting, damage and so forth.

quote:
I think that Mark's objections make a lot of sense; it seems like abandining squares would at minimum require a huge rework in all existing models that depend on interaction with the land, even if displaying the tiles is easy.

Not true. The models are based on squares. If you think outside the squares, many of the models need no modification at all. Technology is an example. Strangely enough, economics is another.

quote:
That said, it may be possible to superimpose a discrete display on top of the existing tile system. The models would still use tiles, but the display would be as Gary says. But that seems ot be one of those "Demo 17" things.

Now that would be a truly bizarre combination, with the worst of both methods.

Cheers

Lord God Jinnai is offline Lord God Jinnai
Prince
St. Louis
Sep 1999
time: 23:13
  Old Post 02-10-2001 01:59 Visit Lord God Jinnai's homepage!
Edit/Delete Message Reply w/Quote
#114 Report this post to a moderator
Remove this text

Well i think after we finish with a few more models and get them up and running a bit more on their feet, someone should, if they have time, code both to see what differance it would make...right now all i can see is with the art and the art section was using stuff we would not use in the final version anyway, just nice-looking placeholders.

Richard Bruns is offline Richard Bruns
King
NC, USA
Nov 1999
time: 06:13
  Old Post 02-10-2001 02:36 Visit Richard Bruns's homepage!
Edit/Delete Message Reply w/Quote
#115 Report this post to a moderator
Tired of ads?

quote:
Originally posted by Gary Thomas
With polygonal areas, again there would be far fewer areas to worry about. Each homogeneous area would be treated exactly as a square is treated now. Where is the problem?


My concern is that the number of polygonal areas can increase dramatically as the game progresses. Consider what might happen to a big forest polygon. At the start it is a vast uniform polygon. But then minor tribes start to settle on it. These tribes capture game or farm the land in different ways, thus splitting the big polygon into maybe 8 or 9 smaller land features, all different. Then the big civs start to come in. Assume the player and another civ each conquer part of the area of a few minor tribes, and that the tribes they displace conquer areas that were formerly in another tribe. Since the civ conquered half a polygon and will develop it defferently than the tribe, what was once one polygon will have to be split again. This happens for each different land area each time it changes hands, so after teh big covs move in the 9 polygon forest could be split into maybe 20 different polygons as the people move around.

This can continue throughout the game. Each border war between the civs would cause land to change hands, altering a small part of the terrain so that it needs to be tracked seperately. If the different provinces of the civ have different land management practices, the characteristics of teh terrain will diverge within the civ. Eventually that one forest might be split into hundreds or even thousands of different terrain types, creating a headache for the player. The discrete terrain model results in far more, not far fewer, chunks of land to worry about.

My point is that there has to be some indivisible unit of land. Right now that indivisible unit is the square. I once suggested defining those indivisible units as semi-polygonal provinces, but Mark shot that idea down. Maybe with your help I can revive the indivisible province idea, which was discussed here:
http://apolyton.net/forums/showthre...&threadid=12177
My posts about fixed provinces start halfway down. Ever since they changed the forums I can't link to individual posts anymore.

quote:
What happens when a square is improved?

The entire square changes. The change cannot split the square into two mini-squares, the way they could in the discrete model.
quote:

This is simply not true, and is hardly worth countering. The terrain in a strategy game is essentially static, it isn't at all in shooters, depending as it does on its location relative to the player, as well as lighting, damage and so forth.

I think we are talking about different things. My point was that in a shooter, grass will always be grass and trees will always be trees. I know that the viewpoint changes and that the player sees the grass from different lighting and angles, but it is still grass. But in a strategy game, the terrain changes constantly, even if the view stays the same. The player builds roads, farms, canals, and factories. The terrain is no longer "grassland" but "grassland with 40% road coverage, 3 factory sites, 43 farming sites, and a level 2 irrigation system." And those numbers change all the time. That's what I mean by dynamic. I am talking about the quality and attributes of the land, not the view that the player sees.
quote:

Not true. The models are based on squares. If you think outside the squares, many of the models need no modification at all. Technology is an example. Strangely enough, economics is another.

The models are currently based on some indivisible unit of production. For example, farms are defined in terms of farming sites per square. I don't like that; I preferred a system of quality and percentages, but that's what we have. The concept of divisible polygonal units is at odds with the measuring of farming as "sites per square." I think there are other examples too.
quote:

Now that would be a truly bizarre combination, with the worst of both methods.

Not really. The only thing we really need is an indivisible unit of land to work with. If we had a system of indivisible squares as teeh core of the model, then your continuous display would be very good at hiding the checkerboard appearance.

Gary Thomas is offline Gary Thomas
Prince
New Zealand
Mar 2001
time: 17:13
  Old Post 03-10-2001 01:24
Edit/Delete Message Reply w/Quote
#116 Report this post to a moderator
Support Apolyton buy from Amazon

quote:
My concern is that the number of polygonal areas can increase dramatically as the game progresses.

How can it be better to start with the maximum number? There certainly needs (as you suggest) to be a minimum size.

Also, there is no reason why polygons have to be split when political control changes for part of it. I envisage a separate, overlying set of polygons for political control, anothe rone for weather, and so forth. There has to be a physical change in the terrain for a terrain polygon to be split.

Forest clearance would do it. However, I did not think that forest clearance would be a political decision (it is in Civ, but that is extremely inaccurate). It would take place as a result of population growth, regardless of political control.
quote:
I think we are talking about different things. My point was that in a shooter, grass will always be grass and trees will always be trees. I know that the viewpoint changes and that the player sees the grass from different lighting and angles, but it is still grass.

This simply isn't so. There are many situations in a 3D game in which changes take place, The simplest and most obvious is in opening a door or window.

quote:
But in a strategy game, the terrain changes constantly, even if the view stays the same. The player builds roads, farms, canals, and factories. The terrain is no longer "grassland" but "grassland with 40% road coverage, 3 factory sites, 43 farming sites, and a level 2 irrigation system." And those numbers change all the time. That's what I mean by dynamic. I am talking about the quality and attributes of the land, not the view that the player sees.

If the player cannot see it, then it isn't displayed, and no problem arises.
quote:
The models are currently based on some indivisible unit of production. For example, farms are defined in terms of farming sites per square. I don't like that; I preferred a system of quality and percentages, but that's what we have. The concept of divisible polygonal units is at odds with the measuring of farming as "sites per square." I think there are other examples too.

"Farming sites per square" is eqivalent to "farming sites per 100 km2". How do polygons change this?

Richard Bruns is offline Richard Bruns
King
NC, USA
Nov 1999
time: 06:13
  Old Post 03-10-2001 02:00 Visit Richard Bruns's homepage!
Edit/Delete Message Reply w/Quote
#117 Report this post to a moderator
Re: Continuous Mapping Support Apolyton, buy Galactic Civilizations: Deluxe Edition

quote:
Originally posted by Richard Bruns
This tile-less mapping sounds like a good idea for the display, but I have a few concerns about how it interacts with the guts of the game, especially economy model and the movement of units.


Ok, you shot down my concerns. Next step: convince Mark to allow the change.

I am starting to see some interesting possibilities with this system. First, roads and rivers can now be drawn as vectors, in whatever pattern we choose. That would make the place look a lot more realistic.

Second, it lends itself to incredibly easy zooming. If everything is polygons with vector graphics, then the player could zoom the view in and out at will. This would allow the player to start by controlling with a tiny tribe on a zoomed-in map, and then zooming out as teh civilization expands. If done right, this would mean that the screen size the player deals with and the task of management remains constant throughout the ages.

But I think that, in order to prevent fragmentation as the game progresses, there has to be some mechanism for joining the polygonal areas. For example, what may have started as two different terrain types would join to become one after the civ has been farming them for a few centuries. That way, the number of polygons would stay about the same as the game prgresses.

Also, I have a few concerns about the attractiveness of the board. If everything is simply vector graphics and shaded areas, it might seem unapproachable. The graphics need the human element in order to make the game appealing. I think that people want to see little huts and skyscrapers and trees and airport runways and people on the map. We have to have some way to cleanly overlay these bitmaps over the vector-generated terrain so that they look good and accurately display the conditions of the area. I don't know how hard that would be.

About a year ago, I proposed systems of "fixed provinces" and "ecological provinces." It seems that this plan combines the benefits of these with the flexibility of the tile model. I still think it would be a pain to program, but if the programmer wants to do it who am I to argue?

Simon Loverix is offline Simon Loverix
Warlord
Tongeren, Belgium
Apr 2001
time: 05:13
  Old Post 03-10-2001 16:18
Edit/Delete Message Reply w/Quote
#118 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

What will the smallest unit of terrain be? If it is a polygon, what kind of polygon? If it is not a fixed form, how will the form be set?
The models are assuming a massive area, no various shapes. Wouldn't that give odd results? I think of one unit of terrain with a long, small shape: it could lie in several climatic zones. It could be a coast of significant length, so you could control shipping of a nation very easily with minor efforts.

I think there should be some kind of regular base for a map, so you know what you can expect. Otherwise, where does the splitting of polygons end? Also, different overlapping polygons sound confusing.. with base units its seems clearer.

But it has never been done before for a strategy game, and its surely offers interesting possibilities, such as tileless movement. I'd like to see it, so I add my voice to the chorus : 'if the programmer wants to do it...'
On the other hand, the three Clash goals are already ambitious. Good AI (also to do the micromanagement) as well as historical accuracy (instead of a boardgame) are already very worthy goals, and it might not be desirable trying to outclass the commercial gameproducers on their strongest point: graphics.

Richard Bruns is offline Richard Bruns
King
NC, USA
Nov 1999
time: 06:13
  Old Post 03-10-2001 22:39 Visit Richard Bruns's homepage!
Edit/Delete Message Reply w/Quote
#119 Report this post to a moderator
Suffering from ads?

quote:
Originally posted by Simon Loverix
Wouldn't that give odd results? I think of one unit of terrain with a long, small shape: it could lie in several climatic zones.

I think that the map generator would automatically split the polygons based on climate and any other factor that affects the ecology. I don't think that would cause problems.
quote:

It could be a coast of significant length, so you could control shipping of a nation very easily with minor efforts.

But it would be possible to split this shape into smaller polygons. Some military force could move in to one part and force a split.
quote:

I think there should be some kind of regular base for a map, so you know what you can expect. Otherwise, where does the splitting of polygons end? Also, different overlapping polygons sound confusing.. with base units its seems clearer.

The good thing about Gary's plan is that, if I interpret it correctly, a normal system of squares, hexagons, or any other form can easily be created as a subset of the model. We have the option use irregular polygons, but it would be just as easy to make a system of regular, immobile polygons as well. It's all about options and cistomization.

And yes, I too am worried about excessive splitting of polygons. That's why we need to make a way to merge the polygons. As empires grow and apply the same land use policies to larger areas of multiple polygons, these polygons could merge. For example, many parts of Europe once had a variety of terrain but now vast chunks have been converted into mostly identical farmland.

quote:
it might not be desirable trying to outclass the commercial gameproducers on their strongest point: graphics.


Have you seen the Civ3 graphics? They are hideous. Those are not the graphics of a 21'st century computer game. We can do better. Roads in Civ 3, for example, are simply bitmaps placed on top of whatever terrain there is. We already have plans for clearing off little tree tiles wherever roads are built, and this vector system can make the game look far better then Civ 3, if we do it right.

Gary Thomas is offline Gary Thomas
Prince
New Zealand
Mar 2001
time: 17:13
  Old Post 04-10-2001 01:42
Edit/Delete Message Reply w/Quote
#120 Report this post to a moderator
Support Apolyton, buy Call to Power 2

From Richard:
quote:
First, roads and rivers can now be drawn as vectors, in whatever pattern we choose. That would make the place look a lot more realistic.

This, of course, is one of the biggest advantages of the continuous map system. Note that the comment also applies to coastlines, edges of deserts, and so forth.

Another thing made possible (which I didn't mention before for fear of scaring people off) is altitude contours, leading to proper mountain ranges, plateaus, and similar landofrms that are difficult to do with a grid.
quote:
Second, it lends itself to incredibly easy zooming. If everything is polygons with vector graphics, then the player could zoom the view in and out at will. This would allow the player to start by controlling with a tiny tribe on a zoomed-in map, and then zooming out as teh civilization expands. If done right, this would mean that the screen size the player deals with and the task of management remains constant throughout the ages.

Richard, I don't know if you saw my post (which caused Mark to have a fit and start talking about version 50) about micro terrain. The idea is that the terrain actually goes down to some minimum size (my suggestion is 100 m2). However, this terrain is not stored. It is generated as needed using a repeatable pseudo-random number sequence. Thus, going back to the same location has the same landscape. So, in effect, the whole map becomes a grid of 1 hectare plots.
quote:
Also, I have a few concerns about the attractiveness of the board. If everything is simply vector graphics and shaded areas, it might seem unapproachable.

Actually map square tiles are just that anyway. With a continuous map, you can let the drawing code have a bit more intelligence.

As an example, suppose that, instead of having a "forest tile", you have individual trees which are then ramdomly scattered (using the same repeatable pseudo random nymber system so they alway reappear in the same place) over the polygon. This adds several factors not presently available:


  • You can see the underlying terrain, so you do not need different tiles for hill forest, flat forest, etc.
  • The density can be adjusted for open woods, forest, dense growth.
  • The type of tree can reflect the altitude or climate of the area.
  • Trees can avoid things they should not overwrite like roads, towns, farms or whatever.

quote:
I still think it would be a pain to program, but if the programmer wants to do it who am I to argue?

If approached correctly, it is no more difficult to program than the present system. Wait until people hit the intricacies of a movement system where there are only eight directions, four of them being 100km per square and four being 141.529km per square (this really is programmed into the system).

As a program design issue, a reasonably comprehensive set of polygon management classes will be needed. There is a large literature on the topic.

So far I have refrained from mentioning the step after continuous maps. This is three dimensional spline based polygonal surfaces, so a unit will know if it is moving uphill...

From Simon:
quote:
What will the smallest unit of terrain be? If it is a polygon, what kind of polygon? If it is not a fixed form, how will the form be set?

I would see the limit as being something like 100 km2 in area, and no linear dimension greater than 200km. Within these limits, the shape doesn't matter. In effect, the same as the current squares. You understand that this is just a first guess, but it would seem to fit.

Also, splitting a polygon would not, I think, be as common as people seem to think. For example, if a civilization takes control of an area, it is likely that they will take control of whole polygons.

I did not envisage very large polygons - perhops no larger than around 20 squares.

quote:
I think there should be some kind of regular base for a map, so you know what you can expect. Otherwise, where does the splitting of polygons end? Also, different overlapping polygons sound confusing.. with base units its seems clearer.

Don't understand the first part of this comment. The splitting of polygons ends when the program says that there is no more splitting (see my comments above).

We already have overlapping polygons: a province contains (and hence overlaps) many squares, and a civilization contains a number of provinces. After all, a square is a polygon.

Splitting the polygon into smaller units, then assigning those smaller units to different larger polygons (as is done now) is at least as confusing as the system I propose. In my proposed system, there is hardly any confusion arising from the concept that the southern half of a mountain range is in one province and the northern half in another. As I said above, chopping the range up into little squares, then assigning the squares does not make things clearer.
quote:
, and it might not be desirable trying to outclass the commercial gameproducers on their strongest point: graphics.

My suggestion does not have anything to do with graphics as such, it is all to do with realism, including a realistic looking terrain.

Richard again:
quote:
The good thing about Gary's plan is that, if I interpret it correctly, a normal system of squares, hexagons, or any other form can easily be created as a subset of the model. We have the option use irregular polygons, but it would be just as easy to make a system of regular, immobile polygons as well. It's all about options and cistomization.

This, of course, is the point. The present system is based on polygons. Just unnecessarily limited one. There are fragments in the existing code that have implications of where, in a square, a unit is. It is pretty silly to suggest that all the units in a square are lumped in the middle.
quote:
Second, it lends itself to incredibly easy zooming. If everything is polygons with vector graphics, then the player could zoom the view in and out at will.

This is certainly one of the greatest advantages of the system. However it would not be implemented as a straight magnification. For example, no matter what the level of zoom, the trees would remain the same size on the screen.
quote:
We already have plans for clearing off little tree tiles wherever roads are built, and this vector system can make the game look far better then Civ 3, if we do it right.

See my comments above about not planting trees on roads.

And as a general comment: I see the continuous terrain model, and the microterrain model as being essentially complementary. The combination would, in my view, take strategy gaming to a new level.

And I see no reason why we shouldn't be the ones to do it.

Quite an exciting prospect.

Cheers

 
Pages (5): [ 1   2   3   4   5   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:13.
Apolyton Time is 00:13.
    top of page
Rate This Thread:
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0725 seconds (92.77% PHP - 7.23% MySQL) with 30 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net