Page 12 of 94

Re: ECS implementation by George: ECS vectors. Beta 3 08/10/2007

Posted: 12 Oct 2007 14:05
by George
wallyweb wrote:1. A correction:
It is Wiki. You can change it yourself. I hope the work (more detailed description) would be done by other users (not me). I will only fix code-related mistakes.

Re: ECS implementation by George: ECS vectors. Beta 3 08/10/2007

Posted: 12 Oct 2007 14:19
by wallyweb
George wrote:
wallyweb wrote:1. A correction:
It is Wiki. You can change it yourself. I hope the work (more detailed description) would be done by other users (not me). I will only fix code-related mistakes.
1. I am seeing warnings and I can't access any of the wiki pages
2. I do not have an account to edit wiki pages

OK ... the above were fixed. How do you like the tourist center page?

Re: ECS implementation by George: ECS vectors. Beta 3 08/10/2007

Posted: 12 Oct 2007 21:37
by George
wallyweb wrote:OK ... the above were fixed. How do you like the tourist center page?
Better :D But there is lots of work left ;) For example, capacity should be a table

Re: ECS implementation by George: ECS vectors. Beta 3 08/10/2007

Posted: 12 Oct 2007 22:29
by wallyweb
Hi George, I'll table the capacity just as soon as the wiki becomes available. At the moment the traffic on its server appears to be a bit congested.

UPDATE Ok George, the tables are done.
What about positioning as in "# of tiles from town center tile; # of tiles from water; etc."?

Re: ECS implementation by George: ECS vectors. Beta 3 08/10/2007

Posted: 13 Oct 2007 18:58
by Sir A. Boey
marvelous idea, cause now I find it a bit difficult to place the industries...
The one time they say closer to sea and than the other time thay say closer to
town... This way we could have a clearer view where to put the industries...

Great looking forward to this feature... :shock:

Re: ECS implementation by George: ECS vectors. Beta 3 08/10/2007

Posted: 13 Oct 2007 20:30
by George
wallyweb wrote:What about positioning as in "# of tiles from town center tile; # of tiles from water; etc."?
Good Idea. Could you make a template so I should only fix the numbers?

Please remove cycles. Tourists center does not use this possibility.

Re: ECS implementation by George: ECS vectors. Beta 3 08/10/2007

Posted: 13 Oct 2007 21:01
by wallyweb
George wrote:
wallyweb wrote:What about positioning as in "# of tiles from town center tile; # of tiles from water; etc."?
Good Idea. Could you make a template so I should only fix the numbers?

Please remove cycles. Tourists center does not use this possibility.
I'll remove the cycles when I go in to set up the positioning information. First I need some information. For any of your industries, not just tourist, what are the considerations for positioning? We have town center and we have water. Are there any others? What are they?

Re: ECS implementation by George: ECS vectors. Beta 3 08/10/2007

