diff options
Diffstat (limited to 'minmode')
| -rw-r--r-- | minmode/resource/ui/ClassSelection-center.res | 12 | ||||
| -rw-r--r-- | minmode/resource/ui/ClassSelection.res | 11 | ||||
| -rw-r--r-- | minmode/resource/ui/quickplaydialog.res | 2 | ||||
| -rw-r--r-- | minmode/scripts/HudAnimations_tf.txt | 197 |
4 files changed, 220 insertions, 2 deletions
diff --git a/minmode/resource/ui/ClassSelection-center.res b/minmode/resource/ui/ClassSelection-center.res index 8f3ef1a..82247cc 100644 --- a/minmode/resource/ui/ClassSelection-center.res +++ b/minmode/resource/ui/ClassSelection-center.res @@ -31,6 +31,18 @@ "tabPosition" "0"
}
+ "charInfo"
+ {
+ "fieldName" "charInfo"
+ "xpos" "0"
+ "ypos" "0"
+ "visible" "0"
+ "enabled" "0"
+ "wide" "0"
+ "tall" "0"
+ }
+
+
"random"
{
"ControlName" "CExLabel"
diff --git a/minmode/resource/ui/ClassSelection.res b/minmode/resource/ui/ClassSelection.res index b981dd3..fc8f4a2 100644 --- a/minmode/resource/ui/ClassSelection.res +++ b/minmode/resource/ui/ClassSelection.res @@ -16,6 +16,17 @@ "fillcolor" "0 0 0 128"
}
+ "charInfo"
+ {
+ "fieldName" "charInfo"
+ "xpos" "0"
+ "ypos" "0"
+ "visible" "0"
+ "enabled" "0"
+ "wide" "0"
+ "tall" "0"
+ }
+
"SysMenu"
{
"ControlName" "Menu"
diff --git a/minmode/resource/ui/quickplaydialog.res b/minmode/resource/ui/quickplaydialog.res index 5b40cbe..ab098eb 100644 --- a/minmode/resource/ui/quickplaydialog.res +++ b/minmode/resource/ui/quickplaydialog.res @@ -15,7 +15,7 @@ "tabPosition" "0" "bgcolor_override" "0 0 0 0" - "event247_image" "illustrations/gamemode_halloween2014" + "event247_image" "illustrations/gamemode_halloween2015" "community_update_image" "illustrations/gamemode_invasion" } diff --git a/minmode/scripts/HudAnimations_tf.txt b/minmode/scripts/HudAnimations_tf.txt index cd4aa06..561b66d 100644 --- a/minmode/scripts/HudAnimations_tf.txt +++ b/minmode/scripts/HudAnimations_tf.txt @@ -1116,6 +1116,201 @@ event CollectionCrafting_ShowFailure SetVisible ResponseTimeout 1 0 SetVisible CloseButton 1 0 } +//-------------------------------------------------------------------------- +event QuestItem_Identify_Expand +{ + StopEvent QuestItem_Identify_Collapse 0 + Animate Dimmer wide 285 Bias 0.1 0.0 0.4 + Animate Dimmer xpos 0 Bias 0.1 0.0 0.4 +} -// +event QuestItem_Identify_Collapse +{ + StopEvent QuestItem_Identify_Expand 0 + Animate Dimmer wide 0 Accel 0.4 0.4 + Animate Dimmer xpos 142 Accel 0.4 0.4 +} + +event QuestItem_Complete_Expand +{ + Animate Dimmer wide 285 Deaccel 0.4 0.1 + Animate Dimmer xpos 0 Deaccel 0.4 0.1 +} + +event QuestItem_Complete_Collapse +{ + Animate Dimmer wide 0 Accel 0 0.4 + Animate Dimmer xpos 142 Accel 0 0.4 +} + +event QuestItem_Complete_Progress +{ + Animate Dimmer wide 0 Linear 0 5 + Animate Dimmer xpos 142 Linear 0 5 +} + +//-------------------------------------------------------------------------- +event QuestItem_Expand +{ + Animate FrontFolderContainer ypos 240 Gain 0.75 0 0.4 + RunEventChild IdentifyButtonContainer QuestItem_Identify_Expand 0 + RunEventChild TurnInContainer QuestItem_Complete_Expand 0 +} + +event QuestItem_Collapse +{ + Animate FrontFolderContainer ypos 0 Gain 0.75 0 0.4 + RunEventChild IdentifyButtonContainer QuestItem_Identify_Collapse 0 + RunEventChild TurnInContainer QuestItem_Complete_Collapse 0 +} + +event QuestItem_TurningIn +{ + RunEventChild TurnInContainer QuestItem_Complete_Progress 0 +} + +event QuestItem_Reset +{ + Animate FrontFolderContainer ypos 0 Linear 0 0 + RunEventChild IdentifyButtonContainer QuestItem_Identify_Collapse 0 + RunEventChild TurnInContainer QuestItem_Complete_Collapse 0 +} + +//-------------------------------------------------------------------------- +event QuestItem_DisableFrontMouse +{ + SetVisible FrontInputProxyPanel 0 0 +} + +event QuestItem_EnableFrontMouse +{ + SetVisible FrontInputProxyPanel 1 0 +} + +event QuestItem_Expand_Halloween +{ + StopEvent QuestItem_Collapse_Halloween 0 + + // Immediately disable the mouse proxy so the inactive hint goes away + RunEventChild FrontFolderContainer QuestItem_DisableFrontMouse 0 + + // Slide the sleeve + Animate SleeveImage xpos 300 Bias 0.2 0.0 0.4 + Animate EncodedStatus xpos 300 Bias 0.2 0.0 0.4 + Animate ReadyToTurnInStatus xpos 300 Bias 0.2 0.0 0.4 + Animate InactiveStatus xpos 300 Bias 0.2 0.0 0.4 + + // Once the sleeve is off, then "unroll" the paper + FireCommand 0.4 "playsound ui/quest_folder_open_halloween.wav" + RunEventChild IdentifyButtonContainer QuestItem_Identify_Expand 0.4 + RunEventChild TurnInContainer QuestItem_Complete_Expand 0.4 + Animate FrontFolderContainer ypos 240 Gain 0.75 0.4 0.4 + Animate QuestPaperContainer tall 300 Gain 0.75 0.4 0.4 + + SetVisible FrontFolderContainer 0 0.8 +} + +event QuestItem_Collapse_Halloween +{ + StopEvent QuestItem_Expand_Halloween 0 + + // Roll up the paper + Animate FrontFolderContainer ypos 0 Gain 0.75 0 0.4 + Animate QuestPaperContainer tall 70 Gain 0.75 0 0.4 + RunEventChild IdentifyButtonContainer QuestItem_Identify_Collapse 0 + RunEventChild TurnInContainer QuestItem_Complete_Collapse 0 + RunEventChild FrontFolderContainer QuestItem_EnableFrontMouse 0 + // Put the sleeve back + FireCommand 0.5 "playsound ui/quest_folder_keeper_slide_on_halloween.wav" + + Animate SleeveImage xpos 15 Bias 0.8 0.5 0.2 + Animate ReadyToTurnInStatus xpos 10 Bias 0.8 0.5 0.2 + Animate InactiveStatus xpos 10 Bias 0.8 0.5 0.2 + Animate EncodedStatus xpos 10 Bias 0.8 0.5 0.2 + + SetVisible FrontFolderContainer 1 0 +} + +event QuestItem_Reset_Halloween +{ + StopEvent QuestItem_Expand_Halloween 0 + SetVisible FrontFolderContainer 1 0 + RunEventChild FrontFolderContainer QuestItem_EnableFrontMouse 0 + + // Roll up the paper + Animate FrontFolderContainer ypos 0 Linear 0 0 + Animate QuestPaperContainer tall 70 Linear 0 0 + Animate EncodedStatus xpos 10 Bias 0 0 0 + Animate ReadyToTurnInStatus xpos 10 Bias 0 0 0 + Animate InactiveStatus xpos 10 Bias 0 0 0 + + // Put the sleeve back + Animate SleeveImage xpos 15 Linear 0 0 +} + +//-------------------------------------------------------------------------- +event QuestItem_Front_Selected +{ + StopEvent QuestItem_Front_OtherSelected 0 + StopEvent QuestItem_Front_NoneSelected 0 + + Animate MainContainer ypos 0 Gain 0.75 0 0.4 +} + +event QuestItem_Front_OtherSelected +{ + StopEvent QuestItem_Front_Selected 0 + StopEvent QuestItem_Front_NoneSelected 0 + + Animate MainContainer ypos 300 Gain 0.75 0 0.4 +} + + +event QuestItem_Front_NoneSelected +{ + StopEvent QuestItem_Front_Selected 0 + StopEvent QuestItem_Front_OtherSelected 0 + + Animate MainContainer ypos 180 Gain 0.75 0 0.4 +} + +//-------------------------------------------------------------------------- +event QuestItem_Back_Selected +{ + StopEvent QuestItem_Back_OtherSelected 0 + StopEvent QuestItem_Back_NoneSelected 0 + + Animate MainContainer ypos 0 Gain 0.75 0 0.4 +} + +event QuestItem_Back_OtherSelected +{ + StopEvent QuestItem_Back_Selected 0 + StopEvent QuestItem_Back_NoneSelected 0 + + Animate MainContainer ypos 300 Gain 0.75 0 0.8 +} + + +event QuestItem_Back_NoneSelected +{ + StopEvent QuestItem_Back_Selected 0 + StopEvent QuestItem_Back_OtherSelected 0 + + Animate MainContainer ypos 100 Gain 0.75 0 0.4 +} + +//-------------------------------------------------------------------------- +event QuestItem_Highlight_On_Halloween +{ + SetVisible GlowImage 1 0 + Animate GlowImage Alpha 255 Bias 0.8 0 0.2 +} + +event QuestItem_Highlight_Off_Halloween +{ + Animate GlowImage Alpha 0 Bias 0.8 0 0.2 +} + +// |
