hardcode removed / husk proj fix

This commit is contained in:
Shtoyan 2022-01-21 14:25:59 +04:00
commit 31a99d413b
653 changed files with 1294 additions and 1272 deletions

View file

@ -181,7 +181,7 @@ defaultproperties
WinWidth=0.332300
WinHeight=0.100000
End Object
HeaderBG_Left=GUIImage'NicePack.NiceGUIBuyMenu.HBGLeft'
HeaderBG_Left=HBGLeft
Begin Object Class=GUIImage Name=HBGCenter
Image=Texture'KF_InterfaceArt_tex.Menu.Thin_border'
@ -192,7 +192,7 @@ defaultproperties
WinWidth=0.331023
WinHeight=0.100000
End Object
HeaderBG_Center=GUIImage'NicePack.NiceGUIBuyMenu.HBGCenter'
HeaderBG_Center=HBGCenter
Begin Object Class=GUIImage Name=HBGRight
Image=Texture'KF_InterfaceArt_tex.Menu.Thin_border'
@ -203,7 +203,7 @@ defaultproperties
WinWidth=0.332000
WinHeight=0.100000
End Object
HeaderBG_Right=GUIImage'NicePack.NiceGUIBuyMenu.HBGRight'
HeaderBG_Right=HBGRight
Begin Object Class=GUILabel Name=Perk
TextAlign=TXTA_Center
@ -213,7 +213,7 @@ defaultproperties
WinWidth=0.329761
WinHeight=0.050000
End Object
CurrentPerkLabel=GUILabel'NicePack.NiceGUIBuyMenu.Perk'
CurrentPerkLabel=Perk
Begin Object Class=GUILabel Name=Time
Caption="Trader closes in 00:31"
@ -225,7 +225,7 @@ defaultproperties
WinWidth=0.330000
WinHeight=0.035000
End Object
TimeLeftLabel=GUILabel'NicePack.NiceGUIBuyMenu.Time'
TimeLeftLabel=Time
Begin Object Class=GUILabel Name=Wave
Caption="Wave: 7/10"
@ -236,7 +236,7 @@ defaultproperties
WinWidth=0.327071
WinHeight=0.035000
End Object
WaveLabel=GUILabel'NicePack.NiceGUIBuyMenu.Wave'
WaveLabel=Wave
Begin Object Class=GUILabel Name=HBGLL
Caption="Quick Perk Select"
@ -248,7 +248,7 @@ defaultproperties
WinWidth=0.329761
WinHeight=0.019524
End Object
HeaderBG_Left_Label=GUILabel'NicePack.NiceGUIBuyMenu.HBGLL'
HeaderBG_Left_Label=HBGLL
Begin Object Class=KFQuickPerkSelect Name=QS
WinTop=0.011906
@ -257,7 +257,7 @@ defaultproperties
WinHeight=0.082460
OnDraw=QS.MyOnDraw
End Object
QuickPerkSelect=KFQuickPerkSelect'NicePack.NiceGUIBuyMenu.QS'
QuickPerkSelect=QS
Begin Object Class=KFBuyMenuFilter Name=filter
WinTop=0.051000
@ -266,7 +266,7 @@ defaultproperties
WinHeight=0.082460
OnDraw=filter.MyOnDraw
End Object
BuyMenuFilter=KFBuyMenuFilter'NicePack.NiceGUIBuyMenu.filter'
BuyMenuFilter=filter
Begin Object Class=GUIButton Name=StoreTabB
Caption="Store"
@ -278,7 +278,7 @@ defaultproperties
OnClick=NiceGUIBuyMenu.ButtonClicked
OnKeyEvent=StoreTabB.InternalOnKeyEvent
End Object
StoreTabButton=GUIButton'NicePack.NiceGUIBuyMenu.StoreTabB'
StoreTabButton=StoreTabB
Begin Object Class=GUIButton Name=PerkTabB
Caption="Perk"
@ -290,7 +290,7 @@ defaultproperties
OnClick=NiceGUIBuyMenu.ButtonClicked
OnKeyEvent=PerkTabB.InternalOnKeyEvent
End Object
PerkTabButton=GUIButton'NicePack.NiceGUIBuyMenu.PerkTabB'
PerkTabButton=PerkTabB
Begin Object Class=GUIImage Name=Weight
Image=Texture'KF_InterfaceArt_tex.Menu.Thin_border'
@ -300,7 +300,7 @@ defaultproperties
WinWidth=0.663086
WinHeight=0.065828
End Object
WeightBG=GUIImage'NicePack.NiceGUIBuyMenu.Weight'
WeightBG=Weight
Begin Object Class=GUIImage Name=WeightIco
Image=Texture'KillingFloorHUD.HUD.Hud_Weight'
@ -311,7 +311,7 @@ defaultproperties
WinHeight=0.048992
RenderWeight=0.460000
End Object
WeightIcon=GUIImage'NicePack.NiceGUIBuyMenu.WeightIco'
WeightIcon=WeightIco
Begin Object Class=GUIImage Name=WeightIcoBG
Image=Texture'KF_InterfaceArt_tex.Menu.Perk_box_unselected'
@ -322,7 +322,7 @@ defaultproperties
WinHeight=0.054461
RenderWeight=0.450000
End Object
WeightIconBG=GUIImage'NicePack.NiceGUIBuyMenu.WeightIcoBG'
WeightIconBG=WeightIcoBG
Begin Object Class=KFWeightBar Name=WeightB
WinTop=0.945302
@ -331,7 +331,7 @@ defaultproperties
WinHeight=0.053896
OnDraw=WeightB.MyOnDraw
End Object
WeightBar=KFWeightBar'NicePack.NiceGUIBuyMenu.WeightB'
WeightBar=WeightB
RedColor=(R=255,A=255)
GreenGreyColor=(B=158,G=176,R=175,A=255)
@ -340,6 +340,7 @@ defaultproperties
TraderClose="Trader Closes in"
WaveString="Wave"
LvAbbrString="Lv"
Begin Object Class=GUITabControl Name=PageTabs
bDockPanels=True
TabHeight=0.025000
@ -354,7 +355,7 @@ defaultproperties
OnActivate=PageTabs.InternalOnActivate
OnChange=NiceGUIBuyMenu.InternalOnChange
End Object
c_Tabs=GUITabControl'NicePack.NiceGUIBuyMenu.PageTabs'
c_Tabs=PageTabs
Begin Object Class=BackgroundImage Name=PageBackground
Image=Texture'Engine.WhiteSquareTexture'
@ -362,7 +363,7 @@ defaultproperties
ImageStyle=ISTY_Tiled
RenderWeight=0.001000
End Object
i_Background=BackgroundImage'NicePack.NiceGUIBuyMenu.PageBackground'
i_Background=PageBackground
PanelClass(0)="KFGUI.KFTab_BuyMenu"
PanelClass(1)="KFGUI.KFTab_Perks"

