diff --git a/Templates/Empty/game/art/gui/mainMenuGui.gui b/Templates/Empty/game/art/gui/mainMenuGui.gui index bed700a83..e9d575093 100644 --- a/Templates/Empty/game/art/gui/mainMenuGui.gui +++ b/Templates/Empty/game/art/gui/mainMenuGui.gui @@ -16,7 +16,7 @@ isContainer = "1"; canSave = "1"; canSaveDynamicFields = "1"; - enabled = "1"; + Enabled = "1"; isDecoy = "0"; new GuiBitmapCtrl(MainMenuAppLogo) { @@ -35,7 +35,7 @@ isContainer = "0"; canSave = "1"; canSaveDynamicFields = "1"; - enabled = "1"; + Enabled = "1"; isDecoy = "0"; }; new GuiControl() { @@ -59,7 +59,7 @@ buttonType = "PushButton"; useMouseEvents = "1"; position = "9 26"; - extent = "289 75"; + extent = "219 75"; minExtent = "8 8"; horizSizing = "relative"; vertSizing = "bottom"; @@ -158,6 +158,26 @@ canSave = "1"; canSaveDynamicFields = "0"; }; + new GuiButtonCtrl() { + text = "Replay"; + groupNum = "-1"; + buttonType = "PushButton"; + useMouseEvents = "0"; + position = "215 26"; + extent = "83 75"; + minExtent = "8 2"; + horizSizing = "right"; + vertSizing = "bottom"; + profile = "GuiMenuButtonProfile"; + visible = "1"; + active = "1"; + command = "Canvas.pushDialog(RecordingsDlg);"; + tooltipProfile = "GuiToolTipProfile"; + hovertime = "1000"; + isContainer = "0"; + canSave = "1"; + canSaveDynamicFields = "0"; + }; }; }; //--- OBJECT WRITE END --- diff --git a/Templates/Empty/game/core/scripts/client/core.cs b/Templates/Empty/game/core/scripts/client/core.cs index da26beeff..ecf1626f8 100644 --- a/Templates/Empty/game/core/scripts/client/core.cs +++ b/Templates/Empty/game/core/scripts/client/core.cs @@ -73,6 +73,7 @@ function initializeCore() exec("~/art/gui/console.gui"); exec("~/art/gui/consoleVarDlg.gui"); exec("~/art/gui/netGraphGui.gui"); + exec("~/art/gui/RecordingsDlg.gui"); // Gui Helper Scripts. exec("~/scripts/gui/help.cs"); diff --git a/Templates/Full/game/art/gui/mainMenuGui.gui b/Templates/Full/game/art/gui/mainMenuGui.gui index ac38976d3..bde78491f 100644 --- a/Templates/Full/game/art/gui/mainMenuGui.gui +++ b/Templates/Full/game/art/gui/mainMenuGui.gui @@ -16,7 +16,7 @@ isContainer = "1"; canSave = "1"; canSaveDynamicFields = "1"; - enabled = "1"; + Enabled = "1"; isDecoy = "0"; new GuiBitmapCtrl(MainMenuAppLogo) { @@ -35,7 +35,7 @@ isContainer = "0"; canSave = "1"; canSaveDynamicFields = "1"; - enabled = "1"; + Enabled = "1"; isDecoy = "0"; }; new GuiControl() { @@ -59,7 +59,7 @@ buttonType = "PushButton"; useMouseEvents = "1"; position = "9 18"; - extent = "289 75"; + extent = "219 75"; minExtent = "8 8"; horizSizing = "relative"; vertSizing = "bottom"; @@ -178,6 +178,26 @@ canSave = "1"; canSaveDynamicFields = "0"; }; + new GuiButtonCtrl() { + text = "Replay"; + groupNum = "-1"; + buttonType = "PushButton"; + useMouseEvents = "0"; + position = "215 18"; + extent = "83 75"; + minExtent = "8 2"; + horizSizing = "right"; + vertSizing = "bottom"; + profile = "GuiMenuButtonProfile"; + visible = "1"; + active = "1"; + command = "Canvas.pushDialog(RecordingsDlg);"; + tooltipProfile = "GuiToolTipProfile"; + hovertime = "1000"; + isContainer = "0"; + canSave = "1"; + canSaveDynamicFields = "0"; + }; }; }; //--- OBJECT WRITE END --- diff --git a/Templates/Full/game/core/scripts/client/core.cs b/Templates/Full/game/core/scripts/client/core.cs index da26beeff..ecf1626f8 100644 --- a/Templates/Full/game/core/scripts/client/core.cs +++ b/Templates/Full/game/core/scripts/client/core.cs @@ -73,6 +73,7 @@ function initializeCore() exec("~/art/gui/console.gui"); exec("~/art/gui/consoleVarDlg.gui"); exec("~/art/gui/netGraphGui.gui"); + exec("~/art/gui/RecordingsDlg.gui"); // Gui Helper Scripts. exec("~/scripts/gui/help.cs");