Skip to content

Commit

Permalink
try improving S02 cutscene a bit
Browse files Browse the repository at this point in the history
I can confirm that the idea for changing a message caption here that I'd had in nemaara/A_New_Order#7 works as expected
  • Loading branch information
cooljeanius committed Jan 5, 2023
1 parent d481843 commit 70537a0
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 2 deletions.
18 changes: 16 additions & 2 deletions macros/ano-01_06macros.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,26 @@
[if]
{CONDITION ano_fpassrebel equals no}
[then]
# TODO: fill in 3rd parameter; {WHO} can be either "unit" or "second_unit" so I dunno how to handle both:
[scroll_to_unit]
id=${WHO}.id
highlight=yes
[/scroll_to_unit]
[lock_view][/lock_view]
[redraw][/redraw]
# OK so yeah it looks like ${WHO}.name works here:
{MESSAGE ({WHO}) () (${WHO}.name) _"Traitors! How can you be so dishonorable as to fight against your own rightful king!"}
[unlock_view][/unlock_view]
[scroll_to_unit]
id=Oeame
highlight=yes
[/scroll_to_unit]
[lock_view][/lock_view]
[redraw][/redraw]
{MESSAGE Oeame () (Oeame) _"Our king is dead! We are not traitors!"}
[unlock_view][/unlock_view]
{MSG_Reme _"But here is king's son, his rightful heir. Are you going to fight him?"}
{MESSAGE Oeame () (Oeame) _"The king's son is dead! We heard about it!"}
{MSG_Gawen _"Do I look dead to you?"}
{MSG_Gawen _"Do I look dead to you?"}
{MESSAGE Oeame () (Oeame) _"We were deceived! My king, please forgive me!"}
{MESSAGE Roule () (Roule) _"You fool! He is mixling, he can't be our king!"}
{CHANGE_SIDE Oeame 3}
Expand Down
24 changes: 24 additions & 0 deletions scenarios/02_Fighting_for_Passage.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -463,8 +463,22 @@
[filter_second]
side=2
[/filter_second]
[scroll_to_unit]
id=$unit.id
highlight=yes
[/scroll_to_unit]
[lock_view][/lock_view]
[redraw][/redraw]
{MSG_unit _"Death to the traitors!"}
[unlock_view][/unlock_view]
[scroll_to_unit]
id=$second_unit.id
highlight=yes
[/scroll_to_unit]
[lock_view][/lock_view]
[redraw][/redraw]
{MESSAGE second_unit () ($second_unit.name) _"Yes, death to you!"}
[unlock_view][/unlock_view]
[/event]

[event]
Expand Down Expand Up @@ -548,6 +562,16 @@
side=1
[/filter_second]

[scroll_to_unit]
id=Oeame
highlight=yes
[/scroll_to_unit]
[lock_view][/lock_view]
[redraw][/redraw]
[delay]
time=123
[/delay]
[unlock_view][/unlock_view]
{ANO_FPASS_REBEL second_unit} # defined in macros/ano-01_06macros.cfg
[hide_unit]
x=$x1
Expand Down

0 comments on commit 70537a0

Please sign in to comment.