give the desert elves their own movement type

This commit is contained in:
Simon Forsyth 2012-06-21 02:45:33 +00:00
parent 74349f9a1e
commit c578a27fba
24 changed files with 58 additions and 247 deletions

View file

@ -142,6 +142,7 @@
#Append Units
[+units]
{UTBS_INCLUDE units/units.cfg}
{UTBS_INCLUDE units/elves}
{UTBS_INCLUDE units/humans}
{UTBS_INCLUDE units/monsters}

View file

@ -5,16 +5,7 @@
race=elf
image=units/elves-desert/corrupted-elf.png
hitpoints=60
movement_type=woodland
#desert elves move fast across the sands, but are not used to forests
[movement_costs]
sand=1
forest=2
[/movement_costs]
[defense]
sand=40
forest=50
[/defense]
movement_type=desert_elf
movement=5
experience=150
{AMLA_DEFAULT}

View file

@ -8,19 +8,7 @@
image=units/elves-desert/archer.png
{MAGENTA_IS_THE_TEAM_COLOR}
hitpoints=29
movement_type=woodland
#desert elves move fast across the sands, but are not used to forests
#they are also a bit faster in caves
[movement_costs]
sand=1
forest=2
cave=2
frozen=3
[/movement_costs]
[defense]
sand=40
forest=50
[/defense]
movement_type=desert_elf
movement=6
experience=44
level=1

View file

@ -6,22 +6,14 @@
image=units/elves-desert/avenger.png
{MAGENTA_IS_THE_TEAM_COLOR}
hitpoints=55
movement_type=woodland
# Desert elves move fast across the sands, but are not used to forests
# They are also a bit faster in caves
movement_type=desert_elf
# Avengers move faster in mountains and shallow water
[movement_costs]
sand=1
forest=2
cave=2
frozen=3
shallow_water=2
mountains=2
[/movement_costs]
# Avengers defend better in shallow water and swamp
[defense]
sand=40
forest=50
shallow_water=70
swamp_water=60
[/defense]

View file

@ -16,19 +16,7 @@
[abilities]
{ABILITY_LEADERSHIP_LEVEL_2}
[/abilities]
movement_type=woodland
# Desert elves move fast across the sands, but are not used to forests.
# They are also a bit faster in caves.
[movement_costs]
sand=1
forest=2
cave=2
frozen=3
[/movement_costs]
[defense]
sand=40
forest=50
[/defense]
movement_type=desert_elf
movement=5
experience=90
level=2

View file

@ -6,19 +6,7 @@
image=units/elves-desert/champion.png
{MAGENTA_IS_THE_TEAM_COLOR}
hitpoints=70
movement_type=woodland
#desert elves move fast across the sands, but are not used to forests
#they are also a bit faster in caves
[movement_costs]
sand=1
forest=2
cave=2
frozen=3
[/movement_costs]
[defense]
sand=40
forest=50
[/defense]
movement_type=desert_elf
movement=5
experience=150
level=3

View file

@ -7,20 +7,7 @@
image=units/elves-desert/druid.png
{MAGENTA_IS_THE_TEAM_COLOR}
hitpoints=36
movement_type=woodland
#desert elves move fast across the sands, but are not used to forests
#they are also a bit faster in caves
[movement_costs]
sand=1
forest=2
cave=2
frozen=3
deep_water=100
[/movement_costs]
[defense]
sand=40
forest=50
[/defense]
movement_type=desert_elf
movement=5
experience=80
level=2

View file

@ -7,19 +7,6 @@
image=units/elves-desert/fighter.png
{MAGENTA_IS_THE_TEAM_COLOR}
hitpoints=34
movement_type=woodland
#desert elves move fast across the sands, but are not used to forests
#they are also a bit faster in caves
[movement_costs]
sand=1
forest=2
cave=2
frozen=3
[/movement_costs]
[defense]
sand=40
forest=50
[/defense]
movement=5
experience=40
level=1

View file

