Deprecated: Assigning the return value of new by reference is deprecated in /home/pedrolito/www/colonization.fr/httpdocs/forum/showpost.php on line 215

Deprecated: Assigning the return value of new by reference is deprecated in /home/pedrolito/www/colonization.fr/httpdocs/forum/showpost.php on line 220

Deprecated: Assigning the return value of new by reference is deprecated in /home/pedrolito/www/colonization.fr/httpdocs/forum/includes/init.php on line 49

Deprecated: Assigning the return value of new by reference is deprecated in /home/pedrolito/www/colonization.fr/httpdocs/forum/includes/init.php on line 97

Deprecated: Assigning the return value of new by reference is deprecated in /home/pedrolito/www/colonization.fr/httpdocs/forum/includes/init.php on line 101

Deprecated: Assigning the return value of new by reference is deprecated in /home/pedrolito/www/colonization.fr/httpdocs/forum/includes/init.php on line 109

Deprecated: Assigning the return value of new by reference is deprecated in /home/pedrolito/www/colonization.fr/httpdocs/forum/includes/init.php on line 120

Deprecated: Assigning the return value of new by reference is deprecated in /home/pedrolito/www/colonization.fr/httpdocs/forum/includes/init.php on line 124

Deprecated: Assigning the return value of new by reference is deprecated in /home/pedrolito/www/colonization.fr/httpdocs/forum/includes/init.php on line 132

Deprecated: Assigning the return value of new by reference is deprecated in /home/pedrolito/www/colonization.fr/httpdocs/forum/includes/init.php on line 201

Deprecated: Assigning the return value of new by reference is deprecated in /home/pedrolito/www/colonization.fr/httpdocs/forum/includes/init.php on line 378

Deprecated: Assigning the return value of new by reference is deprecated in /home/pedrolito/www/colonization.fr/httpdocs/forum/includes/class_core.php on line 2518

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in [path]/includes/functions.php on line 3451

Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in [path]/includes/functions.php on line 3638

Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in [path]/includes/functions.php on line 3638

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in [path]/includes/functions.php on line 3638

Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in [path]/includes/functions.php on line 3638

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in [path]/includes/functions.php on line 3638

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in [path]/includes/functions.php on line 3638

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in [path]/includes/functions.php on line 3638

Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in [path]/includes/functions.php on line 3638

Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in [path]/includes/functions.php on line 3584

Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in [path]/includes/functions.php on line 3638

Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in [path]/includes/functions.php on line 3638
Forum Colonization.fr - Afficher un message - Projet de mod, caractéristique de terrain ...
Afficher un message
  (#9 (permalink)) Vieux
Robert Surcouf Robert Surcouf est déconnecté
Vétéran
 
Avatar de Robert Surcouf
 
Messages: 230
Tournois joués: 0
Tournois gagnés: 0
Par défaut Aspect technique - 27/10/2009, 21h26

Merci pour toutes ces précisions.

Je vais essayer le fichier que tu m'as envoyé. C'est bête, j'avais essayé chez moi, mais il me manquait juste trois lignes. Quel nigaud !

Pour le mouvement, je veux bien que tu programmes une fonction
<fCoefMovement>0.5</fCoefMovement>
Par contre, puisque je me suis lancé dans la programmation, pourrais-tu m'expliquer un peu comment faire. Je sais je suis curieux ...
Après tout, il doit bien exister une solution simple, non ? Comment le jeu gère-t-il les routes dans ce cas là? Il doit bien y avoir des coûts de déplacements demi-entiers. Dans Civ 4, on peut même se déplacer de 10 cases avec un chemin de fer ...

Sur les fonctions:
<iAppearance>0</iAppearance>
<iDisappearance>0</iDisappearance>

Je ne sais pas... Je n'ai vu que 0 ou 1, et pourtant ce ne sont pas des booléens. Étrange, non ?

Sur l'idée d'intégrer ces idées dans DoNE, je suis enthousiaste. Tenz-moi au courant !

A bientôt
Réponse avec citation