Posted: 14 Oct 2007 08:40
by George
wallyweb wrote:
George wrote:
wallyweb wrote:What about positioning as in "# of tiles from town center tile; # of tiles from water; etc."?
Good Idea. Could you make a template so I should only fix the numbers? Please remove cycles. Tourists center does not use this possibility.
I'll remove the cycles when I go in to set up the positioning information. First I need some information. For any of your industries, not just tourist, what are the considerations for positioning? We have town center and we have water. Are there any others? What are they?
00 + This industry should be built in towns - D < Rz0 (Distance to town is smaller, than town zone 0 radius)
01 + This industry should be built near water - max N tiles away
02 + This industry should be build in towns with more inhabitants - at least N inhabitants (ECSAVBrewery)
03 + This industry should be built closer to town center - Rz1 + N > D (Distance to town is smaller, than town zone 1 radius + N)
04 - This industry can't be build in snow areas - Test snow. Obsolete. Not used now.
05 + This industry can't be build in desert - min N tiles away from the nearest desert tile (Usually 3 or 1)
06 + This industry should be built in town suburbs - D > Rz1 (Distance to town is larger, than town zone 1 radius)
07 + This industry requires flat land - flat land
08 + This industry requires sloped land - special terraforming required, see the pictures
09 + This industry should be build in forest areas - min N tiles around are rainforest (ECSTVTCPalenque, ECSWVForest) (ECSWVForest checks the landscape number, ignores condition everywhere except tropics)
0A + This industry should be build far from towns
  • a) disallow in townzones 1-4 (ECSTWTouristsCentre)
    b) Rz0 < D (Distance to town is larger, than town zone 0 radius
0B + This industry can't be build in rain forest - min N tiles away from the nearest rainforest tile (ECSAVFruitPlantation)
0C + This industry can't be build near the same industry - min N tiles away from the nearest industry with the same ID
0D + This industry can't be build close to water - min N tiles away from water
0E + This industry can't be build near the conflicting industry - min N tiles away from the nearest industry with the specified ID
0F + This industry should be built closer to the related supplying industry - max N tiles away from the nearest industry with the specified ID (ECSWVSawmill)
10 + This industry can't be build near the same industry of the same layout - min N tiles away from the nearest industry with the specified ID and layout (ECSTVTouristCentre)
8401 - Can't build here - disallow on coasts (ECSAVFruitPlantation, ECSWVForest)

Re: ECS implementation by George: ECS vectors. Beta 3 08/10/2007

Posted: 14 Oct 2007 11:02
by wallyweb
George wrote:
wallyweb wrote:... what are the considerations for positioning? ...
...(lots of conditions)...
Thanks George. One more question before I do this ...
Can an industry have more than 1 of those conditions? I think so but I want to make sure. If yes, is there a maximum of conditions per industry?

Re: ECS implementation by George: ECS vectors. Beta 3 08/10/2007

Posted: 14 Oct 2007 14:14
by George
wallyweb wrote:
George wrote:
wallyweb wrote:... what are the considerations for positioning? ...
...(lots of conditions)...
Thanks George. One more question before I do this ...
Can an industry have more than 1 of those conditions? I think so but I want to make sure. If yes, is there a maximum of conditions per industry?
Every industry can have as much conditions as it wants. Several conditions are applied multiply times (check industry with ID), once per ID.

Re: ECS implementation by George: ECS vectors. Beta 3 08/10/2007

Posted: 18 Oct 2007 12:22
by wallyweb
George wrote:...Every industry can have as much conditions as it wants. Several conditions are applied multiply times (check industry with ID), once per ID.
Hi George,
Look at the attached file and let me know if it makes sense to you.
Mark it up with any changes you want and send it back to me.

Re: ECS implementation by George: ECS vectors. Beta 3 08/10/2007

Posted: 18 Oct 2007 15:54
by George
wallyweb wrote:
George wrote:...Every industry can have as much conditions as it wants. Several conditions are applied multiply times (check industry with ID), once per ID.
Look at the attached file and let me know if it makes sense to you.
Mark it up with any changes you want and send it back to me.
|| 0A || Build outside towns
||-(a)|| !Tz0, !Tz1, !Tz2, !Tz3, !Tz4
wrong, only !Tz1, !Tz2, !Tz3, !Tz4
||8401|| Build [>=N] tiles from coast
wrong, always 1

Re: ECS implementation by George: ECS vectors. Beta 3 08/10/2007

Posted: 18 Oct 2007 16:19
by wallyweb
George wrote:|| 0A || Build outside towns
||-(a)|| !Tz0, !Tz1, !Tz2, !Tz3, !Tz4
wrong, only !Tz1, !Tz2, !Tz3, !Tz4
wiki wrote: ... where 0 is the outermost zone of the town
tells me that Tz0 is still part of the town. Small towns are able to have only one zone, Tz0, so is it ok to build in these towns?
George wrote:||8401|| Build [>=N] tiles from coast
wrong, always 1
Is "||8401|| Build >=1 tile from coast" ok?
or should it be "||8401|| Build >1 tile from coast"?

Re: ECS implementation by George: ECS vectors. Beta 3 08/10/2007

Posted: 18 Oct 2007 20:33
by George
wallyweb wrote:
George wrote:|| 0A || Build outside towns
||-(a)|| !Tz0, !Tz1, !Tz2, !Tz3, !Tz4
wrong, only !Tz1, !Tz2, !Tz3, !Tz4
wiki wrote: ... where 0 is the outermost zone of the town
tells me that Tz0 is still part of the town. Small towns are able to have only one zone, Tz0, so is it ok to build in these towns?
Tz0 is the zone where stations affect city rating. every city has Tz0. So for small town it can be inside a town
wallyweb wrote:
George wrote:||8401|| Build [>=N] tiles from coast
wrong, always 1
Is "||8401|| Build >=1 tile from coast" ok?
or should it be "||8401|| Build >1 tile from coast"?
>=1

Re: ECS implementation by George: ECS vectors. Beta 3 08/10/2007

Posted: 18 Oct 2007 21:14
by wallyweb
Ok George, how does it look now?

Re: ECS implementation by George: ECS vectors. Beta 3 08/10/2007

Posted: 19 Oct 2007 03:42
by George
wallyweb wrote:Ok George, how does it look now?
Ok

Re: ECS implementation by George: ECS vectors. Beta 3 08/10/2007

Posted: 19 Oct 2007 05:41
by wallyweb
George wrote:Ok
Good. Look at the wiki page for Neu Schwanstein Castle. Put an X in the appropriate "check" columns. Add your numbers. If you are happy with it, I will add the table to the other tourist centers.

Re: ECS implementation by George: ECS vectors. Beta 3 08/10/2007

Posted: 19 Oct 2007 06:27
by George
wallyweb wrote:
George wrote:Ok
Good. Look at the wiki page for Neu Schwanstein Castle. Put an X in the appropriate "check" columns. Add your numbers. If you are happy with it, I will add the table to the other tourist centers.
Have a look

Re: ECS implementation by George: ECS vectors. Beta 3 08/10/2007

Posted: 19 Oct 2007 07:24
by wallyweb
George wrote:
wallyweb wrote:
George wrote:Ok
Good. Look at the wiki page for Neu Schwanstein Castle. Put an X in the appropriate "check" columns. Add your numbers. If you are happy with it, I will add the table to the other tourist centers.
Have a look
Ok ... your turn :wink:
Be sure to check that I didn't accidentally omit something.
Also, for code 10, Build >=FFFFFF, you should show a numeric value instead.
Also, don't code OC and code 10 say the same thing?

Re: ECS implementation by George: ECS vectors. Beta 3 08/10/2007

Posted: 19 Oct 2007 10:44
by George
wallyweb wrote:Ok ... your turn :wink:
Be sure to check that I didn't accidentally omit something.
Also, for code 10, Build >=FFFFFF, you should show a numeric value instead.
Also, don't code OC and code 10 say the same thing?
I think you should move all these descriptions below the table to some page, where all of them are described in details, while here you should post only a link. I don't think it would be a good idea to put the same description to all the pages.
for code 10 FFFFFFFFh means long long away outside the map :roll: that means only 1 Castle of a type can be build. You can't have two identical castles.
0C means that a distance between different castles is at least 32 tiles (northern corners), while 10 means the distance between same castles.