My program doesn't have bugs. It just develops random features.

Difference between revisions of "User:00zX"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
m (Proposal - Unreal Script Feature Recommendations: - renamed)
(Proposal - UScripting: - Made some adjustments, corrected some typos, updated links, yada yada)
Line 112: Line 112:
  
 
==Proposal - UScripting==
 
==Proposal - UScripting==
Step by step process of installing, setting up jEdit for use with Uscript. From start to finish, using/commiting 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).
+
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).
  
{{ambox|text=you can replace any of these with a program of your choosing, some of the [[basic procedure]] in this tutorial are generic enough that program doesnt matter. Some of these steps however are only directly relevant to the programs listed below.}}
+
{{ambox|text=you can replace any of these with a program of your choosing, some of the [[Unreal_Wiki:Basic_procedures|basic procedure]] in this tutorial are generic enough that program doesnt matter. Some of these steps however are only directly relevant to the programs listed below.}}
 
Tools suggested for this tutorial:
 
Tools suggested for this tutorial:
 
*[[Legacy:JEdit|jEdit]] - Programmers text editor
 
*[[Legacy:JEdit|jEdit]] - Programmers text editor
Line 157: Line 157:
  
 
::To install new plugins, click on the plugin manager and you will notice a tab up the top of the new window which says install (show picture).
 
::To install new plugins, click on the plugin manager and you will notice a tab up the top of the new window which says install (show picture).
Navigate to this and select the checkboxes for all plugins you wish to install then hit install in the lower left of the panel.
+
Navigate to this and select the check-boxes for all plugins you wish to install then hit install in the lower left of the panel.
  
 
::The plugin settings can be found under the Plugins/Plugin Option button on jEdits main toolbar at the top.
 
::The plugin settings can be found under the Plugins/Plugin Option button on jEdits main toolbar at the top.
Line 167: Line 167:
  
 
:First off I prefer to have the project viewer docked on the left hand side of jEdit, you can however put it anywhere you wish to place it.
 
:First off I prefer to have the project viewer docked on the left hand side of jEdit, you can however put it anywhere you wish to place it.
Right click on All Projects which you should see in your project viewer, add a new group (this is a recommendation), this will help to keep all your UScript UT3/UDK etc seperate from any other projects you may wish to create.
+
Right click on All Projects which you should see in your project viewer, add a new group (this is a recommendation), this will help to keep all your UScript UT3/UDK etc separate from any other projects you may wish to create.
 
I have a group named '''UE3''' for example, then under that group I have '''UT3''' and '''UDK''' to house each of the projects I have for each.
 
I have a group named '''UE3''' for example, then under that group I have '''UT3''' and '''UDK''' to house each of the projects I have for each.
  
 
:Once you have your groups setup to your liking you are ready to create a project, this will require that you have a directory to scan for source files within.
 
:Once you have your groups setup to your liking you are ready to create a project, this will require that you have a directory to scan for source files within.
Lets create a directory, as examples I'll use UT3 and UDK but you can find information on various UE games directory structures here on the wiki.
 
 
<br>
 
<br>
  
Line 180: Line 179:
 
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'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:
  
::'''UT2004''' - All UT2004 source can be located under the {''Drive''}:\{'''UT2004 Dir'''}\System Directory so you would create a new directory containing the directory classes in there.<br>
+
::'''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>
::'''UT3''' - For UT3 you create a folder in the {''Drive''}:\{''User Folder''}\{''Documents''}\My Games\Unreal Tournament 3\UTGame\Src directory also containing the directory classes.<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>
::'''UDK''' - For UDK you create a folder in the {''Drive''}:\UDK\{'''UDK-Version'''}\Development\Src directory.<br>
+
::'''UDK''' - For UDK you create a folder in the {[[Base Directory]]}\Development\Src directory.<br>
  
 
So you should have a directory structure like:<br>
 
So you should have a directory structure like:<br>
::'''UT2004''' - {''Drive''}:\{''UT2004''}\System\{'''Your Package'''}\Classes<br>
+
::'''UT2004''' - {[[Base Directory]]}\System\{'''Your Package'''}\Classes<br>
::'''UT3''' - {''Drive''}:\{User Folder}\{Documents}\My Games\Unreal Tournament 3\UTGame\Src\{'''Your Package'''}\Classes<br>
+
::'''UT3''' - {[[User Documents Directory]]}\My Games\Unreal Tournament 3\UTGame\Src\{'''Your Package'''}\Classes<br>
::'''UDK''' - {''Drive''}:\UDK\{''UDK-Version''}\Development\Src\{'''Your Package'''}\Classes<br>
+
::'''UDK''' - {[[Base Directory]]}\Development\Src\{'''Your Package'''}\Classes<br>
  
 
Right click on the group you wish to create the project within, click '''Add Project'''. This will display the create project dialogs (show Picture)
 
Right click on the group you wish to create the project within, click '''Add Project'''. This will display the create project dialogs (show Picture)
Select a name and the root directory for you project, for now select {'''Your Package'''} directory. Or alternatively if you wish to use multiple [[package]]'s for your project you may add the {'''base source directory'''}, you will however need to filter the imported folders so that only the ones you require for your project are displayed.
+
Select a name and the root directory for you project, for now select {'''Your Package'''} directory. Or alternatively if you wish to use multiple [[package]]'s for your project you may add the {[[base source directory]]}, you will however need to filter the imported folders so that only the ones you require for your project are displayed.
  
 
Project Viewer would now have selected the project for you, you can navigate back to all projects using the drop down box at the top of Project Viewer.
 
Project Viewer would now have selected the project for you, you can navigate back to all projects using the drop down box at the top of Project Viewer.
Line 244: Line 243:
 
''Add your source directories here''
 
''Add your source directories here''
 
</pre>  
 
</pre>  
::'''UT2004''' - Drive:\{UT2004}\System\<br>
+
::'''UT2004''' - {[[Base Directory]]}\System\<br>
::'''UT3''' - Drive:\{User Folder}\{Documents}\My Games\Unreal Tournament 3\UTGame\Src\<br>
+
::'''UT3''' - {[[User Documents Directory]]}\My Games\Unreal Tournament 3\UTGame\Src\<br>
  
 
{{ambox|type=notice|text=This can be done once [[UnCodeX|UnCodeX]] is loaded for this mode.}}<br>
 
{{ambox|type=notice|text=This can be done once [[UnCodeX|UnCodeX]] is loaded for this mode.}}<br>

Revision as of 17:20, 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