@ -6,19 +6,7 @@
image=units/elves-desert/hero.png
{MAGENTA_IS_THE_TEAM_COLOR}
hitpoints=48
movement_type=woodland
#desert elves move fast across the sands, but are not used to forests
#they are also a bit faster in caves
[movement_costs]
sand=1
forest=2
cave=2
frozen=3
[/movement_costs]
[defense]
sand=40
forest=50
[/defense]
movement_type=desert_elf
movement=5
experience=80
level=2

View file

@ -6,19 +6,14 @@
image=units/elves-desert/horseman.png
{MAGENTA_IS_THE_TEAM_COLOR}
hitpoints=50
movement_type=woodland
#desert elves move fast across the sands, but are not used to forests
movement_type=desert_elf
[movement_costs]
sand=1
forest=2
frozen=4
[/movement_costs]
#mostly like a foot Elf, but they
#are bad at defending in villages
[defense]
village=60
sand=40
forest=50
[/defense]
#they are weak against piercing attacks
[resistance]

View file

@ -8,19 +8,7 @@
image=units/elves-desert/hunter.png
{MAGENTA_IS_THE_TEAM_COLOR}
hitpoints=30
movement_type=woodland
#desert elves move fast across the sands, but are not used to forests
#they are also a bit faster in caves
[movement_costs]
sand=1
forest=2
cave=2
frozen=3
[/movement_costs]
[defense]
sand=40
forest=50
[/defense]
movement_type=desert_elf
movement=6
experience=42
level=1

View file

@ -6,19 +6,7 @@
image=units/elves-desert/marksman.png
{MAGENTA_IS_THE_TEAM_COLOR}
hitpoints=37
movement_type=woodland
#desert elves move fast across the sands, but are not used to forests
#they are also a bit faster in caves
[movement_costs]
sand=1
forest=2
cave=2
frozen=3
[/movement_costs]
[defense]
sand=40
forest=50
[/defense]
movement_type=desert_elf
movement=6
experience=90
level=2

View file

@ -16,19 +16,7 @@
[abilities]
{ABILITY_LEADERSHIP_LEVEL_3}
[/abilities]
movement_type=woodland
#desert elves move fast across the sands, but are not used to forests
#they are also a bit faster in caves
[movement_costs]
sand=1
forest=2
cave=2
frozen=3
[/movement_costs]
[defense]
sand=40
forest=50
[/defense]
movement_type=desert_elf
movement=5
experience=150
level=3

View file

@ -6,19 +6,14 @@
image=units/elves-desert/outrider.png
{MAGENTA_IS_THE_TEAM_COLOR}
hitpoints=57
movement_type=woodland
#desert elves move fast across the sands, but are not used to forests
movement_type=desert_elf
[movement_costs]
sand=1
forest=2
frozen=4
[/movement_costs]
#mostly like a foot Elf, but they
#aren't good at defending in villages
[defense]
village=60
sand=40
forest=50
[/defense]
#they are weak against piercing attacks
[resistance]

View file

@ -7,19 +7,7 @@
image=units/elves-desert/prowler.png
{MAGENTA_IS_THE_TEAM_COLOR}
hitpoints=66
movement_type=woodland
#desert elves move fast across the sands, but are not used to forests
#they are also a bit faster in caves
[movement_costs]
sand=1
forest=2
cave=2
frozen=3
[/movement_costs]
[defense]
sand=40
forest=50
[/defense]
movement_type=desert_elf
movement=6
experience=150
level=3

View file

@ -6,22 +6,14 @@
image=units/elves-desert/ranger.png
{MAGENTA_IS_THE_TEAM_COLOR}
hitpoints=42
movement_type=woodland
# Desert elves move fast across the sands, but are not used to forests
# They are also a bit faster in caves
movement_type=desert_elf
# Avengers move faster in mountains and shallow water
[movement_costs]
sand=1
forest=2
cave=2
frozen=3
shallow_water=2
mountains=2
[/movement_costs]
# Ranger defend better in shallow water and swamp
[defense]
sand=40
forest=50
shallow_water=70
swamp_water=60
[/defense]

View file

