Username:    Password:    Remember me     
 

Headers Tutorial V1.00
The Tutorial here is made by ini Deliverance

feel free to email me at:
ini_deliverance@hotmail.com

If you are not very familiar with VisualC++, most of the work 'can' actually done in the Editor.

1st
This is assuming that you are familiar with the Unreal/Rune Engine, and are already able to create a mutator...
If not feel free to head on over to the http://www.ini-honor-trophies.com website to download my 'OpenSource' mods.
You can cut and paste that code and take all the credit you like, as long as you create something for Rune!
I have added a tutorial of HOW to use code in the 'OpenSource' mods.zip archive. This code teaches how to combine
the different mutators into one. Therefore if you do not know how to code it will teach you a bit.

//--------------------make your mod in the UnrealEditor---------------------
// NOTE: you can actually create these mods directly in VC, though many are more comfortable with the Editor.

Make your mod(gametypes/mutators/bugfixes, etc...) ---- in the Unreal/RuneEditor

Build all into the RuneI./Engine./etc. (EX: RuneI.ServerSettings, EX: RuneI.MOTDColor, etc) ---'NOT'
MOTDColor.MOTDColor

After you have your work completed in the editor, 'CompileChangesScripts' and save your work...

After you save your work go to your 'Rune' directory
You will see a new folder/s in the main 'Rune' directory called 'RuneI', 'Engine', or any other bit that was modified.
Inside these new folders there will be another folder, sometimes more depending, this folder is called 'Classes'

Inside the 'Classes' folder is all of the modified files to be added (.uc files) for the package in VC.

Close everything... you will be using these files soon, so remember where they are located!

//--------------------------------------------------------------------------------
// SETTING UP A RUNE FOLDER TO WORK WITH THE HEADERS
//--------------------------------------------------------------------------------

Install A 'Fresh' copy of Rune1.00 --- on your (C --- EX: C:\Rune


//--------------------------------------------------------------------------------
// INSTALLING THE HEADERS
//--------------------------------------------------------------------------------

UNZIP THE RunePubSrc100.zip

Extract all of the files and folders into the new 'Rune' directory

NOTE: place all files & folders from the headers into 'Rune' the main directory!

A couple folders in the Rune directory will promt as a duplicate
Help = Say "No" when promtped to replace folder
System = Say "No" when promtped to replace folder


//--------------------------------------------------------------------------------
// Create a Workspace and Package in VC++
//--------------------------------------------------------------------------------

Open Visual C++

Go to:
File\New
Click on the WorkSpaces(tab)

Workspace name: What ever you want your workspace to be ('Rune105' is my patch in progress)
set the Location to the new C:\Rune folder
EX:
Workspace name: Rune105
Location: C:\Rune\Rune105

Click OK

You will now see the Workspace created in the left column of VC

Right click on the Workspace name and choose 'Add New Project To Workspace'

The type of project depends on what you are actually doing here, though we will use Win32Application

Project name: matched mine to the workspace (EX: Rune105 )

Click OK

Set to: An Empty Project

Click Finish
Click OK

Set the Workspace to 'File View'

Right click on the Project name and choose 'New Folder'
<--- name folder 'Classes'
<--- file extensions 'uc'
Click OK

Right click on the 'Classes folder' and choose 'Add Files To Folder'

NOTE: In this window set the Files of Type: All Files(*.*)

Locate the classes.U files that were created in the other Rune folder earlier...
load each/all class using the same method.

After all of your classes are set up and everything is ready...

Set Build\Active Configuration to 'Release' <-- ( NOT debug )

click on the Project name to highlight it...

Go to: Build \ Rebuild All



go to the 'Classes' folder (.uc files) for the package in VC. in the previous Rune directory(where you created your mods in the beginning)

Copy the Classes folder(take the whole 'Classes' folder)
& Paste it into your new folder that VC created in your C:\Rune directory (mine is called Rune105)

//--------------------------------------------------------------------------------
// SETTING UP THE Rune.ini FILE TO COMPILE WITH THE HEADERS
//--------------------------------------------------------------------------------

OPEN THE Rune.ini file (located in the C:\Rune\System directory)

1) locate the [Editor.EditorEngine] section and place this line with others similar:

