Skip to content

Commit

Permalink
Gate guards scripting work
Browse files Browse the repository at this point in the history
  • Loading branch information
Timbles committed Jun 22, 2024
1 parent c341e5c commit eab9c50
Show file tree
Hide file tree
Showing 19 changed files with 1,224,641 additions and 1,216,671 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ Define variable, its values and notes for each value.
_shortsword: Shortsword score
_broadsword: Broadsword score
_staff: Staff score
_knife: Knife score

ouruin_match_mode
0: Non-combat
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ say 2 "Donatas" "[wait 0.2]Well[wait 0.1].[wait 0.1].[wait 0.1]."
send_character_message 2 "set_eye_dir 38.0157 -51.3767 72.4839 0.958308"
send_character_message 2 "set_torso_target 38.2859 -51.3993 72.6362 1"
send_character_message 2 "set_head_target 39.9189 -51.3036 73.8384 1"
say 2 "Donatas" "To be bonest, [wait 0.1]the going's been tough, [wait 0.1]as of late. [wait 0.15]I need money to live, [wait 0.1]and there's no charity to go around."
say 2 "Donatas" "To be honest, [wait 0.1]the going's been tough, [wait 0.1]as of late. [wait 0.15]I need money to live, [wait 0.1]and there's no charity to go around."
send_character_message 2 "set_torso_target 38.2859 -51.3993 72.6362 0"
send_character_message 2 "set_head_target 39.5884 -51.6317 73.4578 1"
send_character_message 1 "set_head_target 37.9546 -51.4645 74.0237 1"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#name "GateGuards-Ambush"
#participants 4
set_character_pos 3 260.109 -48.2148 27.6307 -98
send_character_message 3 "set_animation \"Data/Animations/r_dialogue_armcross.anm\""
send_character_message 3 "set_eye_dir 260.596 -46.5772 26.9709 1"
send_character_message 3 "set_torso_target 259.909 -47.3779 29.4133 1"
send_character_message 3 "set_head_target 259.04 -47.3966 29.7376 1"
send_character_message 2 "set_eye_dir 257.608 -46.4514 26.8978 1"
send_character_message 2 "set_torso_target 257.795 -47.3994 29.0899 0.0496759"
send_character_message 2 "set_head_target 258.566 -47.4721 29.4738 1"
set_character_pos 1 258.955 -48.2838 29.9748 90
send_character_message 1 "set_animation \"Data/Animations/r_dialogue_armcross.anm\""
send_character_message 1 "set_eye_dir 258.592 -47.2815 27.9374 1"
send_character_message 1 "set_torso_target 259.895 -47.7724 31.1206 0"
send_character_message 1 "set_head_target 258.063 -47.2623 28.1255 1"
send_character_message 2 "set_animation \"Data/Animations/d_actionidle.anm\""
set_cam 258.956 -47.6132 23.9847 0 180 0 48.1771
set_character_pos 2 257.797 -48.2112 27.6343 -81
set_dialogue_color 1 0 0.52 0.95
set_dialogue_voice 1 8
set_dialogue_color 2 1 1 1
set_dialogue_voice 2 14
set_dialogue_color 3 0.5 0.5 0.5
set_dialogue_voice 3 3
say 1 "Ghost" "I just got jumped by a couple cinderians, [wait 0.1]and this gate closed right behind me. [wait 0.15]Mind explaining?"
say 3 "????" "Didn't want that ugly mess right at our post. [wait 0.15]Bad for business."
say 2 "???" "What, [wait 0.1]you expecting an apology? [wait 0.2]We're not gonna mess around with the law: That'd just screw us over!"
say 1 "Ghost" "The guards must be quite happy you decided to cooperate. [wait 0.15]You looking for reimbursement?"
say 2 "???" "You know, [wait 0.1]for a wad of cotton, [wait 0.1]you're pretty smart for coming up with that! [wait 0.15]Maybe I should take up your advice!"
say 3 "????" "Total runt's attitude. [wait 0.15]Everything's out to get you, [wait 0.1]huh? Heheh!"
send_level_message "dialogue_done"
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
#name "GateGuards-FightAgain"
#participants 4
set_character_pos 3 260.109 -48.2148 27.6307 -98
send_character_message 3 "set_animation \"Data/Animations/r_dialogue_armcross.anm\""
send_character_message 3 "set_eye_dir 260.596 -46.5772 26.9709 1"
send_character_message 3 "set_torso_target 259.909 -47.3779 29.4133 1"
send_character_message 3 "set_head_target 259.04 -47.3966 29.7376 1"
send_character_message 2 "set_eye_dir 257.608 -46.4514 26.8978 1"
send_character_message 2 "set_torso_target 257.795 -47.3994 29.0899 0.0496759"
send_character_message 2 "set_head_target 258.566 -47.4721 29.4738 1"
set_character_pos 1 258.955 -48.2838 31.4699 90
send_character_message 1 "set_animation \"Data/Animations/r_dialogue_armcross.anm\""
send_character_message 1 "set_eye_dir 258.592 -47.2815 27.9374 1"
send_character_message 1 "set_torso_target 259.895 -47.7724 31.1206 0"
send_character_message 1 "set_head_target 259.715 -47.7037 27.5154 1"
send_character_message 2 "set_animation \"Data/Animations/d_actionidle.anm\""
set_cam 258.921 -47.5752 23.761 -1.12 180 0 49.5529
set_character_pos 2 257.797 -48.2112 27.6343 -81
set_dialogue_color 1 0 0.52 0.95
set_dialogue_voice 1 8
set_dialogue_color 2 1 1 1
set_dialogue_voice 2 14
set_dialogue_color 3 0.5 0.5 0.5
set_dialogue_voice 3 3
say 1 "Ghost" "You're going to let me through, [wait 0.1]and I'm not going to pay. [wait 0.15]Open the gate!"
send_character_message 1 "set_head_target 260.111 -47.0488 27.7917 1"
send_character_message 2 "set_head_target 258.77 -47.7025 29.5681 1"
send_character_message 3 "set_head_target 258.975 -47.5695 29.6884 1"
send_character_message 3 "set_torso_target 259.909 -47.3779 29.4133 0.048007"
send_character_message 3 "set_animation \"Data/Animations/r_dialogue_welcome.anm\""
say 3 "????" "Again with this...[wait 0.1]? [wait 0.15]You hop-hops are always so stubborn."
send_character_message 1 "set_animation \"Data/Animations/r_actionidle.anm\""
send_character_message 2 "set_torso_target 257.769 -47.6586 29.7233 1"
send_character_message 1 "set_head_target 258.331 -47.2933 27.8935 1"
send_character_message 2 "set_head_target 259.404 -46.6284 28.7801 1"
send_character_message 3 "set_head_target 258.09 -47.194 28.1637 1"
send_character_message 3 "set_torso_target 259.44 -47.2848 29.6217 1"
set_cam 258.978 -47.3276 34.6173 -5.37 -0.07 -0.18 37.5569
send_character_message 2 "set_animation \"Data/Animations/d_dialogue_dualwield.anm\""
send_character_message 3 "set_animation \"Data/Animations/jairothreateningsword.anm\""
say 2 "???" "No coin to spare at all? [wait 0.15]Surely you ain't just cheap..."
send_character_message 3 "set_eye_dir 260.596 -46.5772 26.9709 0.79734"
send_character_message 1 "set_animation \"Data/Animations/r_combatidle.anm\""
send_character_message 3 "set_head_target 259.075 -47.9139 29.73 1"
send_character_message 3 "set_animation \"Data/Animations/r_dialogue_jeer.anm\""
send_character_message 1 "set_head_target 258.71 -47.1892 28.092 1"
send_character_message 2 "set_head_target 258.697 -47.8008 29.9968 1"
send_character_message 2 "set_torso_target 257.885 -48.0518 28.8432 1"
send_character_message 2 "set_animation \"Data/Animations/r_combatidle.anm\""
send_character_message 3 "set_torso_target 259.085 -48.1804 29.0937 0"
say 3 "????" "Here we go again!"
send_level_message "dialogue_done"
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
#name "GateGuards-FightArmed"
#participants 4
set_character_pos 3 260.109 -48.2148 27.6307 -98
send_character_message 3 "set_animation \"Data/Animations/r_dialogue_armcross.anm\""
send_character_message 3 "set_eye_dir 260.596 -46.5772 26.9709 1"
send_character_message 3 "set_torso_target 259.909 -47.3779 29.4133 1"
send_character_message 3 "set_head_target 259.04 -47.3966 29.7376 1"
send_character_message 2 "set_eye_dir 257.608 -46.4514 26.8978 1"
send_character_message 2 "set_torso_target 257.795 -47.3994 29.0899 0.0496759"
send_character_message 2 "set_head_target 258.566 -47.4721 29.4738 1"
set_character_pos 1 258.955 -48.2838 31.4699 90
send_character_message 1 "set_animation \"Data/Animations/jairothreateningsword.anm\""
send_character_message 1 "set_eye_dir 258.592 -47.2815 27.9374 1"
send_character_message 1 "set_torso_target 259.895 -47.7724 31.1206 0"
send_character_message 1 "set_head_target 259.715 -47.7037 27.5154 1"
send_character_message 2 "set_animation \"Data/Animations/d_actionidle.anm\""
set_cam 258.921 -47.5752 23.761 -1.12 180 0 49.5529
set_character_pos 2 257.797 -48.2112 27.6343 -81
set_dialogue_color 1 0 0.52 0.95
set_dialogue_voice 1 8
set_dialogue_color 2 1 1 1
set_dialogue_voice 2 14
set_dialogue_color 3 0.5 0.5 0.5
set_dialogue_voice 3 3
send_level_message "prepare_weapon"
say 1 "Ghost" "Open the gate, [wait 0.1]now. [wait 0.15]I'm not putting up with your ''toll''."
send_character_message 1 "set_head_target 260.111 -47.0488 27.7917 1"
send_character_message 2 "set_head_target 258.77 -47.7025 29.5681 1"
send_character_message 3 "set_head_target 258.975 -47.5695 29.6884 1"
send_character_message 3 "set_torso_target 259.909 -47.3779 29.4133 0.048007"
send_character_message 3 "set_animation \"Data/Animations/r_dialogue_welcome.anm\""
say 3 "????" "Aww, [wait 0.1]lookit! [wait 0.15]He's all strong and grown up!"
send_character_message 1 "set_animation \"Data/Animations/r_actionidle.anm\""
send_character_message 2 "set_torso_target 257.769 -47.6586 29.7233 1"
send_character_message 1 "set_head_target 258.331 -47.2933 27.8935 1"
send_character_message 2 "set_head_target 259.404 -46.6284 28.7801 1"
send_character_message 3 "set_head_target 258.09 -47.194 28.1637 1"
send_character_message 3 "set_torso_target 259.44 -47.2848 29.6217 1"
set_cam 258.978 -47.3276 34.6173 -5.37 -0.07 -0.18 37.5569
send_character_message 2 "set_animation \"Data/Animations/d_dialogue_dualwield.anm\""
send_character_message 3 "set_animation \"Data/Animations/jairothreateningsword.anm\""
say 2 "???" "We'll see how much it helps when you're face down in the pavement..."
send_character_message 3 "set_eye_dir 260.596 -46.5772 26.9709 0.79734"
send_character_message 1 "set_animation \"Data/Animations/r_combatidle.anm\""
send_character_message 3 "set_head_target 259.075 -47.9139 29.73 1"
send_character_message 3 "set_animation \"Data/Animations/r_dialogue_jeer.anm\""
send_character_message 1 "set_head_target 258.71 -47.1892 28.092 1"
send_character_message 2 "set_head_target 258.697 -47.8008 29.9968 1"
send_character_message 2 "set_torso_target 257.885 -48.0518 28.8432 1"
send_character_message 2 "set_animation \"Data/Animations/r_combatidle.anm\""
send_character_message 3 "set_torso_target 259.085 -48.1804 29.0937 0"
say 3 "????" "Show us what's for!"
send_level_message "dialogue_done"
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ set_dialogue_color 2 1 1 1
set_dialogue_voice 2 14
set_dialogue_color 3 0.5 0.5 0.5
set_dialogue_voice 3 3
say 2 "???" "And here you are, [wait 0.1]again. [wait 0.15]You got the coin, [wait 0.1]or d'ya feel like hopping away again?"
say 2 "???" "And here you are, [wait 0.1]again. [wait 0.15]You got the coin, [wait 0.1]or d'ya feel like hopping away?"
send_level_message "dialogue_done"
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ set_dialogue_color 2 1 1 1
set_dialogue_voice 2 14
set_dialogue_color 3 0.5 0.5 0.5
set_dialogue_voice 3 3
send_character_message 2 "equip_item 13842"
send_character_message 3 "equip_item 2375"
say 2 "???" "Heheh... [wait 0.2]Not half-bad, [wait 0.1]kid."
set_character_pos 2 258.616 -48.2042 36.275 -75
set_character_pos 3 260.244 -48.2062 34.7805 -129
Expand All @@ -32,7 +30,7 @@ send_character_message 2 "set_torso_target 258.87 -48.8113 37.028 0.603605"
send_character_message 3 "set_eye_dir 260.992 -47.0421 35.8783 1"
send_character_message 3 "set_head_target 259.099 -48.4525 37.6237 1"
send_character_message 2 "set_head_target 259.583 -48.2403 37.1276 1"
say 3 "????" "Khyo's nail, [wait 0.1]you were a pain. [wait 0.15]You want into Atso so bad? [wait 0.1]Fine!"
say 3 "????" "Khyo's nail, [wait 0.1]you were a pain. [wait 0.15]You want into Agra so bad? [wait 0.1]Fine!"
send_character_message 3 "set_animation \"Data/Animations/r_dialogue_worriedpose_2.anm\""
send_character_message 2 "set_animation \"Data/Animations/d_actionidle.anm\""
set_character_pos 3 260.121 -48.2062 27.6243 -90
Expand Down
Loading

0 comments on commit eab9c50

Please sign in to comment.