View file

@ -112,7 +112,7 @@ defaultproperties
OnChange=NiceGUISettings.InternalOnChange
OnLoadINI=NiceGUISettings.InternalOnLoadINI
End Object
ch_WeapManagement=moCheckBox'NicePack.NiceGUISettings.WeaponManagement'
ch_WeapManagement=WeaponManagement
Begin Object Class=moCheckBox Name=AltSwitches
CaptionWidth=0.955000
@ -128,7 +128,7 @@ defaultproperties
OnChange=NiceGUISettings.InternalOnChange
OnLoadINI=NiceGUISettings.InternalOnLoadINI
End Object
ch_AltSwitches=moCheckBox'NicePack.NiceGUISettings.AltSwitches'
ch_AltSwitches=AltSwitches
Begin Object Class=moCheckBox Name=DispCounters
CaptionWidth=0.955000
@ -144,7 +144,7 @@ defaultproperties
OnChange=NiceGUISettings.InternalOnChange
OnLoadINI=NiceGUISettings.InternalOnLoadINI
End Object
ch_DispCounters=moCheckBox'NicePack.NiceGUISettings.DispCounters'
ch_DispCounters=DispCounters
Begin Object Class=moCheckBox Name=DispWeapProgress
CaptionWidth=0.955000
@ -160,7 +160,7 @@ defaultproperties
OnChange=NiceGUISettings.InternalOnChange
OnLoadINI=NiceGUISettings.InternalOnLoadINI
End Object
ch_DisWeapProgress=moCheckBox'NicePack.NiceGUISettings.DispWeapProgress'
ch_DisWeapProgress=DispWeapProgress
Begin Object Class=moCheckBox Name=ShowHLMessages
CaptionWidth=0.955000
@ -176,7 +176,7 @@ defaultproperties
OnChange=NiceGUISettings.InternalOnChange
OnLoadINI=NiceGUISettings.InternalOnLoadINI
End Object
ch_ShowHLMessages=moCheckBox'NicePack.NiceGUISettings.ShowHLMessages'
ch_ShowHLMessages=ShowHLMessages
Begin Object Class=moCheckBox Name=CancelFire
CaptionWidth=0.955000
@ -192,7 +192,7 @@ defaultproperties
OnChange=NiceGUISettings.InternalOnChange
OnLoadINI=NiceGUISettings.InternalOnLoadINI
End Object
ch_CancelFire=moCheckBox'NicePack.NiceGUISettings.CancelFire'
ch_CancelFire=CancelFire
Begin Object Class=moCheckBox Name=CancelSwitching
CaptionWidth=0.955000
@ -208,7 +208,7 @@ defaultproperties
OnChange=NiceGUISettings.InternalOnChange
OnLoadINI=NiceGUISettings.InternalOnLoadINI
End Object
ch_CancelSwitching=moCheckBox'NicePack.NiceGUISettings.CancelSwitching'
ch_CancelSwitching=CancelSwitching
Begin Object Class=moCheckBox Name=CancelNades
CaptionWidth=0.955000
@ -224,7 +224,7 @@ defaultproperties
OnChange=NiceGUISettings.InternalOnChange
OnLoadINI=NiceGUISettings.InternalOnLoadINI
End Object
ch_CancelNades=moCheckBox'NicePack.NiceGUISettings.CancelNades'
ch_CancelNades=CancelNades
Begin Object Class=moCheckBox Name=CancelAiming
CaptionWidth=0.955000
@ -240,7 +240,7 @@ defaultproperties
OnChange=NiceGUISettings.InternalOnChange
OnLoadINI=NiceGUISettings.InternalOnLoadINI
End Object
ch_CancelAiming=moCheckBox'NicePack.NiceGUISettings.CancelAiming'
ch_CancelAiming=CancelAiming
Begin Object Class=moCheckBox Name=ServerReload
CaptionWidth=0.955000
@ -256,7 +256,7 @@ defaultproperties
OnChange=NiceGUISettings.InternalOnChange
OnLoadINI=NiceGUISettings.InternalOnLoadINI
End Object
ch_ReloadWontWork=moCheckBox'NicePack.NiceGUISettings.ServerReload'
ch_ReloadWontWork=ServerReload
Begin Object Class=GUISectionBackground Name=WEAPBG
Caption="General weapon settings"
@ -266,7 +266,7 @@ defaultproperties
RenderWeight=0.100100
OnPreDraw=WeaponsBG.InternalPreDraw
End Object
bg_WEAP=GUISectionBackground'NicePack.NiceGUISettings.WEAPBG'
bg_WEAP=WEAPBG
Begin Object Class=GUISectionBackground Name=RELOADBG
Caption="Weapon reload settings"
@ -277,5 +277,5 @@ defaultproperties
RenderWeight=0.100100
OnPreDraw=WeaponsBG.InternalPreDraw
End Object
bg_RELOAD=GUISectionBackground'NicePack.NiceGUISettings.RELOADBG'
bg_RELOAD=RELOADBG
}