EditPackages=NameOfYourPackage (foldername created by VC - name of workspace)

EX: EditPackages=Rune105

After you add the editor package line, save and close the Rune.ini file.

Why do you do this you might ask? Well in order to have all the classes able to be
located in compile through VB6, you have to add the package for the RuneEditorEngine
to comprehend the package.

//--------------------------------------------------------------------------------
// YOUR RUNE DIRECTORY SHOULD NOW BE READY TO COMPILE THROUGH DOS
//(command prompt)
//--------------------------------------------------------------------------------

go to:

Start\Run... click on 'Run'
type: cmd ( hit 'OK or enter' )

type: cd\ ( hit 'enter' )

type: Rune\System\ucc make -nobind command ( hit 'enter' )

this will compile the Rune105 into the engine...
If you see:


C:\Documents and Settings\Slothious>cd\

C:\>RuneT\system\ucc make -nobind
--------------------Core--------------------
--------------------Engine--------------------
--------------------Editor--------------------
--------------------UWindow--------------------
--------------------Fire--------------------
--------------------IpDrv--------------------
--------------------UWeb--------------------
--------------------IpServer--------------------
--------------------Imports--------------------
--------------------UBrowser--------------------
--------------------RBrowser--------------------
--------------------RuneI--------------------
--------------------RMenu--------------------
--------------------RuneServerAdmin--------------------
--------------------Rune105--------------------
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
if ur package does not show here u forgot the EditPackages= line^

Analyzing...
Parsing CustomTeamColors
Parsing EntranceMOTD
Parsing ServerAddsBroadcaster
Parsing ServerSettings
Parsing SuiSpamSecurity
Parsing FullMapList
Parsing SSRuneScoreboard
Parsing CustomTeamColorInfo
Parsing FontInfo
Parsing MOTDconfig
Parsing PingCheck
Parsing PingSettings
Parsing ScoreboardSettings
Parsing TauntFix
Compiling CustomTeamColors
Compiling EntranceMOTD
Compiling ServerAddsBroadcaster
Compiling ServerSettings
Compiling SuiSpamSecurity
Compiling FullMapList
Compiling SSRuneScoreboard
Compiling CustomTeamColorInfo
Compiling FontInfo
Compiling MOTDconfig
Compiling PingCheck
Compiling PingSettings
Compiling ScoreboardSettings
Compiling TauntFix
Success - 0 error(s), 0 warnings

C:\>//////////////////////////////////////////////////////////////////////////


If you see this,

Success - 0 error(s), 0 warnings

This is a successful compile...

Close everything and go to your NEW Rune directory (C:\Rune)

You should now see a NEW (.U file) in your system folder!
It should be named as your workspace you created.

EX: mine is Rune105.u (located inside C:\Rune\System)


//--------------------------------------------------------------------------------
// Your package is now ready to be organized and zipped up to be destributed...
// I RECOMMEND TESTING IT WELL BEFORE DISTRIBUTING THOUGH!
// In this package I made '1' main directory/folder with '4 subfolders/directories within:

FOLDERS I CREATED TO ORGANIZE MY Rune105 package:
0) Rune105 - MAIN FOLDER (PACKAGE NAME - EX: Rune105)
1) Rune105 - same as package name (inside main directory)
2) Classes
3) Inc
4) Src

//--------------------------------------------------------------------------------
// WHAT GOES IN EACH FOLDER:
//--------------------------------------------------------------------------------
0) Rune105 - MAIN FOLDER (other sub folders below)
Rune105
Classes
Inc
Src

1) Rune105
NBC file
OPT file
HTML document
Project File(.dsp)
Project Workspace(.dsw)

2) Classes
ANY CLASS FILES USED IN MODS PACKAGE (.UC)

3) Inc
ANY HEADER FILES USED IN PACKAGE - C Header files (.h)

4) Src
ANY C++ Source files (.cpp)


After you have all this completed... to run a test of your package and install...


//--------------------------------------------------------------------------------
// TESTING YOUR PACKAGE AFTER FULLY COMPILED (UCC MAKE & VC++)
//--------------------------------------------------------------------------------

