LoW 03: Adjust the coding to the different map size.

This commit is contained in:
fendrin 2014-10-14 22:07:01 +02:00
parent 01b345577e
commit 52db844d7b

View file

@ -28,6 +28,17 @@
[event]
name=prestart
#ifdef DEBUG
[set_menu_item]
description="let kalenz arrive"
[command]
[fire_event]
name=kalenz_arrives
[/fire_event]
[/command]
[/set_menu_item]
#endif
[replace_map]
x=9-53
y=9-53
@ -57,7 +68,7 @@
[/lua]
[/event]
{LOW_MASK 03_Kalian_under_Attack.mask (-7) (-1)}
{LOW_MASK 03_Kalian_under_Attack.mask (-7) (-7)}
#### /Map setup ####
#ifdef DEBUG_MODE
@ -668,14 +679,16 @@
[event]
name=time over
[fire_event]
name=kalenz_arrives
[/fire_event]
[/event]
[replace_map]
x=11-45
y=5-38
{LOW_MAP Kalian.map}
[/replace_map]
[event]
name=kalenz_arrives
{LOW_MASK_IN_EVENT 03_Kalian_under_Attack.mask (-9) (-3)}
{LOAD_SUBMAP 7-56 7-56 2 2 Kalian.map}
{LOW_MASK_IN_EVENT 03_Kalian_under_Attack.mask (-5) (-5)}
#redestroy the village destroyed by Urudrin
[terrain]
@ -706,10 +719,9 @@
[unit]
{KALENZ}
side=1
x=33
y=11
x=49
y=32
[/unit]
[unit]
{LANDAR}
#ifndef MULTIPLAYER
@ -717,22 +729,34 @@
#else
side=6
#endif
x=33
y=7
x=49
y=36
[/unit]
{RECALL_LOYALS}
[recall]
id=Anduilas
side=1
x=49
y=33
[/recall]
[recall]
id=Arkildur
#ifndef MULTIPLAYER
side=1
#else
side=6
#endif
x=49
y=37
[/recall]
[modify_side]
side=1
fog=no
[/modify_side]
[modify_side]
side=2
fog=no
[/modify_side]
#ifdef MULTIPLAYER
[modify_side]
side=6
@ -1051,27 +1075,37 @@
[move_unit_fake]
type=Elvish Scout
x=34,32,30,24,22,21
y= 9, 8, 8,11,14,18
x=50,43,34,24
y=15,15,12,18
[/move_unit_fake]
[move_unit_fake]
type=Elvish Scout
x=50,43,34,26
y=15,15,12,18
[/move_unit_fake]
#TODO Move Huraldur to characters?
[unit]
id=Huraldur
name= _ "Huraldur"
type=Elvish Scout
{HURALDUR}
side=1
x=21
x=24
y=18
[modifications]
{TRAIT_QUICK}
{TRAIT_RESILIENT}
{TRAIT_LOYAL}
[/modifications]
{IS_LOYAL}
facing=se
[/unit]
[unit]
{SCOUT}
#ifdef MULTIPLAYER
side=5
#else
side=1
#endif
x=26
y=18
facing=sw
[/unit]
#TODO Multiplayer: give a second Huraldur to Landar
[message]