View file

@ -9,7 +9,7 @@ function InitComponent(GUIController MyController, GUIComponent MyOwner){
local int indexAfterScrn;
// Setup panel classes.
Panels[0].ClassName = string(Class'ScrnBalanceSrv.ScrnTab_MidGamePerks');
Panels[1].ClassName = string(Class'NicePack.NicePanelSkills');
Panels[1].ClassName = string(class'NicePanelSkills');
Panels[2].ClassName = string(Class'SRTab_MidGameVoiceChat');
Panels[3].ClassName = string(Class'SRTab_MidGameStats');
Panels[0].Caption = Class'KFInvasionLoginMenu'.Default.Panels[1].Caption;
@ -39,7 +39,7 @@ function InitComponent(GUIController MyController, GUIComponent MyOwner){
}
else
indexAfterScrn = 5;
Panels[indexAfterScrn].ClassName = "NicePack.NiceGUISettings";
Panels[indexAfterScrn].ClassName = string(class'NiceGUISettings');
Panels[indexAfterScrn].Caption = "Nice settings";
Panels[indexAfterScrn].Hint = "Settings specific to NicePack mutator";
Panels.Length = indexAfterScrn + 1;

View file

@ -8,5 +8,5 @@ defaultproperties
bScaleToParent=False
OnPreDraw=BuyFooter.InternalOnPreDraw
End Object
t_Footer=NiceLobbyFooter'NicePack.NiceLobbyMenu.BuyFooter'
t_Footer=BuyFooter
}

