Auteur Sujet: Limited number of each item ?  (Lu 282 fois)

Hors ligne DominiqueT

  • Officier HistWar
  • Major
  • ***
  • Messages: 649
    • Les Monuments de l'Empire
Limited number of each item ?
« le: 30 janvier 2011, 17:15:33 pm »
I am trying to "improve" some existing maps to make them more historically accurate.

In this case, I am trying to change the Quatre-Bras map, because there were no windmills at the crossroads.
So I delete the existing hamlets (2-3), but when I try to put a new hamlet, there is a red lighting and a message telling me : "too many objects of this type", even if there are now LESS items of that type than before !

Can anyone help me and/or give an explanation for this ?

Which is the number of permitted items for each type (more or less), if someone knows.
Thanks in anvance.

I haven't found an answer in the manual.

Hors ligne zu Pferd

  • Chef de Bataillon
  • **
  • Messages: 311
Re : Limited number of each item ?
« Réponse #1 le: 01 février 2011, 20:19:40 pm »
Hi DominiqueT,

I  also have run into (as everyone else) this problem.
It has to do with proximity to another object near by.
However, I never seen it happen with hamlets.  The program is set at 10 hamlets max.
You can change this number. There are consequences in AI performance to take into account...maybe others as well
In Waterloo mod I am not sure why you can't replace one hamlet for another.
Take your question to the Waterloo Mod builders as well, perhaps they can provide some help.

hope this helps
 :p :)


Hors ligne DominiqueT

  • Officier HistWar
  • Major
  • ***
  • Messages: 649
    • Les Monuments de l'Empire
Re : Re : Limited number of each item ?
« Réponse #2 le: 02 février 2011, 10:40:52 am »
Thanks for answering, zuPferd.

The error message is NOT that another object is too close, but that there are too many objects of that kind on the map.
You tell me that 10 is a max, but if I examine the Quatre-Bras map, there are 24 hamlets on the map as it is made.
If I want to add a hamlet, I have to delete more than 14 (arriving under 10, indeed), then I can add some until I get 11 !

Do you think it has to do with the Waterloo Mod ?

I don't think so, because it's just a map like another, and I suppose the problem is the same on any map.

Any comment/help would be appreciated.


Hors ligne DominiqueT

  • Officier HistWar
  • Major
  • ***
  • Messages: 649
    • Les Monuments de l'Empire
Re : Limited number of each item ?
« Réponse #3 le: 02 février 2011, 10:52:33 am »
I made some tests:

It appears that you can't place on a map more than:
- 11 hamlets
- 9 villages
- 6 farms
- 2 towns.

In this cas, it was a 6 km map.

For a 15 km map, it's 21 hamlets.

Can anyone confirm that?

« Modifié: 02 février 2011, 10:54:48 am par DominiqueT »

Hors ligne JMM

  • Administrateur
  • Maréchal d'Empire
  • *******
  • Messages: 7105
    • http://www.histwar.com
Re : Re : Re : Limited number of each item ?
« Réponse #4 le: 02 février 2011, 10:55:14 am »
Thanks for answering, zuPferd.

The error message is NOT that another object is too close, but that there are too many objects of that kind on the map.

Take a look at the file LimConst.txt (folder Constant)
3th column defines the number of each type... For hamlet, the figure is 10 (for the 2 small maps)
You can increase this figure. That said, it is important to limit the value in order to avoid 2 problems:
a) graphic one because the FPS can decrease at a low level.
b) AI can't work if the density is too important.

JMM

PS : sorry for the delay...

Hors ligne DominiqueT

  • Officier HistWar
  • Major
  • ***
  • Messages: 649
    • Les Monuments de l'Empire
Re : Limited number of each item ?
« Réponse #5 le: 02 février 2011, 11:02:17 am »
Un grand merci, Jean-Michel. (pas de problème pour le petit retard)

Est-ce possible qu'il y ait d'autres limitations à la création et à la modification d'une carte ?

Hors ligne JMM

  • Administrateur
  • Maréchal d'Empire
  • *******
  • Messages: 7105
    • http://www.histwar.com
Re : Re : Limited number of each item ?
« Réponse #6 le: 02 février 2011, 11:58:17 am »
Un grand merci, Jean-Michel. (pas de problème pour le petit retard)

Est-ce possible qu'il y ait d'autres limitations à la création et à la modification d'une carte ?

Les limitations portent sur le nombre d'objets et la distance entre objets.
La seconde limitation est importante car elle conditionne le bon fonctionnement de l'IA.

Cette dernière analyse le terrain et essaye, entre autre, de déterminer les lignes de progression.
Faire une carte avec un nombre d'objets important et surtout une dénsité élevée localement ne lui simplifie pas la tache.
Toutefois, les hameaux, zones arborés et plantation ne sont pas pris en compte car ils sont présumés ne pas être des éléments perturbateurs. Il en est de même des marais.

La gestion de trajectoires est toujours un domaine de recherche académique; faire déplacer plus de deux centaines d'entités dans un espace encombré en temps réel reste encore un véritable problème; pour contourner cette difficulté, HW agit sur 2 paramètres
a) limiter un peu la densité.
b) permettre aux unités de se traverser pour éviter d'éventuels blocages lors des déplacements.

JMM

Hors ligne zu Pferd

  • Chef de Bataillon
  • **
  • Messages: 311
Re : Re : Re : Re : Limited number of each item ?
« Réponse #7 le: 02 février 2011, 21:58:24 pm »
Take a look at the file LimConst.txt (folder Constant)
3th column defines the number of each type... For hamlet, the figure is 10 (for the 2 small maps)
You can increase this figure. That said, it is important to limit the value in order to avoid 2 problems:
a) graphic one because the FPS can decrease at a low level.
b) AI can't work if the density is too important.

JMM

PS : sorry for the delay...


Hello  JMM,

Thanks for the answer as well  :)