Difference between revisions of "BuildingScenariosSimple - French Version"
From The Battle for Wesnoth Wiki
TheArchivist (talk | contribs) |
TheArchivist (talk | contribs) |
||
Line 4: | Line 4: | ||
[scenario] | [scenario] | ||
+ | |||
id=test-1 | id=test-1 | ||
next_scenario=2_test-more | next_scenario=2_test-more | ||
+ | |||
name=A Simple Test Scenario | name=A Simple Test Scenario | ||
map_data="{campaigns/Test_Campaign/testmap}{~campaigns/Test_Campaign/testmap}" | map_data="{campaigns/Test_Campaign/testmap}{~campaigns/Test_Campaign/testmap}" | ||
turns=20 | turns=20 | ||
+ | |||
{DAWN} | {DAWN} | ||
{MORNING} | {MORNING} | ||
Line 15: | Line 18: | ||
{FIRST_WATCH} | {FIRST_WATCH} | ||
{SECOND_WATCH} | {SECOND_WATCH} | ||
+ | |||
music=wesnoth-1.ogg | music=wesnoth-1.ogg | ||
+ | |||
[event] | [event] | ||
name=prestart | name=prestart | ||
Line 30: | Line 35: | ||
[/objectives] | [/objectives] | ||
[/event] | [/event] | ||
+ | . | ||
+ | . | ||
+ | . |
Revision as of 14:20, 15 March 2007
<<<<<<< Construire un scénario simple
Je vais vous montrer le fichier d'un scénario vraiment très simple afin de vous expliquer l'utilité de chacune des lignes. Ce fichier n'est pas fonctionnel en l'état, mais il vous donnera les bases nécessaires pour décrire le but d'un scénario.
[scenario] id=test-1 next_scenario=2_test-more name=A Simple Test Scenario map_data="{campaigns/Test_Campaign/testmap}{~campaigns/Test_Campaign/testmap}" turns=20 {DAWN} {MORNING} {AFTERNOON} {DUSK} {FIRST_WATCH} {SECOND_WATCH} music=wesnoth-1.ogg [event] name=prestart [objectives] side=1 [objective] description= _ "Defeat Enemy Leader" condition=win [/objective] [objective] description= _ "Death of Konrad" condition=lose [/objective] [/objectives] [/event] . . .