<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.wesnoth.org/index.php?action=history&amp;feed=atom&amp;title=Buildingunits%2Ffr</id>
	<title>Buildingunits/fr - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.wesnoth.org/index.php?action=history&amp;feed=atom&amp;title=Buildingunits%2Ffr"/>
	<link rel="alternate" type="text/html" href="https://wiki.wesnoth.org/index.php?title=Buildingunits/fr&amp;action=history"/>
	<updated>2026-04-05T19:58:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.16</generator>
	<entry>
		<id>https://wiki.wesnoth.org/index.php?title=Buildingunits/fr&amp;diff=73970&amp;oldid=prev</id>
		<title>Shiki: /* Créer une nouvelle unité */ remove redlink</title>
		<link rel="alternate" type="text/html" href="https://wiki.wesnoth.org/index.php?title=Buildingunits/fr&amp;diff=73970&amp;oldid=prev"/>
		<updated>2024-11-08T03:53:49Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Créer une nouvelle unité: &lt;/span&gt; remove redlink&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 03:53, 8 November 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l17&quot; &gt;Line 17:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 17:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;En éditant le fichier, faites bien attention aux différentes propriétés. Si vous oubliez de modifier chaque clef (l'id par exemple), des problèmes pourront apparaître, allant de manque de caractéristiques chez l'unité, jusqu'à un crash du jeu, en passant par une impossibilité de charger l'unité dans le jeu.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;En éditant le fichier, faites bien attention aux différentes propriétés. Si vous oubliez de modifier chaque clef (l'id par exemple), des problèmes pourront apparaître, allant de manque de caractéristiques chez l'unité, jusqu'à un crash du jeu, en passant par une impossibilité de charger l'unité dans le jeu.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Pour des références plus complètes sur les propriétés des unités, vous pouvez visiter [[UnitTypeWML&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;/fr&lt;/del&gt;|cette page]]&lt;del class=&quot;diffchange diffchange-inline&quot;&gt; ([[UnitTypeWML|en]])&lt;/del&gt;. La plupart de ces références ont une fonction évidente pour des joueurs vétérans, et son courtes et descriptives. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Pour des références plus complètes sur les propriétés des unités, vous pouvez visiter [[UnitTypeWML|cette page]]. La plupart de ces références ont une fonction évidente pour des joueurs vétérans, et son courtes et descriptives. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Il y a quelques principes de bases très importants :&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Il y a quelques principes de bases très importants :&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Shiki</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.wesnoth.org/index.php?title=Buildingunits/fr&amp;diff=73969&amp;oldid=prev</id>
		<title>Shiki: link tags</title>
		<link rel="alternate" type="text/html" href="https://wiki.wesnoth.org/index.php?title=Buildingunits/fr&amp;diff=73969&amp;oldid=prev"/>
		<updated>2024-11-08T03:51:22Z</updated>

		<summary type="html">&lt;p&gt;link tags&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 03:51, 8 November 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l9&quot; &gt;Line 9:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 9:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;En créant du contenu original, vous pourriez vouloir inventer une nouvelle unité. Cette page va vous expliquer toutes les étapes de la création d'une nouvelle unité, et vous montrer comment l'utiliser dans le jeu.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;En créant du contenu original, vous pourriez vouloir inventer une nouvelle unité. Cette page va vous expliquer toutes les étapes de la création d'une nouvelle unité, et vous montrer comment l'utiliser dans le jeu.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Avant de commencer, vous devez vous souvenir que le tag &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/del&gt;[[UnitTypeWML&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;/fr&lt;/del&gt;|[unit_type]]]&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;''' ([[UnitTypeWML|en]]) &lt;/del&gt;créé un nouveau type d'unité, tandis que le tag &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/del&gt;[[SingleUnitWML&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;/fr&lt;/del&gt;|[unit]]]&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;''' ([[SingleUnitWML|en]]) &lt;/del&gt;vous permet d'utiliser une unité dans un scénario. Cet article va se focaliser sur le premier tag.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Avant de commencer, vous devez vous souvenir que le tag &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;b&amp;gt;&lt;/ins&gt;[[UnitTypeWML | [unit_type]]]&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/b&amp;gt; &lt;/ins&gt;créé un nouveau type d'unité, tandis que le tag &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;b&amp;gt;&lt;/ins&gt;[[SingleUnitWML | [unit]]]&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/b&amp;gt; &lt;/ins&gt;vous permet d'utiliser une unité dans un scénario. Cet article va se focaliser sur le premier tag.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Créer une nouvelle unité ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Créer une nouvelle unité ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Shiki</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.wesnoth.org/index.php?title=Buildingunits/fr&amp;diff=73968&amp;oldid=prev</id>
		<title>Shiki: /* Utiliser votre nouvelle unité */</title>
		<link rel="alternate" type="text/html" href="https://wiki.wesnoth.org/index.php?title=Buildingunits/fr&amp;diff=73968&amp;oldid=prev"/>
		<updated>2024-11-08T03:49:24Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Utiliser votre nouvelle unité&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 03:49, 8 November 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l27&quot; &gt;Line 27:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 27:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Utiliser votre nouvelle unité ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Utiliser votre nouvelle unité ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Les fichiers de configurations de vos unités doivent être placés dans votre dossier ''units'' de votre add-on, et leurs images dans le dossier ''images/units''. Faites attention, il faut inclure le fichier ''units'' dans votre fichier ''_main.cfg''. L'inclusion pour ce dossier devra être compris à l'intérieur d'un tag '''[&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;+&lt;/del&gt;units] [/units]'''. Voir [[AddonStructure/fr|cette page]] ([[AddonStructure|en]]) pour un exemple.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Les fichiers de configurations de vos unités doivent être placés dans votre dossier ''units'' de votre add-on, et leurs images dans le dossier ''images/units''. Faites attention, il faut inclure le fichier ''units'' dans votre fichier ''_main.cfg''. L'inclusion pour ce dossier devra être compris à l'intérieur d'un tag '''[units] [/units]'''. Voir [[AddonStructure/fr|cette page]] ([[AddonStructure|en]]) pour un exemple.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Shiki</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.wesnoth.org/index.php?title=Buildingunits/fr&amp;diff=65061&amp;oldid=prev</id>
		<title>Svenor: Traduction jusqu'à &quot;Utiliser votre nouvelle unité&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.wesnoth.org/index.php?title=Buildingunits/fr&amp;diff=65061&amp;oldid=prev"/>
		<updated>2019-11-14T13:19:40Z</updated>

		<summary type="html">&lt;p&gt;Traduction jusqu&amp;#039;à &amp;quot;Utiliser votre nouvelle unité&amp;quot;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 13:19, 14 November 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l13&quot; &gt;Line 13:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 13:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Créer une nouvelle unité ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Créer une nouvelle unité ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;The easiest way to make a new unit is to make a copy of an existing unit&lt;/del&gt;'&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;s configuration file and modify it&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;All units shipped with the game can be found in the game&lt;/del&gt;'&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;s &amp;lt;i&amp;gt;&lt;/del&gt;data/core/units&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;&lt;/del&gt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;i&amp;gt; directory (see &lt;/del&gt;[[EditingWesnoth]] &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;for how to find it)&lt;/del&gt;. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;La manière la plus simple de fabriquer une nouvelle unité est de faire une copie du fichier de configuration d&lt;/ins&gt;'&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;une unité existante, et de modifier cette copie&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Toutes les unités présentes dans le jeu de base peuvent être trouvées dans le dossier '&lt;/ins&gt;'&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;/&lt;/ins&gt;data/core/units&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'' à la racine des dossiers du jeu (voir [[EditingWesnoth&lt;/ins&gt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;fr|cette page]] ou sa &lt;/ins&gt;[[EditingWesnoth&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;|version anglaise&lt;/ins&gt;]] &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;pour plus d'instructions pour trouver ces fichiers&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;When you are editing the file&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;pay &lt;/del&gt;attention &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;to the property keys&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;If you forget to modify each key &lt;/del&gt;(&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;for example, the unique &lt;/del&gt;id &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;key&lt;/del&gt;), &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;problems may arise, varying for minor issues such as lack of features on the unit, to game refusing to load the unit file&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;or&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;in the worst case&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;crashing the game&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;En éditant le fichier&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;faites bien &lt;/ins&gt;attention &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;aux différentes propriétés&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Si vous oubliez de modifier chaque clef &lt;/ins&gt;(&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;l'&lt;/ins&gt;id &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;par exemple&lt;/ins&gt;), &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;des problèmes pourront apparaître&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;allant de manque de caractéristiques chez l'unité&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;jusqu'à un crash du jeu&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;en passant par une impossibilité de charger l'unité dans le jeu&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;For complete reference on unit properties see &lt;/del&gt;[[UnitTypeWML]]. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Most of them are self-explanatory to anyone who has played Wesnoth for very long&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;and are brief but descriptive&lt;/del&gt;. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Pour des références plus complètes sur les propriétés des unités, vous pouvez visiter [[UnitTypeWML/fr|cette page]] (&lt;/ins&gt;[[UnitTypeWML&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;|en&lt;/ins&gt;]]&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;)&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;La plupart de ces références ont une fonction évidente pour des joueurs vétérans&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;et son courtes et descriptives&lt;/ins&gt;. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;There are &lt;/del&gt;a &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;few important basics&lt;/del&gt;: &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Il y &lt;/ins&gt;a &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;quelques principes de bases très importants &lt;/ins&gt;:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;The first attribute of a unit &lt;/del&gt;type &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;is the &amp;lt;b&amp;gt;&lt;/del&gt;id=&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/b&amp;gt; key&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;which is a &lt;/del&gt;unique &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;identifier for that &lt;/del&gt;type. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Whenever referring to a unit &lt;/del&gt;type &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;via in a scenario&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;you use this &lt;/del&gt;id. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;It is not translatable&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;The &amp;lt;b&amp;gt;&lt;/del&gt;name=&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/b&amp;gt; key is the displayed name of the unit type in places such as help&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;the status &lt;/del&gt;table, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;and the sidebar&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;and is translatable&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;You can have a complex &lt;/del&gt;id&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, but a &lt;/del&gt;simple &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;name&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Remember that this is &amp;lt;b&amp;gt;NOT&amp;lt;/b&amp;gt; the same as the name of a specific instance of a unit created in a scenario via &lt;/del&gt;[unit].&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;La première attribution d'un &lt;/ins&gt;type &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;d'unité est sa clef '''&lt;/ins&gt;id=&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;qui est un identifiant &lt;/ins&gt;unique &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;à chaque &lt;/ins&gt;type. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Pour se référer à un &lt;/ins&gt;type &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;d'unité dans un scénario&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;vous devrez utiliser cet &lt;/ins&gt;id. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Il n'est pas traductible&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;La clef '''&lt;/ins&gt;name=&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' est le nom de l'unité qui est affiché dans l'aide&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;la &lt;/ins&gt;table &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;des statut&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;ou encore dans la barre latérale&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;qui est traductible&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Vous pouvez avoir un &lt;/ins&gt;id &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;complexe et un nom très &lt;/ins&gt;simple. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Vous devez comprendre que ce n'est pas le même nom que celui renseigné au moment de créer une unité dans un scénario au moyen du tag '''&lt;/ins&gt;[unit]&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;When referencing the unit &lt;/del&gt;type, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;the &lt;/del&gt;id &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;must be reproduced verbatim, without typos&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;and in a case-sensitive manner&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;If you don&lt;/del&gt;'&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;t do this&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;the game will throw Unknown &lt;/del&gt;Unit &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;errors&lt;/del&gt;. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Pour se référencer à un &lt;/ins&gt;type &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;d'unité&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;l'&lt;/ins&gt;id &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;doit être renseigné tel quel&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;sans faute de frappe et de manière sensible à la casse&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Si cela n&lt;/ins&gt;'&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;est pas respecté&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;le jeu générera des erreurs '''Unknow &lt;/ins&gt;Unit&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Do not set &amp;lt;b&amp;gt;&lt;/del&gt;movement=&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/b&amp;gt; to &lt;/del&gt;0. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;It creates weird infinite movement behavior&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;This might be fixed in the future&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;For now&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;to make an &lt;/del&gt;immobile &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;unit&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;set &lt;/del&gt;movement &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;to &lt;/del&gt;1 &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;and use &lt;/del&gt;[movement_costs] &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;to make it unable to move onto any terrain&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;N'initialisez pas '''&lt;/ins&gt;movement=&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' à &lt;/ins&gt;0. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Cela crée un comportement bizarre de mouvement infini&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Ce bug sera sûrement fixé dans le futur&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Pour l'instant&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;pour rendre une unité &lt;/ins&gt;immobile, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;initialisez son tag '''&lt;/ins&gt;movement&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' à &lt;/ins&gt;1 &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;et utilisez '''&lt;/ins&gt;[movement_costs]&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' pour la rendre incapable de bouger sur tous les terrains.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;== Utiliser votre nouvelle unité ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Les fichiers de configurations de vos unités doivent être placés dans votre dossier ''units'' de votre add-on, et leurs images dans le dossier ''images/units''. Faites attention, il faut inclure le fichier ''units'' dans votre fichier ''_main.cfg''. L'inclusion pour ce dossier devra être compris à l'intérieur d'un tag '''[+units] [/units]'''. Voir [[AddonStructure/fr|cette page]] ([[AddonStructure|en]]) pour un exemple&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Using your new unit ==&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Custom unit configuration files should be put in your add-on's &amp;lt;i&amp;gt;units&amp;lt;/i&amp;gt; directory, and their custom graphics in the &amp;lt;i&amp;gt;images/units&amp;lt;/i&amp;gt; directory. Be sure to have the &amp;lt;i&amp;gt;units&amp;lt;/i&amp;gt; directory included from your _main.cfg. The include for this directory, however, should be wrapped in a &amp;lt;b&amp;gt;[+units][/units]&amp;lt;/b&amp;gt; tag pair. See [[AddonStructure]] for an example.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;All units in this directory will now be accessible in any content loaded under the same &amp;lt;b&amp;gt;#ifdef&amp;lt;/b&amp;gt; conditional. You can now allow sides to recruit the unit by listing it in the &amp;lt;b&amp;gt;recruit=&amp;lt;/b&amp;gt; key in [side] (see [[SideWML]], place instances of it on the map with their own custom stats via [unit], or anything else you please.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;All units in this directory will now be accessible in any content loaded under the same &amp;lt;b&amp;gt;#ifdef&amp;lt;/b&amp;gt; conditional. You can now allow sides to recruit the unit by listing it in the &amp;lt;b&amp;gt;recruit=&amp;lt;/b&amp;gt; key in [side] (see [[SideWML]], place instances of it on the map with their own custom stats via [unit], or anything else you please.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Svenor</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.wesnoth.org/index.php?title=Buildingunits/fr&amp;diff=65060&amp;oldid=prev</id>
		<title>Svenor: Création de la page et traduction jusqu'à &quot;Créer une nouvelle unité&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.wesnoth.org/index.php?title=Buildingunits/fr&amp;diff=65060&amp;oldid=prev"/>
		<updated>2019-11-14T10:55:31Z</updated>

		<summary type="html">&lt;p&gt;Création de la page et traduction jusqu&amp;#039;à &amp;quot;Créer une nouvelle unité&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Translations}}&lt;br /&gt;
&lt;br /&gt;
{{Create/fr}}&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;float:right; margin-left:1em;&amp;quot;		&lt;br /&gt;
|__TOC__	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
En créant du contenu original, vous pourriez vouloir inventer une nouvelle unité. Cette page va vous expliquer toutes les étapes de la création d'une nouvelle unité, et vous montrer comment l'utiliser dans le jeu.&lt;br /&gt;
&lt;br /&gt;
Avant de commencer, vous devez vous souvenir que le tag '''[[UnitTypeWML/fr|[unit_type]]]''' ([[UnitTypeWML|en]]) créé un nouveau type d'unité, tandis que le tag '''[[SingleUnitWML/fr|[unit]]]''' ([[SingleUnitWML|en]]) vous permet d'utiliser une unité dans un scénario. Cet article va se focaliser sur le premier tag.&lt;br /&gt;
&lt;br /&gt;
== Créer une nouvelle unité ==&lt;br /&gt;
&lt;br /&gt;
The easiest way to make a new unit is to make a copy of an existing unit's configuration file and modify it. All units shipped with the game can be found in the game's &amp;lt;i&amp;gt;data/core/units&amp;lt;/i&amp;gt; directory (see [[EditingWesnoth]] for how to find it). &lt;br /&gt;
&lt;br /&gt;
When you are editing the file, pay attention to the property keys. If you forget to modify each key (for example, the unique id key), problems may arise, varying for minor issues such as lack of features on the unit, to game refusing to load the unit file, or, in the worst case, crashing the game.&lt;br /&gt;
&lt;br /&gt;
For complete reference on unit properties see [[UnitTypeWML]]. Most of them are self-explanatory to anyone who has played Wesnoth for very long, and are brief but descriptive. &lt;br /&gt;
&lt;br /&gt;
There are a few important basics: &lt;br /&gt;
&lt;br /&gt;
* The first attribute of a unit type is the &amp;lt;b&amp;gt;id=&amp;lt;/b&amp;gt; key, which is a unique identifier for that type. Whenever referring to a unit type via in a scenario, you use this id. It is not translatable. The &amp;lt;b&amp;gt;name=&amp;lt;/b&amp;gt; key is the displayed name of the unit type in places such as help, the status table, and the sidebar, and is translatable. You can have a complex id, but a simple name. Remember that this is &amp;lt;b&amp;gt;NOT&amp;lt;/b&amp;gt; the same as the name of a specific instance of a unit created in a scenario via [unit].&lt;br /&gt;
* When referencing the unit type, the id must be reproduced verbatim, without typos, and in a case-sensitive manner. If you don't do this, the game will throw Unknown Unit errors. &lt;br /&gt;
* Do not set &amp;lt;b&amp;gt;movement=&amp;lt;/b&amp;gt; to 0. It creates weird infinite movement behavior. This might be fixed in the future. For now, to make an immobile unit, set movement to 1 and use [movement_costs] to make it unable to move onto any terrain.&lt;br /&gt;
&lt;br /&gt;
== Using your new unit ==&lt;br /&gt;
&lt;br /&gt;
Custom unit configuration files should be put in your add-on's &amp;lt;i&amp;gt;units&amp;lt;/i&amp;gt; directory, and their custom graphics in the &amp;lt;i&amp;gt;images/units&amp;lt;/i&amp;gt; directory. Be sure to have the &amp;lt;i&amp;gt;units&amp;lt;/i&amp;gt; directory included from your _main.cfg. The include for this directory, however, should be wrapped in a &amp;lt;b&amp;gt;[+units][/units]&amp;lt;/b&amp;gt; tag pair. See [[AddonStructure]] for an example.&lt;br /&gt;
&lt;br /&gt;
All units in this directory will now be accessible in any content loaded under the same &amp;lt;b&amp;gt;#ifdef&amp;lt;/b&amp;gt; conditional. You can now allow sides to recruit the unit by listing it in the &amp;lt;b&amp;gt;recruit=&amp;lt;/b&amp;gt; key in [side] (see [[SideWML]], place instances of it on the map with their own custom stats via [unit], or anything else you please.&lt;br /&gt;
&lt;br /&gt;
=== Multiplayer factions and eras ===&lt;br /&gt;
&lt;br /&gt;
Another common use of custom units it to group them into a multiplayer faction, and group one or several factions together into an era. A faction is several units that represent a common theme, such as the Loyalists. An era is several factions grouped together, usually under a common theme, but can also be done so for other reasons; an example would be the Default era, which contains all the eras used in multiplayer.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; Remember that eras and factions is a construct unique to multiplayer.&lt;br /&gt;
&lt;br /&gt;
More detailed instructions on factions and eras can be found in [[BuildingFactions]] and [[EraWML]] articles. A faction, if there's only one, must be included in an era. You will not be able to add your units to any era that ships with the game.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
* [[Create]]&lt;br /&gt;
* [[EditingWesnoth]]&lt;br /&gt;
* [[Creating Unit Art]]&lt;br /&gt;
* [[CampaignServerWML]]&lt;br /&gt;
* [[PblWML]]&lt;br /&gt;
* [[Team_Color_Shifting]]&lt;br /&gt;
* [[Advanced_Animation_Tutorial]]&lt;br /&gt;
* [[BuildingScenariosIntermediate]]&lt;/div&gt;</summary>
		<author><name>Svenor</name></author>
		
	</entry>
</feed>