Skip to content

Commit

Permalink
UtBS: Update and add visual and sound effects
Browse files Browse the repository at this point in the history
  • Loading branch information
DisherProject authored and nemaara committed Apr 21, 2019
1 parent 5c23c5b commit fbd53fc
Show file tree
Hide file tree
Showing 8 changed files with 91 additions and 30 deletions.
Expand Up @@ -1809,6 +1809,10 @@
[redraw]
[/redraw]

[sound]
name=fire.wav
[/sound]

[delay]
time=100
[/delay]
Expand Down Expand Up @@ -1997,6 +2001,10 @@
[redraw]
[/redraw]

[sound]
name=thunderstick.ogg
[/sound]

[delay]
time=100
[/delay]
Expand Down
Expand Up @@ -208,6 +208,9 @@ _ "These undead trolls fight again in death as they did in life, except this tim

{INCREASE_RECRUIT_COSTS 1}

# show where to go at start
{PLACE_IMAGE items/gohere.png 15 7}

#secret troll tomb furnishings
{PLACE_IMAGE items/coffin-closed.png 3 28}
{PLACE_IMAGE items/bones.png 6 24}
Expand Down Expand Up @@ -451,6 +454,8 @@ _ "These undead trolls fight again in death as they did in life, except this tim
message= _ "Once you are done moving your people into position, I will blow the charges."
[/message]

{REMOVE_IMAGE 15 7}

# at start of player’s next turn, blow charges and destroy wall
[event]
name=new turn
Expand Down Expand Up @@ -833,6 +838,7 @@ _ "These undead trolls fight again in death as they did in life, except this tim
[/filter]
amount=25
damage_type=fire
animate=yes
[/harm_unit]
[/event]

Expand Down
Expand Up @@ -504,6 +504,10 @@
[redraw]
[/redraw]

[sound]
name=explosion.ogg
[/sound]

[delay]
time=100
[/delay]
Expand All @@ -518,6 +522,9 @@
# Have wall shake, then be replaced by dirt, then add rubble

{UTBS_SHAKE_SCREEN}
[sound]
name=rumble.ogg
[/sound]

[terrain]
x=27-28
Expand Down Expand Up @@ -848,7 +855,13 @@
y=30,30,29,28,27,27,26,25
[/move_unit_fake]

[sound]
name=explosion.ogg
[/sound]
{UTBS_SHAKE_SCREEN}
[sound]
name=rumble.ogg
[/sound]

[terrain]
x,y=22,30
Expand Down Expand Up @@ -919,7 +932,13 @@
y=31,30,29,28,27,26,25,24,24,23
[/move_unit_fake]

[sound]
name=explosion.ogg
[/sound]
{UTBS_SHAKE_SCREEN}
[sound]
name=rumble.ogg
[/sound]

[terrain]
x,y=16,31
Expand Down Expand Up @@ -1007,7 +1026,13 @@
# directly to main dwarf base

#define BACKUP_CHARGES
[sound]
name=explosion.ogg
[/sound]
{UTBS_SHAKE_SCREEN}
[sound]
name=rumble.ogg
[/sound]

[terrain]
x=12,12
Expand Down
Expand Up @@ -1202,6 +1202,10 @@
x,y=24,50
terrain=Uu
[/terrain]

[redraw]
clear_shroud=yes
[/redraw]
[/event]

# Event 4b: discover exit from secret tunnel
Expand Down Expand Up @@ -1264,6 +1268,10 @@
y=48,49
terrain=Wwg
[/terrain]

[redraw]
clear_shroud=yes
[/redraw]
[/event]

# Event 5: Enter warded cave
Expand Down Expand Up @@ -1295,6 +1303,10 @@
[redraw]
[/redraw]

[sound]
name=magic-dark-big-miss.ogg
[/sound]

[delay]
time=100
[/delay]
Expand Down Expand Up @@ -1444,6 +1456,10 @@
[redraw]
[/redraw]

[sound]
name=heal.wav
[/sound]

[delay]
time=100
[/delay]
Expand Down Expand Up @@ -1751,6 +1767,9 @@

[then]
{NAMED_UNIT 3 (Ghost) 12 42 (Novice Dani) ( _ "Novice Dani") (upkeep=free)}
[+unit]
animate=yes
[/unit]
[/then]
[/if]

Expand All @@ -1763,6 +1782,9 @@

[then]
{NAMED_UNIT 3 (Ghost) 11 41 (Novice Iona) ( _ "Novice Iona") (upkeep=free)}
[+unit]
animate=yes
[/unit]
[/then]
[/if]

Expand All @@ -1775,6 +1797,9 @@

[then]
{NAMED_UNIT 3 (Ghost) 9 43 (Novice Pior) ( _ "Novice Pior") (upkeep=free)}
[+unit]
animate=yes
[/unit]
[/then]
[/if]
[/event]
Expand Down Expand Up @@ -1878,6 +1903,10 @@
terrain=Uu
[/terrain]

[redraw]
clear_shroud=yes
[/redraw]

[message]
speaker=unit
message= _ "What do you know? A secret door!"
Expand Down Expand Up @@ -1928,6 +1957,10 @@
[redraw]
[/redraw]

[sound]
name=magic-dark-big-miss.ogg
[/sound]

