これで、"1_Invasion_of_Orcs.cfg" は一応完成です。
1_Invasion_of_Orcs.cfg の内容
[scenario]
#基本の設定
id="1_Invasion_of_Orcs"
next_scenario=null
name= _ "Invasion of Orcs"
map_data="{~add-ons/Save_the_Woods/maps/1_Invasion_of_Orcs.map}"
turns=12
{DEFAULT_SCHEDULE}
{SCENARIO_MUSIC "battle.ogg"}
#自軍の設定
[side]
side=1
controller=human
team_name=elves
user_team_name= _ "Elves"
type=Elvish Captain
id=Kerolyn
name= _ "Kerolyn"
canrecruit=yes
recruit=Elvish Fighter,Elvish Archer,Elvish Scout,Elvish Shaman
gold=100
#副官の設定
[unit]
id=Lulu
name= _ "Lulu"
type=Elvish Shaman
side=1
x=7
y=17
{IS_HERO}
[modifications]
{TRAIT_LOYAL}
{TRAIT_INTELLIGENT}
[/modifications]
[/unit]
[/side]
#敵軍の設定
[side]
side=2
controller=ai
team_name=orcs
user_team_name= _ "Orcs"
type=Orcish Ruler
id=Gustor-Teng
name= _ "Gustor-Teng"
canrecruit=yes
recruit=Orcish Archer,Orcish Grunt,Wolf Rider
{GOLD 80 100 120}
{INCOME -2 0 2}
[/side]
#導入部分
[story]
[part]
story= _ "導入部"
[/part]
[/story]
#勝敗条件
[event]
name=prestart
[objectives]
[objective]
description= _ "Gustor-Teng を倒す"
condition=win
[/objective]
[objective]
description= _ "Kerolyn の死"
condition=lose
[/objective]
[objective]
description= _ "Lulu の死"
condition=lose
[/objective]
[objective]
description= _ "時間切れ"
condition=lose
[/objective]
[/objectives]
[/event]
#ゲーム開始のやりとり
[event]
name=start
[message]
speaker=Kerolyn
message= _ "オレは主人公"
[/message]
[message]
speaker=Lulu
message= _ "私は副官"
[/message]
[message]
speaker=Gustor-Teng
message= _ "俺は敵"
[/message]
[/event]
#敵将の死-勝利
[event]
name=last breath
[filter]
id=Gustor-Teng
[/filter]
[message]
speaker=Gustor-Teng
message= _ "無念なり!"
[/message]
[endlevel]
result=victory
[/endlevel]
[/event]
#Kerolynの死-敗北
[event]
name=last breath
[filter]
id=Kerolyn
[/filter]
[message]
speaker=Kerolyn
message= _ "さらばだ!"
[/message]
[endlevel]
result=defeat
[/endlevel]
[/event]
#Lulu の死-敗北
[event]
name=last breath
[filter]
id=Lulu
[/filter]
[message]
speaker=Lulu
message= _ "さよなら!"
[/message]
[endlevel]
result=defeat
[/endlevel]
[/event]
[/scenario]
最終更新:2017年06月04日 14:27