Here's a download link to a simple Scaleform 4/AS3-based menu and HUD for those of you just starting out with UDK & Scaleform. All source files are included, including UnrealScript, Flash, ActionScript Classes, Map, DLL, INI, and Package files.
NOTE: These files have been tested to work; however, use at your own risk. These are not officially supported files by Epic or Autodesk, and are not intended to serve as a tutorial.
These files currently demonstrate how to:
[March 2012 UDK] Download the Files
[February 2012 UDK] Download the Files
You can simply extract the zip into your base UDK install folder; however, doing so will overwrite three files:
\UDKGame\Config\DefaultEngine.ini
\UDKGame\Config\DefaultGame.ini
\UDKGame\Config\DefaultInput.ini
If you prefer, compare these files with your original UDK files, and make the changes manually. The changes are:
DefaultEngine.ini
[URL]
Map=SFAS3-Menu.udk
LocalMap=SFAS3-Menu.udk
[UnrealEd.EditorEngine]
+ModEditPackages=SFTutorialAS3
DefaultGame.ini
[Engine.GameInfo]
DefaultGame=SFTutorialAS3.SFAS3Game
DefaultServerGame=SFTutorialAS3.SFAS3Game
PlayerControllerClassName=SFTutorialAS3.SFAS3Playe rController
DefaultGameType=SFTutorialAS3.SFAS3Game
+DefaultMapPrefixes=(Prefix="SFAS3",bUsesCommonPac kage=FALSE,GameType="SFTutorialAS3.SFAS3Game")
DefaultInput.ini
.Bindings=(Name="LeftShift",Command="ToggleMouseCu rsor true | Onrelease ToggleMouseCursor false")
NOTE: These files have been tested to work; however, use at your own risk. These are not officially supported files by Epic or Autodesk, and are not intended to serve as a tutorial.
These files currently demonstrate how to:
- Create a simple menu which loads a test level when the Start button is pressed.
- Create an animated mouse cursor with tool tip roll-overs.
- Use CLIK widgets.
- Localize text.
- (HUD) Inject an AS3 document class into a Flash file & work with public variables.
- (HUD) Toggleable mouse cursor (hold Left Shift to toggle).
- (Feb 2012 UDK Only)(HUD) Using DLLBind to set the position of the mouse.
- (March 2012+ UDK)(HUD) Using SetMouse() to set the position of the mouse.
[March 2012 UDK] Download the Files
[February 2012 UDK] Download the Files
You can simply extract the zip into your base UDK install folder; however, doing so will overwrite three files:
\UDKGame\Config\DefaultEngine.ini
\UDKGame\Config\DefaultGame.ini
\UDKGame\Config\DefaultInput.ini
If you prefer, compare these files with your original UDK files, and make the changes manually. The changes are:
DefaultEngine.ini
[URL]
Map=SFAS3-Menu.udk
LocalMap=SFAS3-Menu.udk
[UnrealEd.EditorEngine]
+ModEditPackages=SFTutorialAS3
DefaultGame.ini
[Engine.GameInfo]
DefaultGame=SFTutorialAS3.SFAS3Game
DefaultServerGame=SFTutorialAS3.SFAS3Game
PlayerControllerClassName=SFTutorialAS3.SFAS3Playe rController
DefaultGameType=SFTutorialAS3.SFAS3Game
+DefaultMapPrefixes=(Prefix="SFAS3",bUsesCommonPac kage=FALSE,GameType="SFTutorialAS3.SFAS3Game")
DefaultInput.ini
.Bindings=(Name="LeftShift",Command="ToggleMouseCu rsor true | Onrelease ToggleMouseCursor false")
Comment