Editing scenario
Moderator: Forum Moderators
Forum rules
- Please use [code] BBCode tags in your posts for embedding WML snippets.
- To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Editing scenario
Hi,
Actually I have a .map and a .cfg and everything work well.
I tried to put the map data from my .map into the map data of my .cfg and then open the .cfg with the editor. The terrain are all at the right place but the scenario special button are unvaiable in the .cfg.
I do miss something but I dont know why.
the code of the .cfg I try to open in the editor :
2 question :
How I can put custom unit in the editor drop-down menu unit ?
(For have something like with custom terrain)
3 question :
Dunno if its a annoying feature or a bug :
I add the facing capacity manualy into my scenario .cfg (build with the editor). when I save the scenario after modify something in the editor the facing capacity disappeared.
Actually I have a .map and a .cfg and everything work well.
I tried to put the map data from my .map into the map data of my .cfg and then open the .cfg with the editor. The terrain are all at the right place but the scenario special button are unvaiable in the .cfg.
I do miss something but I dont know why.
the code of the .cfg I try to open in the editor :
Code: Select all
#textdomain wesnoth-The_Forgotten_Hero
#define STORY
# [story]
# [part]
# story= _"Après sa défaite contre l'armée Gweddry Mal-Ravanal rumine sa vengeance dans les tréfonds des plans sectral. Il découvrit le moyen de créer un portail spacio-temporel afin de détruire toutes les autres formes de vie existante et en particulié les arogant humain"
# background=background/01_00_Prologue.png
# [/part]
# [part]
# story=_"Les voyages aux travers des vortex sont extrémement délicat et demande une puissance inimaginable. Certain point temporel son immuable. Impossible donc d'assasiner Haldric..."
# background=background/01_01_Prologue.png
# [/part]
# [part]
# story=_"Haldric est en partance pour signer le traité de paix avec deux des quatre seigneur elfes(lesautre vote par,procuration). Une défence commune permetra au deux peuple de repousser les tributs barbare hors de vos frontière, en commancant par bouter les nains loin au nord. Vous avez rendez vous dans l'antique clairière mystique se situant au coeur de la foret de Wesmere."
# background=background/01_02_Prologue.png
# [/part]
# [part]
# background=maps/AA_foret_de_wesmere.png
# show_title=yes
# {OLD_JOURNEY 700 850}
# {OLD_JOURNEY 700 820}
# {OLD_JOURNEY 700 790}
# {OLD_JOURNEY 700 760}
# {OLD_JOURNEY 700 730}
#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gs^Fds, Gs^Fds, Gs^Fds
Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Md, Hh, Hh, Mm^Xm, Mm^Xm, Mm^Xm, Gs^Fds, Gg, Gg, Mm, Gs^Fds, Hh, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fms, Gs^Fms, Gs^Fms, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Efm, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Ww, Wo, Ww, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds
"
name=_"La paix ne tiens qu'a un fil"
random_starting_time=no
turns=-1
snapshot=no
victory_when_enemies_defeated=yes
{TURNS 40 30 20}
{SCENARIO_MUSIC breaking_the_chains.ogg}
{STORY}
{DAWN}
{MORNING}
{AFTERNOON}
{DUSK}
{FIRST_WATCH}
{SECOND_WATCH}
[side]
side=1
type=Haldric
id=Haldric
name=_"Haldric"
unrenamable=yes
facing=se
controller=human
profile="portraits/haldric.png"
shroud=yes
team_name=1
x,y=1,7
#recruit=Dwarvish Fighter,Dwarvish Thunderer,Dwarvish Ulfserker,Dwarvish Guardsman
#recruit=Horseman,Bowman,Spearman,Footpad
{GOLD 100 50 25}
{INCOME 10 5 3}
[/side]
[side]
side=2
#ifdef HARD
type=Elvish High Lord
#else
type=Elvish Lord
#endif
id=Logalmier
name=_"Logalmier"
unrenamable=yes
canrecruit=yes
controller=ai
team_name=1
profile="portraits/logalmier.png"
x,y=34,8
{IS_EXPENDABLE_LEADER}
{GOLD 50 75 100}
{INCOME 3 5 10}
[/side]
[side]
side=3
type=Dwarvish Lord
id=Lord Galdor
name=_"Galdor"
unrenamable=yes
facing=n
controller=ai
canrecruit=yes
team_name=3
ai_special="guardian"
{IS_EXPENDABLE_LEADER}
[/side]
[side]
side=4
no_leader=yes
controller=ai
team_name=4
hidden=yes
[/side]
[event]
name=prestart
[remove_shroud]
side=1
[/remove_shroud]
[place_shroud]
side=1
x,y=12,17
radius=7
[/place_shroud]
{CAPTURE_VILLAGES 2 53 2 40}
{CAPTURE_VILLAGES 3 12 17 5}
[objectives]
side=1
summary=_"objectif final:"
[objective]
description= _ "signer le traité de paix avec les elfes"
condition=win
[/objective]
[objective]
description= _ "Mort d' Haldric"
condition=lose
[/objective]
{TURNS_RUN_OUT}
[gold_carryover]
bonus=yes
#ifdef HARD
carryover_percentage=25
#else
carryover_percentage=50
#endif
[/gold_carryover]
[/objectives]
#ifdef HARD
{GENERIC_UNIT 2 (Elvish Captain) 30 6}
{GENERIC_UNIT 2 (Elvish Captain) 30 8}
{GENERIC_UNIT 2 (Elvish Captain) 36 6}
{GENERIC_UNIT 2 (Elvish Captain) 36 8}
{GENERIC_UNIT 2 (Elvish Captain) 53 6}
{GENERIC_UNIT 2 (Elvish Captain) 53 8}
{GENERIC_UNIT 2 (Elvish Captain) 57 11}
{GENERIC_UNIT 2 (Elvish Captain) 57 4}
{NAMED_UNIT 2 (Elvish Sylph) 34 7 (Dionli) ( _ "Dionli") {IS_HERO} }
#else
{GENERIC_UNIT 2 (Elvish Fighter) 30 6}
{GENERIC_UNIT 2 (Elvish Fighter) 30 8}
{GENERIC_UNIT 2 (Elvish Fighter) 36 6}
{GENERIC_UNIT 2 (Elvish Fighter) 36 8}
{GENERIC_UNIT 2 (Elvish Fighter) 53 6}
{GENERIC_UNIT 2 (Elvish Fighter) 53 8}
{GENERIC_UNIT 2 (Elvish Fighter) 57 11}
{GENERIC_UNIT 2 (Elvish Fighter) 57 4}
{NAMED_UNIT 2 (Elvish Shyde) 34 7 (Dionli) ( _ "Dionli") {IS_HERO} }
#endif
{MODIFY_UNIT side=2 ai_special "guardian"}
{MODIFY_UNIT id=Dionli profile (portraits/dionli.png)}
{MODIFY_UNIT side=2 facing sw}
{NAMED_LOYAL_UNIT 1 Lionel 3 5 Lionel ( _ "Lionel")}
{MODIFY_UNIT id=Lionel unrenamable yes}
[/event]
# [event]
# name=start
# [message]
# speaker=Logalmier
# message=_"Cette alliance ne tiendra pas les humains ne sont que des rebus du chaos.."
# image=portraits/logalmier.png~RIGHT()
# [/message]
# [message]
# speaker=Dionli
# message=_"Logalmier... vous devriez etre moins prompt à juger les autres peuplade. Nous avons évolué en symbiose avec la nature, c'est un devoir pour notre peuple de se lier d'amitié et d'aider les peuple inférieur"
# image=portraits/dionli.png~RIGHT()
# [/message]
# [message]
# speaker=Logalmier
# message=_"Pffft.. Et pourquoi ne pas envisager une paix avec les nain tant que vous y etez."
# image=portraits/logalmier.png~RIGHT()
# [/message]
# [message]
# speaker=Dionli
# message=_"Un jour il comprendront que l'apat de l'or vaut bien moins que les conséquences destructrise de leurs excavation."
# image=portraits/dionli.png~RIGHT()
# [/message]
# [message]
# speaker=Logalmier
# message=_"......"
# image=portraits/logalmier.png~RIGHT()
# [/message]
# [message]
# speaker=Lionel
# message=_"Tu n'aurais jamais dut accepter d'y aller seul haldric... Je ne fais pas confiance au gens qui se croient suppérieur aux autres."
# image=portraits/lionel.png
# [/message]
# [message]
# speaker=Haldric
# message=_"Oui tu as raison je n'aime pas non plus le fait d'y aller seul... Organise une troupe de renfort au cas ou laissé moi deux jour. Si je ne suis pas revenu d'ici là vrnnez à mon secours."
# image=portraits/haldric-annoyed.png
# [/message]
# [message]
# speaker=Lionel
# message=_"Prends donc quelques hommes avec toi, cette foret est remplit d'elfe."
# image=portraits/lionel.png
# [/message]
# [message]
# speaker=Haldric
# message=_"Pour voir échoué le traité. Ne t'en faispas mon viel amis, je suis sur que les renforts ne servironnspas. "
# image=portraits/haldric.png
# [/message]
# {MOVE_UNIT id=Lionel 1 8}
# [message]
# speaker=Lionel
# message=_"Tu peux compter sur moi. Bonne route commandant !"
# image=portraits/lionel.png
# [/message]
# [kill]
# id=Lionel
# [/kill]
# [/event]
[event] #Apparition de Mal-Ravanal sous forme humaine
name=enter_hex
id=warp
first_time_only=yes
[filter]
side=1
x,y=11,6
[/filter]
{ITEM_ANIMATED_Ward-circle 12 6}
[message]
speaker=unit
message=_"Par tout les dieux ! Quel est donc cet étrange phénomène !"
image=portraits/haldric-surprised.png
[/message]
[delay]
time=1000
[/delay]
{FLASH_BLUE (
[unit]
type=Silver Mage
side=4
id=Silver_Mage
name=_"Marnal l'argenté"
facing=sw
x,y=12,6
ai_special="guardian"
[/unit] )}
[message]
speaker=unit
message=_"Qui etez vous ? Amis ou ennemi réponder vite ou soyer oxis ! "
image=portraits/haldric-mad.png
[/message]
[remove_item]
x,y=12,6
halo=terrain/ward-circle-[01~08].png:140
[/remove_item]
[message]
speaker=Silver_Mage
message=_"N'ayez pas peur messire ! L'on me nomme Marnal l'argenté, je suis un moine du temple Kronos. Je suis là pour vous prévenir d'une traitrise ! Les elfes ne veulent pas du traité de paix, il vous on demander de venir seul dans le seul but de vous tuer c'est une ambuscade."
image=portraits/humans/transparent/mage-silver.png
[/message]
[message]
speaker=unit
message=_"Je ne connais pas votre ordre.. De plus vous semblez utiliser de la magie noire je n'ai aucune raison de vous croire..."
image=portraits/haldric-annoyed.png
[/message]
[message]
speaker=Silver_Mage
message=_"Non non non, messire Haldric cela n'a rien à voir avec de la magie noire, c'est beaucoup plus complexe et dangeureux entre de mauvaise main. De toute manière vous verrez bien seigneur des hommes. Je ne vais pas vous bloquer d'avantage mais si vous le permettez je resterai cacher dans la foret à surveiller vos arrières."
image=portraits/humans/transparent/mage-silver.png
[/message]
[message]
speaker=unit
message=_"Très bien mais reste cacher si le traité de paix échoue par ta faute tu subiras la torture."
image=portraits/haldric.png
[/message]
{MOVE_UNIT id=Silver_Mage 15 5 }
[message]
speaker=Silver_Mage
message=_"Les moines de Kronos sont passé maitre dans l'art du camouflage, je vais disparaitre dans un plan spectral différent personne ne pourra me voir"
image=portraits/humans/transparent/mage-silver.png
[/message]
[item]
x,y=15,5
image=terrain/ward-circle-06.png
[/item]
[petrify]
id=Silver_Mage
[/petrify]
[message]
speaker=unit
message=_"Curieux personnage..."
image=portraits/haldric-surprised.png
[/message]
[/event]
[event]
name=enter_hex
id=ambuscade
first_time_only=yes
[filter]
side=1
x,y=20,6
[secondary_unit]
type=Elvish Outrider
[/secondary_unit]
[/filter]
{FLASH_RED ({NAMED_GENERIC_UNIT 4 (Elvish Rider) 19 6 E0_1 "Assasin elfe n°1"})}
{FLASH_RED ({NAMED_GENERIC_UNIT 4 (Elvish Rider) 21 6 E0_2 "Assasin elfe n°2"} )}
{FLASH_RED ({NAMED_GENERIC_UNIT 4 (Elvish Rider) 21 7 E0_3 "Assasin elfe n°3"} )}
{FLASH_RED ({NAMED_GENERIC_UNIT 4 (Elvish Rider) 19 7 E0_4 "Assasin elfe n°4"} )}
[message]
speaker=E0_1
message="Tu vas mourrir humain ! Jamais de la vie les elfes ne s'associerons avec vous bandes de cloporte !"
[/message]
[message]
speaker=Haldric
message= _ "Un piege ! Infame pourriture je vais vous exterminé !"
image=portraits/haldric-mad.png
[/message]
[message]
speaker=Silver_Mage
message=_"Ne vous inquietez pas monseigneur je viens vous aider."
image=portraits/humans/transparent/mage-silver.png
[/message]
{FLASH_BLUE (
[remove_item]
x,y=15,5
image=terrain/ward-circle-06.png
[/remove_item] )}
{MODIFY_UNIT id=Silver_Mage side 1}
{MAKE_HERO Silver_Mage}
[unpetrify]
id=Silver_Mage
[/unpetrify]
[/event]
[event]
name=enter_hex
id=blockpassage
first_time_only=no
[filter]
side=1
x,y=13,12
[/filter]
[message]
speaker=Haldric
message=_ "Une force occulte bloque le passage il faut trouver la source et la détruire avant de pouvoir empreinter se passage."
image=portraits/haldric-annoyed.png
[/message]
{MOVE_UNIT id=Haldric 13 11}
[/event]
[event]
name=die
[filter]
id=E0_1,E0_2,E0_3,E0_4
[/filter]
[event]
id=blockpassage
remove=yes
[/event]
{MODIFY_TERRAIN ^Ebbz 13 11}
[/event]
[event]
name=side 1 turn
first_time_only=no
{FULL_HEAL id=Silver_Mage}
[/event]
[event]
name=die
[filter]
id=Lionel
[or]
id=Silver_Mage
[/or]
[/filter]
[message]
[show_if]
[/show_if]
speaker=Lionel
message= _ "Adieu.... adieu mon... commandant"
image=portraits/lionel.png
[/message]
[message]
speaker=Haldric
message= _ "Ne meurre pas mon ami, je ne pourrai jamais y arriver sans toi !"
image=portraits/haldric-annoyed.png
[/message]
[endlevel]
result=defeat
[/endlevel]
[/event]
[event]
name=enemies defeated
[message]
speaker=Haldric
message= _ "Victoire ! Tous nos ennemis sont mort !"
image=portraits/haldric-surprised.png
[/message]
[endlevel]
result=victory
[/endlevel]
[/event]
[event]
name=last breath
[filter]
id=Haldric
[/filter]
[message]
speaker=Haldric
message= _ "Arrrg! c'en est fini, je me meurre..."
image=portraits/haldric-annoyed.png
[/message]
[endlevel]
result=defeat
[/endlevel]
[/event]
[event]
name=time over
[message]
speaker=Haldric
message= _ "Dorenavant plus rien ne pourra arreter nos ennemis... C'est la fin du royaume des Hommes. Que les dieux sauvent nos ames !"
image=portraits/haldric.png
[/message]
[/event]
[/scenario]
#undef STORY
2 question :
How I can put custom unit in the editor drop-down menu unit ?
(For have something like with custom terrain)
3 question :
Dunno if its a annoying feature or a bug :
I add the facing capacity manualy into my scenario .cfg (build with the editor). when I save the scenario after modify something in the editor the facing capacity disappeared.
Computer : Clevo w310cz Os : Ubuntu 13.10 TBoW : 11.11.11
Sorry for my poor english I do my best.
Sorry for my poor english I do my best.
Re: Editing scenario
My English is so bad or my questions are so stupid that nobody want to helps me ? 