[delay]
time=100
[/delay]
Expand Down Expand Up @@ -2156,6 +2189,10 @@
[redraw]
[/redraw]

[sound]
name=magic-dark-big-miss.ogg
[/sound]

[delay]
time=100
[/delay]
Expand Down Expand Up @@ -2227,6 +2264,9 @@
[/remove_event]

{UTBS_SHAKE_SCREEN}
[sound]
name=rumble.ogg
[/sound]

[terrain]
x=9,9
Expand Down Expand Up @@ -2507,13 +2547,7 @@
message= _ "Kaleh, I think you should come up and see this."
[/message]

[teleport]
[filter]
id=Kaleh
[/filter]
x=$x1
y=$y1
[/teleport]
{MOVE_UNIT (id=Kaleh) $x1 $y1}
[/then]
[/if]

Expand Down Expand Up @@ -2635,7 +2669,7 @@

[kill]
id=Keratur
animate=no
animate=yes
fire_event=no
[/kill]

Expand Down Expand Up @@ -3095,12 +3129,7 @@
message= _ "Am I dreaming? Is this real? I’m coming, I’m coming."
[/message]

[teleport]
[filter]
id=Kaleh
[/filter]
x,y=25,23
[/teleport]
{MOVE_UNIT (id=Kaleh) 25 23}
[/then]

[else]
Expand Down Expand Up @@ -3172,12 +3201,7 @@

#troll/dwarf ally teleports to just outside of cave

[teleport]
[filter]
id=$ally_name
[/filter]
x,y=21,23
[/teleport]
{MOVE_UNIT (id=$ally_name) 21 23}

[message]
speaker=$ally_name
Expand Down Expand Up @@ -3443,12 +3467,7 @@
message= _ "Well, now we’re really in for it. I hope you know what you’re doing, Kaleh."
[/message]

[teleport]
[filter]
id=Kaleh
[/filter]
x,y=18,19
[/teleport]
{MOVE_UNIT (id=Kaleh) 18 19}

{MESSAGE_DEPEND_ON_ALLY
(
Expand Down
Expand Up @@ -2212,6 +2212,9 @@
[/filter]
side=1
[/modify_unit]
[redraw]
clear_shroud=yes
[/redraw]

[message]
speaker=Kaleh
Expand Down
Expand Up @@ -4,7 +4,7 @@
name= _ "Dawarf"
race=monster
image="units/monsters/dawarf.png"
{DEFENSE_ANIM "units/monsters/dawarf-growl.png" "units/monsters/dawarf.png" groan.wav }
{DEFENSE_ANIM "units/monsters/dawarf-growl.png" "units/monsters/dawarf.png" {SOUND_LIST:ZOMBIE_WEAK_HIT} }
hitpoints=22
movement_type=dwarvishfoot
movement=4
Expand Down
Expand Up @@ -13,7 +13,7 @@
alignment=neutral
cost=20
description= _ "A swirl of dust and desert sand, quick as a wind, impossible to spot when resting and as dangerous as sand storm when riled."+{SPECIAL_NOTES}+{SPECIAL_NOTES_MAGICAL}+{SPECIAL_NOTES_SWARM}+{SPECIAL_NOTES_ARCANE}
{DEFENSE_ANIM "units/monsters/dust-devil.png" "units/monsters/dust-devil.png" groan.wav }
{DEFENSE_ANIM "units/monsters/dust-devil.png" "units/monsters/dust-devil.png" wose-hit.ogg }
die_sound=groan.wav
movement_type=undeadfly
movement=8
Expand Down
4 changes: 2 additions & 2 deletions data/campaigns/Under_the_Burning_Suns/units/quenoth/Youth.cfg
Expand Up @@ -319,12 +319,12 @@ _"Nym is Kaleh’s childhood friend, a young, rebellious lady with quick wits an
#define KALEH_ANIMATIONS
{LEADING_ANIM "units/quenoth/kaleh-lead2.png" "units/quenoth/kaleh-lead1.png" (12,-32)}
{DEFENSE_ANIM_RANGE "units/quenoth/kaleh-defend-2.png" "units/quenoth/kaleh-defend-1.png" {SOUND_LIST:ELF_HIT} melee}
{DEFENSE_ANIM_FILTERED "units/quenoth/kaleh-bow-defend-2.png" "units/quenoth/kaleh-bow-defend-1.png" {SOUND_LIST:ELF_FEMALE_HIT} (
{DEFENSE_ANIM_FILTERED "units/quenoth/kaleh-bow-defend-2.png" "units/quenoth/kaleh-bow-defend-1.png" {SOUND_LIST:ELF_HIT} (
[filter_second_attack]
name=bow
[/filter_second_attack]
)}
{DEFENSE_ANIM_FILTERED "units/quenoth/kaleh-defend-2.png" "units/quenoth/kaleh-defend-1.png" {SOUND_LIST:ELF_FEMALE_HIT} (
{DEFENSE_ANIM_FILTERED "units/quenoth/kaleh-defend-2.png" "units/quenoth/kaleh-defend-1.png" {SOUND_LIST:ELF_HIT} (
[filter_second_attack]
name=bolas
[/filter_second_attack]
Expand Down

0 comments on commit fbd53fc

Please sign in to comment.