View file

@ -37,7 +37,7 @@ defaultproperties
OnClickSound=CS_None
OnKeyEvent=btn1A.InternalOnKeyEvent
End Object
skillButtonA(0)=NiceGUIPerkButton'NicePack.NicePanelSkills.btn1A'
skillButtonA(0)=btn1A
Begin Object Class=NiceGUIPerkButton Name=btn2A
WinTop=0.188500
@ -51,7 +51,7 @@ defaultproperties
OnClickSound=CS_None
OnKeyEvent=btn2A.InternalOnKeyEvent
End Object
skillButtonA(1)=NiceGUIPerkButton'NicePack.NicePanelSkills.btn2A'
skillButtonA(1)=btn2A
Begin Object Class=NiceGUIPerkButton Name=btn3A
WinTop=0.364500
@ -65,7 +65,7 @@ defaultproperties
OnClickSound=CS_None
OnKeyEvent=btn3A.InternalOnKeyEvent
End Object
skillButtonA(2)=NiceGUIPerkButton'NicePack.NicePanelSkills.btn3A'
skillButtonA(2)=btn3A
Begin Object Class=NiceGUIPerkButton Name=btn4A
WinTop=0.540500
@ -79,7 +79,7 @@ defaultproperties
OnClickSound=CS_None
OnKeyEvent=btn4A.InternalOnKeyEvent
End Object
skillButtonA(3)=NiceGUIPerkButton'NicePack.NicePanelSkills.btn4A'
skillButtonA(3)=btn4A
Begin Object Class=NiceGUIPerkButton Name=btn5A
WinTop=0.716500
@ -93,7 +93,7 @@ defaultproperties
OnClickSound=CS_None
OnKeyEvent=btn5A.InternalOnKeyEvent
End Object
skillButtonA(4)=NiceGUIPerkButton'NicePack.NicePanelSkills.btn5A'
skillButtonA(4)=btn5A
Begin Object Class=NiceGUIPerkButton Name=btn1B
WinTop=0.012500
@ -108,7 +108,7 @@ defaultproperties
OnClickSound=CS_None
OnKeyEvent=btn1B.InternalOnKeyEvent
End Object
skillButtonB(0)=NiceGUIPerkButton'NicePack.NicePanelSkills.btn1B'
skillButtonB(0)=btn1B
Begin Object Class=NiceGUIPerkButton Name=btn2B
WinTop=0.188500
@ -123,7 +123,7 @@ defaultproperties
OnClickSound=CS_None
OnKeyEvent=btn2B.InternalOnKeyEvent
End Object
skillButtonB(1)=NiceGUIPerkButton'NicePack.NicePanelSkills.btn2B'
skillButtonB(1)=btn2B
Begin Object Class=NiceGUIPerkButton Name=btn3B
WinTop=0.364500
@ -138,7 +138,7 @@ defaultproperties
OnClickSound=CS_None
OnKeyEvent=btn3B.InternalOnKeyEvent
End Object
skillButtonB(2)=NiceGUIPerkButton'NicePack.NicePanelSkills.btn3B'
skillButtonB(2)=btn3B
Begin Object Class=NiceGUIPerkButton Name=btn4B
WinTop=0.540500
@ -153,7 +153,7 @@ defaultproperties
OnClickSound=CS_None
OnKeyEvent=btn4B.InternalOnKeyEvent
End Object
skillButtonB(3)=NiceGUIPerkButton'NicePack.NicePanelSkills.btn4B'
skillButtonB(3)=btn4B
Begin Object Class=NiceGUIPerkButton Name=btn5B
WinTop=0.716500
@ -168,5 +168,5 @@ defaultproperties
OnClickSound=CS_None
OnKeyEvent=btn5B.InternalOnKeyEvent
End Object
skillButtonB(4)=NiceGUIPerkButton'NicePack.NicePanelSkills.btn5B'
skillButtonB(4)=btn5B
}