Systèmes centrauxCore systems
DéfenseDefense
Un mur construit n'est pas un décor. Il entre dans la carte des obstacles avec sa résistance, et les zombies qui le pressent l'usent, même quand personne ne les regarde.
A wall that has been built is not scenery. It enters the obstacle map with its own resistance, and the zombies pressing on it wear it down, even when nobody is watching them.
Le périmètre n'est pas ce qui a été construitThe perimeter is not what was built
Presque personne ne bâtit une enceinte complète. On adosse une clôture à une maison, on ferme le passage entre deux bâtiments, on bouche une haie. Le périmètre réel est donc fait pour moitié de constructions et pour moitié de murs qui étaient déjà là.
Almost nobody builds a complete enclosure. A fence gets leaned against a house, the gap between two buildings gets closed, a hedge gets plugged. The real perimeter is therefore half construction and half walls that were already there.
Le mod suit donc les deux. À partir de chaque élément construit, il remonte de proche en proche le long des murs de la carte qui y sont raccordés, et les ajoute au périmètre suivi. Un mur de maison qui ferme un côté de la cour compte donc autant qu'une palissade posée à la main.
The mod therefore tracks both. Starting from every built element, it works its way outwards along the map walls connected to it and adds them to the tracked perimeter. A house wall that closes one side of the yard therefore counts just as much as a hand-placed palisade.
L'inverse est vrai aussi : quand une portion construite est retirée, les murs de la carte qui ne tiennent plus à rien sont relâchés.
The reverse holds too: when a built section is removed, the map walls that no longer connect to anything are released.
La durabilité est celle du jeuDurability comes from the game
Une construction n'a pas de résistance inventée. Le mod lit directement les points de vie de l'objet tel que le jeu le connaît : les matériaux et le niveau de menuiserie comptent exactement comme d'habitude. Un mur de bois mal fini cède plus vite qu'un mur de brique, sans que le mod ait à en décider.
A construction has no invented resistance. The mod reads the object's hit points directly as the game knows them: materials and carpentry level count exactly as they normally do. A poorly finished wooden wall gives way sooner than a brick one, without the mod having any say in it.
Une valeur de repli par matériau existe pour les rares structures qui ne répondent pas, et elle suit le même ordre : le bois en bas, la brique au double, le métal au triple. C'est elle, et elle seule, que règle PV de base des constructions dans le bac à sable.
A per-material fallback value exists for the rare structures that do not answer, and it follows the same order: wood at the bottom, brick at double, metal at triple. It is that value, and that value alone, that Construction Base HP sets in the sandbox.
La pressionPressure
Un zombie qui bute contre une structure suivie lui inflige des dégâts. Tant qu'il pousse, la structure s'use. À zéro, elle est détruite.
A zombie pressing against a tracked structure deals damage to it. As long as it pushes, the structure wears down. At zero, it is destroyed.
Le rythme est volontairement lent. Un zombie isolé contre un mur ne représente presque rien. C'est le nombre qui fait la différence : une horde appuyée sur la même paroi additionne ses efforts, et un mur que quelques zombies n'entameraient pas en une journée tombe alors bien plus vite.
The rate is deliberately slow. A single zombie against a wall amounts to almost nothing. Numbers are what make the difference: a horde leaning on the same panel adds its efforts together, and a wall that a few zombies would not dent in a day then falls much faster.
Cette usure ne demande pas que le joueur regarde. Elle vient des zombies qui vivent autour de lui sans être affichés, jusqu'à 250 tuiles (voir Simulation). Un joueur qui dort, ou qui fouille le bâtiment d'à côté, peut donc trouver sa palissade entamée.
This wear does not need the player to be watching. It comes from the zombies living around the player without being displayed, up to 250 tiles away (see Simulation). A player who is asleep, or searching the building next door, can therefore find the palisade worn down.
Mais elle s'arrête quand le joueur s'éloigne. Au-delà de 250 tuiles, les zombies ne sont plus que des hordes, et une horde n'abîme rien. Une base laissée pour une longue expédition ne s'use pas en l'absence du joueur. Elle peut en revanche avoir une horde posée devant elle à son retour, qui se remettra à pousser dès qu'il sera assez près.
But it stops when the player moves away. Beyond 250 tiles, zombies are nothing more than hordes, and a horde damages nothing. A base left behind for a long expedition does not wear down while the player is away. It may, on the other hand, have a horde sitting in front of it on the player's return, which will start pushing again as soon as the player is close enough.
Un zombie réel, celui que le joueur voit cogner, n'est pas concerné par tout ceci : il frappe les murs par le système du jeu de base, que le mod ne touche pas.
A real zombie, the one the player sees hammering, is not concerned by any of this: it hits walls through the base game's own system, which the mod does not touch.
La brècheThe breach
Quand une structure atteint zéro, elle ne disparaît pas silencieusement. Les zombies qui se trouvaient contre elle sont d'abord écartés, ce qui évite qu'ils se retrouvent à l'intérieur au moment même où le mur cède. Puis la structure tombe, et l'endroit reste marqué comme une brèche.
When a structure reaches zero it does not vanish quietly. The zombies that were pressed against it are first pushed aside, which prevents them from ending up inside at the very moment the wall gives way. Then the structure falls, and the spot stays marked as a breach.
Le scellement est alors recalculé. Si cette structure fermait l'enceinte, celle-ci n'est plus close, et tout ce qu'elle retenait redevient libre de circuler (voir Scellement).
Sealing is then recomputed. If that structure was what closed the enclosure, the enclosure is no longer closed, and everything it held back is free to move again (see Sealing).
L'eauWater
L'eau compte comme un bord. Une base adossée à une rivière ou à un lac est fermée de ce côté sans qu'il faille y construire quoi que ce soit. Et un pont construit pour regagner la terre ferme est reconnu comme une ouverture : il relie la base au reste du monde, comme le ferait une porte ouverte.
Water counts as an edge. A base backing onto a river or a lake is closed on that side without anything having to be built there. And a bridge built to get back to dry land is recognised as an opening: it links the base to the rest of the world, as an open door would.
Un périmètre qui granditA growing perimeter
Le raccordement aux murs de la carte ne se fait pas d'un coup. Il progresse un peu à chaque instant, et les portions situées sur du terrain que le jeu n'a pas encore chargé sont reprises plus tard. C'est ce qui permet à une grande enceinte d'entrer dans le suivi à mesure qu'elle est approchée.
Connecting to the map walls does not happen all at once. It advances a little at every moment, and the sections sitting on terrain the game has not loaded yet are picked up again later. That is what lets a large enclosure enter the tracking as it is approached.
Une limite existe malgré tout, et elle porte sur la quantité de mur suivi plutôt que sur son éloignement. Une clôture raccordée à la base et qui traverserait la carte entière finirait par dépasser ce que le mod peut suivre, sauvegarder et tenir à jour.
A limit does exist all the same, and it bears on the quantity of wall tracked rather than on how far away it is. A fence connected to the base and running across the whole map would eventually exceed what the mod can track, save and keep up to date.
Le panneauThe panel
Le panneau de défense montre le périmètre tel que le mod le voit : le sol protégé, les espaces fermés, l'état de chaque structure et les dégâts subis. Son bouton n'apparaît que lorsque le menu de construction est ouvert, pour ne pas encombrer l'écran le reste du temps.
The defense panel shows the perimeter as the mod sees it: the protected ground, the closed spaces, the state of each structure and the damage taken. Its button only appears when the building menu is open, so as not to clutter the screen the rest of the time.
Il répond à une question que rien d'autre ne permet de poser : ce que je crois avoir fermé l'est-il vraiment ?
It answers a question that nothing else makes it possible to ask: is what I believe I have closed really closed?
Le réglage Dégâts aux constructionsThe Construction Damage setting
Désactiver Dégâts aux constructions dans le bac à sable coupe l'usure décrite plus haut : celle des zombies que le joueur ne voit pas. Une base ne peut plus être percée pendant que personne ne regarde.
Turning off Construction Damage in the sandbox cuts the wear described above: the wear from the zombies the player does not see. A base can no longer be breached while nobody is watching.
Cela ne la rend pas indestructible. Un zombie réel, devant le joueur, continue de frapper les murs par le système du jeu, que ce réglage ne touche pas.
That does not make it indestructible. A real zombie, in front of the player, keeps hitting walls through the game's own system, which this setting does not touch.
Ce que ça change en jeu : une base ne tient pas parce qu'elle a été construite, elle tient parce que rien n'a encore eu le temps de la défaire.
What this changes in play: a base does not hold because it was built, it holds because nothing has had the time to undo it yet.