NOTE: rename all other Rune folders (EX: Rune1/Rune2/Rune3/etc...)
this way you can keep it simple, and name the new test folder Rune.


1) Install A 'Fresh' copy of Rune1.00 --- on your (C --- EX: C:\Rune


//--------------------------------------------------------------------------------
// INSTALLING YOUR PACKAGE (SOURCE FILES)
//--------------------------------------------------------------------------------

Place your Main directory inside the New Rune folder.

EX: My main directory was called Rune105(with '4' folders inside)

Place it inside your 'Rune' folder


//--------------------------------------------------------------------------------
// YOUR RUNE DIRECTORY SHOULD NOW BE READY TO COMPILE THROUGH DOS
//(command prompt)
//--------------------------------------------------------------------------------

go to:

Start\Run... click on 'Run'
type: cmd ( hit 'OK or enter' )

type: cd\ ( hit 'enter' )

type: Rune\System\ucc make -nobind command ( hit 'enter' )

this will compile the Rune105 into the engine...
If you see:


C:\Documents and Settings\Slothious>cd\

C:\>RuneT\system\ucc make -nobind
--------------------Core--------------------
--------------------Engine--------------------
--------------------Editor--------------------
--------------------UWindow--------------------
--------------------Fire--------------------
--------------------IpDrv--------------------
--------------------UWeb--------------------
--------------------IpServer--------------------
--------------------Imports--------------------
--------------------UBrowser--------------------
--------------------RBrowser--------------------
--------------------RuneI--------------------
--------------------RMenu--------------------
--------------------RuneServerAdmin--------------------
--------------------Rune105--------------------
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
if ur package does not show here u forgot the EditPackages= line

Analyzing...
Parsing CustomTeamColors
Parsing EntranceMOTD
Parsing ServerAddsBroadcaster
Parsing ServerSettings
Parsing SuiSpamSecurity
Parsing FullMapList
Parsing SSRuneScoreboard
Parsing CustomTeamColorInfo
Parsing FontInfo
Parsing MOTDconfig
Parsing PingCheck
Parsing PingSettings
Parsing ScoreboardSettings
Parsing TauntFix
Compiling CustomTeamColors
Compiling EntranceMOTD
Compiling ServerAddsBroadcaster
Compiling ServerSettings
Compiling SuiSpamSecurity
Compiling FullMapList
Compiling SSRuneScoreboard
Compiling CustomTeamColorInfo
Compiling FontInfo
Compiling MOTDconfig
Compiling PingCheck
Compiling PingSettings
Compiling ScoreboardSettings
Compiling TauntFix
Success - 0 error(s), 0 warnings

C:\>////////////////////////////////////////////////////////////////


If you see this,

Success - 0 error(s), 0 warnings

This is a successful compile...

Close everything and go to your NEW Rune directory (C:\Rune)

You should now see a NEW (.U file) in your system folder!
It should be named as your workspace you created.

EX: mine is Rune105.u (located inside C:\Rune\System)


***********************************************************
***********************************************************
***********************************************************


THAT IS ALL,
YOU SHOULD BE ABLE TO HAND OUT YOUR NEW PACKAGE FOR OTHERS TO INSTAL!


***********************************************************
***********************************************************

WHAT DO OTHERS NEED,
TO DO TO INSTALL THIS TYPE OF PACKAGE IN THEIR RUNE FOLDER?



Place your Main directory inside their Rune folder.


OPEN THE Rune.ini file (located in the C:\Rune\System directory)

locate the [Editor.EditorEngine] section and place this line with others similar:

EditPackages=NameOfYourPackage

EX: EditPackages=Rune105

save and close the Rune.ini file.


//--------------------------------------------------------------------------------
// UCC MAKE COMMAND
//--------------------------------------------------------------------------------

go to:

Start\Run... click on 'Run'
type: cmd ( hit 'OK or enter' )

type: cd\ ( hit 'enter' )

type: Rune\System\ucc make -nobind command ( hit 'enter' )


THAT IS IT

Hope this helps at least one person better understand how to work with the Rune Headers!

feel free to email me at:
ini_deliverance@hotmail.com
This site is powered by e107, which is released under the terms of the GNU GPL License.