Computer : Clevo w310cz Os : Ubuntu 13.10 TBoW : 11.11.11
Sorry for my poor english I do my best.
Sorry for my poor english I do my best.
- beetlenaut
- Developer
- Posts: 2867
- Joined: December 8th, 2007, 3:21 am
- Location: Washington State
- Contact:
Re: Editing scenario
People in this forum usually don't answer because they don't know. The ability to edit .cfg files is a very new feature for the map editor. Few people have used it, so we don't know how it works. I will try to answer though.
Question 1: That sounds unintentional. It may be a bug.
Question 2: You probably can't. If you put your custom unit in the folder with the core units, it might show up in the list, but other people might not be able to use your scenario.
Question 3: Maybe the editor is rewriting sections of your file every time you load it, so no manually added information will remain in those sections. I recommend using a text editor to complete the .cfg file.
Question 1: That sounds unintentional. It may be a bug.
Question 2: You probably can't. If you put your custom unit in the folder with the core units, it might show up in the list, but other people might not be able to use your scenario.
Question 3: Maybe the editor is rewriting sections of your file every time you load it, so no manually added information will remain in those sections. I recommend using a text editor to complete the .cfg file.
Campaigns: Dead Water,
The Founding of Borstep,
Secrets of the Ancients,
and WML Guide
The Founding of Borstep,
Secrets of the Ancients,
and WML Guide
Re: Editing scenario
Thank you very very mutch !! 
I will report the bug from question 1
question 2
maybe for the 1.13 :p it could be a great improve !
btw if someone have the answer of "What VCS has its name inspired from a British slang/insult?" I cant register on gna!

I will report the bug from question 1
question 2
maybe for the 1.13 :p it could be a great improve !
I do it, but after add manual code if you open the .cfg with editor and save it all manual code gone. I will report it toobeetlenaut wrote: I recommend using a text editor to complete the .cfg file.
btw if someone have the answer of "What VCS has its name inspired from a British slang/insult?" I cant register on gna!
Computer : Clevo w310cz Os : Ubuntu 13.10 TBoW : 11.11.11
Sorry for my poor english I do my best.
Sorry for my poor english I do my best.
-
- Posts: 31
- Joined: February 17th, 2014, 8:08 pm
Re: Editing scenario
I am sorry this is the only question I can answer, but it seems that it is the Git software (french version of the page).Dindoz wrote:btw if someone have the answer of "What VCS has its name inspired from a British slang/insult?" I cant register on gna!
Aside from that, I'd like to see what you do with this story. Clearly it needs a lot of work, but there is a couple of good ideas thrown in.