Cogito, ergo sum

Difference between revisions of "UC File"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
m
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
 
==Shell Integration ==
 
==Shell Integration ==
  
You can add UnrealScript files to the Windows Explorer context menu's New list. This conveniently makes a file with the correct extension, and you can also use the template below to set up the basics of the class.
+
You can add UnrealScript files to the Windows Explorer context menu's New list.  
  
 
<uscript>
 
<uscript>
Line 31: Line 31:
 
  FileName  UnrealClass.uc
 
  FileName  UnrealClass.uc
  
==Related Topics==
+
==Related Topics ==
 
* [[Legacy:Unreal Engine|Unreal Engine]]
 
* [[Legacy:Unreal Engine|Unreal Engine]]
 
* [[Legacy:File Format|File format]]
 
* [[Legacy:File Format|File format]]
 
* [[Legacy:UnrealScript|UnrealScript]]
 
* [[Legacy:UnrealScript|UnrealScript]]
* [[Legacy:Engine Directory Structure|Engine Directory Structure]], and a tutorial on this: [[Legacy:Set Up Package Folders|Set Up Package Folders]]
+
* [[Legacy:Engine Directory Structure|Engine Directory Structure]]
 
+
==Discussion==
+

Revision as of 06:19, 22 October 2003

This is just a text file containing UnrealScript source code. You can edit this with any text editor, though we recommend you use something that supports syntax highlighting.

Shell Integration

You can add UnrealScript files to the Windows Explorer context menu's New list.

//=============================================================================
// 
//=============================================================================
class 
	extends ;
 
defaultproperties
{
}

With TweakUI

If you have TweakUI installed, save the above script and a UC file anywhere, and drag the file onto TweakUI's New tab.

Via the registry

Otherwise, save the script in C:\WINDOWS\ShellNew\UnrealClass.uc

Then in the Windows Registry, create a key:

HKEY_CLASSES_ROOT\.uc\ShellNew

Add the value:

FileName  UnrealClass.uc

Related Topics