Gah - a solution with more questions. – EntropicLqd

Difference between revisions of "User:00zX"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(Proposal - UScripting: - Made some adjustments, corrected some typos, updated links, yada yada)
m (Proposal - UScripting)
Line 177: Line 177:
  
 
=====Directory Structure and creating Package Folders=====
 
=====Directory Structure and creating Package Folders=====
Firstly you'll need to have an understanding of [[Unreal Engine]]s '''[[Engine_Directory_Structure|directory structure]]''', from there you will be able to [[Create_Package_Folders|create the required folders for packages]] so you can [[compile]] the [[UC_File|*.UC files]] into a [[Package_File|package file]]. For Unreal Script [[Classes]] ([[UC_File|*.UC files]]) you will need to first make the [[Legacy:Package|package's]] folder and then the [[Classes]] folder. The following eg shows the package folders being:
+
Firstly you will need to have an understanding of '''[[Engine_Directory_Structure|Unreal Engine's directory structure]]''', from there you will be able to [[Create_Package_Folders|create the required folders for packages]] so you can [[compile]] the [[UC_File|*.UC files]] into a [[Script Package File|script package file]](*.U). For Unreal Script [[Classes]] ([[UC_File|*.UC files]]) you will need to first make the ''package'' directory and then the ''Classes'' directory. The following example shows the package folders being:
  
::'''UT2004''' - All UT2004 source can be located under the {[[Base Directory]]}\System Directory so you would create a new directory containing the directory classes in there.<br>
+
::'''UT2004''' - {[[Base Directory]]}\System<br>
::'''UT3''' - For UT3 you create a folder in the {[[User Documents Directory]]}\My Games\Unreal Tournament 3\UTGame\Src directory also containing the directory classes.<br>
+
::'''UT3''' - {[[User Documents Directory]]}\My Games\Unreal Tournament 3\UTGame\Src<br>
::'''UDK''' - For UDK you create a folder in the {[[Base Directory]]}\Development\Src directory.<br>
+
::'''UDK''' - {[[Base Directory]]}\Development\Src<br>
  
 
So you should have a directory structure like:<br>
 
So you should have a directory structure like:<br>
Line 225: Line 225:
 
====Setting Up UnCodex====
 
====Setting Up UnCodex====
 
Working with multiple copies of unreal engine source (for example, numerous [[UDK]] copies) can be tedious to continuously analyze all the time in [[legacy:uncodex|UnCodex]] so I'll guide you through setting it up so you can have numerous shortcuts all which cache different versions of [[Unreal Engine]].
 
Working with multiple copies of unreal engine source (for example, numerous [[UDK]] copies) can be tedious to continuously analyze all the time in [[legacy:uncodex|UnCodex]] so I'll guide you through setting it up so you can have numerous shortcuts all which cache different versions of [[Unreal Engine]].
You have to be careful however, this can get confusing as to which copy is in which [[UnCodeX|UnCodeX]] window but you can double check the title bar, which I highly recommend you do. I have been caught out a few times with this myself between UT3 and UDK sources.<br>
+
You have to be careful however, this can get confusing as to which copy is in which [[UnCodeX|UnCodeX]] window but you can double check the title bar, which I highly recommend you do. I have been caught out a few times with this myself between [[UT3]] and [[UDK]] sources.<br>
  
 
As a general rule of thumb I just use the naming convention:<br>
 
As a general rule of thumb I just use the naming convention:<br>

Revision as of 17:29, 29 April 2010

Works in Progress

Unreal Development Kit

UDK: Project Silky - Status: Prototype
UDK: GameDex Framework - Status: Design

Unreal Tournament 3

UT3: GameDex Framework - Status: Beta
Newtators-v1.9e - Status: Point Release
Attrition-v0.5pb - Status: Public Beta

Visual Studio Express C#

UScriptIt - Chasing the dragon through the meta

Highlighters

UnrealWiki - Code Noir Redex Theme

Monobook-noir-alpha3.gif

Status: Beta 1 (testing)

To Install copy the contents of the following page into your own 'User:[name]/monobook.css' page.

User:00zX/monobook.css
W3C CSS Validator
Features
Dark Theme
High Contrast
Improved Readability
Highlighter adjustments for UScript, CSS and XML
Different coloured borders per GameNameSpace
Curved Borders in supporting browsers
Known Issues
Edit/Input boxes are still black text on white.
Profile settings page unreadable.




Proposal - Unreal Engine

Proposal - Unreal Script Feature Recommendations

Block Scope variable definitions

This:

function NoBlockScope()
{
	local Object Obj;
 
	foreach ObjArray(Obj)
	{
		//do something here
	}
}

Would become:

function BlockScope()
{
	foreach ObjArray(local Object Obj)
	{
		//do something here
	}
}

The local keyword could be replaced with var, block or just omitted entirely. Similarly this would work for any type as in the following:

function BlockScopeTwo()
{
	foreach ObjArray(var Object Obj, var int i)
	{
		//do something here
		//Obj and i are only accessible here
	}
	//Obj and i are not assigned in this scope
}

Default variable assignment

This:

function bool CheckReplacement(Actor Other)
{
	local Controller C;
 
	C = Controller(Other);
 
	if(C != None)
	{
		//do something here
	}
}

Would become:

function bool CheckReplacement(Actor Other)
{
	local Controller C = Controller(Other);
 
	if(C != None)
	{
		//do something here
	}
}

The following example is of both block scope and default variable assignment:

function BlockScopeThree()
{
	for(local int i = 0; i < A.length; ++i)
	{
		//do something here
	}
}


Proposal - UScripting

Step by step process of installing, setting up jEdit for use with Uscript. From start to finish, using/committing to repository's and building using Apache Ant. A major portion of this tutorial is dedicated to giving you the knowledge to editing/customizing your programming environment to your liking (I do feel this can help to improve workflow).

Tools suggested for this tutorial:

  • jEdit - Programmers text editor
  • GIT - Source/Build Repository
  • Uncodex - UScript Class Browser
  • NSIS - Installer/Packaging

Introduction to jEdit

Introduction to UnCodex

Introduction to Git

Compiling

Introduction to NSIS

Introduction to Ant

Using Ant to package a release. Online Manual

Ideas

Using Ant scripts to commit to git repository.

Proposal - Replication

Replication

Status: On Hold

--00zX 13:23, 22 April 2010 (UTC)

Replication / Replication_(computer_science)
Concept of servers and clients.(NetMode/Role/Relevance/Reliability)


Wiki

Contact Me

IRC

00zX on EnterTheGame

Other/Profiles

E-mail 00zX or on