@ -6,19 +6,14 @@
image=units/elves-desert/rider.png
{MAGENTA_IS_THE_TEAM_COLOR}
hitpoints=46
movement_type=woodland
# desert elves move fast across the sands, but are not used to forests
movement_type=desert_elf
[movement_costs]
sand=1
forest=2
frozen=4
[/movement_costs]
#mostly like a foot Elf, but they
#aren't good at defending in villages
[defense]
village=60
sand=40
forest=50
[/defense]
#they are weak against piercing attacks
[resistance]

View file

@ -7,18 +7,14 @@
{MAGENTA_IS_THE_TEAM_COLOR}
race=elf
hitpoints=32
movement_type=woodland
movement_type=desert_elf
#desert elves move fast across the sands, but are not used to forests
[movement_costs]
sand=1
forest=2
frozen=4
[/movement_costs]
#mostly like a foot Elf, but they are bad at defending in villages
[defense]
village=60
sand=40
forest=50
[/defense]
#they are weak against piercing attacks
[resistance]

View file

@ -7,19 +7,7 @@
image=units/elves-desert/sentinel.png
{MAGENTA_IS_THE_TEAM_COLOR}
hitpoints=44
movement_type=woodland
#desert elves move fast across the sands, but are not used to forests
#they are also a bit faster in caves
[movement_costs]
sand=1
forest=2
cave=2
frozen=3
[/movement_costs]
[defense]
sand=40
forest=50
[/defense]
movement_type=desert_elf
movement=6
experience=84
level=2

View file

@ -8,19 +8,7 @@
image=units/elves-desert/shaman.png
{MAGENTA_IS_THE_TEAM_COLOR}
hitpoints=26
movement_type=woodland
#desert elves move fast across the sands, but are not used to forests
#they are also a bit faster in caves
[movement_costs]
sand=1
forest=2
cave=2
frozen=3
[/movement_costs]
[defense]
sand=40
forest=50
[/defense]
movement_type=desert_elf
movement=5
experience=32
level=1

View file

@ -6,19 +6,7 @@
image=units/elves-desert/sharpshooter.png
{MAGENTA_IS_THE_TEAM_COLOR}
hitpoints=47
movement_type=woodland
#desert elves move fast across the sands, but are not used to forests
#they are also a bit faster in caves
[movement_costs]
sand=1
forest=2
cave=2
frozen=3
[/movement_costs]
[defense]
sand=40
forest=50
[/defense]
movement_type=desert_elf
movement=6
experience=150
level=3

View file

@ -350,19 +350,7 @@ Enemy units cannot see this unit while it is in desert dunes, desert mountains,
race=elf
name= _ "Kaleh of the Quenoth Elves"
image=units/elves-desert/kaleh.png
movement_type=woodland
#desert elves move fast across the sands, but are not used to forests
#they are also a bit faster in caves
[movement_costs]
sand=1
forest=2
cave=2
frozen=3
[/movement_costs]
[defense]
sand=40
forest=50
[/defense]
movement_type=desert_elf
movement=5
profile=portraits/kaleh.png
alignment=lawful

View file

@ -5,19 +5,7 @@
image=units/elves-desert/nym.png
profile=portraits/nym.png
hitpoints={HP_NUMBER}
movement_type=woodland
#desert elves move fast across the sands, but are not used to forests
#they are also a bit faster in caves
[movement_costs]
sand=1
forest=2
cave=2
frozen=3
[/movement_costs]
[defense]
sand=40
forest=50
[/defense]
movement_type=desert_elf
movement=6
level={LEVEL_NUMBER}
experience={XP_NUMBER}

View file

@ -0,0 +1,36 @@
#desert elves move fast across the sands, but are not used to forests
#they are also a bit faster in caves
[movetype]
name=desert_elf
[movement_costs]
shallow_water=3
reef=2
swamp_water=2
flat=1
sand=1
forest=2
hills=2
mountains=3
village=1
castle=1
cave=2
frozen=3
fungus=2
[/movement_costs]
[defense]
shallow_water=80
reef=70
swamp_water=70
flat=60
sand=40
forest=50
hills=50
mountains=40
village=40
castle=40
cave=70
frozen=70
fungus=50
[/defense]
{WOODLAND_RESISTANCE}
[/movetype]