Jump to content

How to do your own mutators


RypeL

Recommended Posts

Renegade X is currently using the February 2014 release of the UDK.

So the first thing you need to do is to get it from here: Feb 2014 UDK

When you install the UDK make sure that you install the UT sample game with the UDK!

Now download the Renegade X source code from here Jun 2015 RenX Source and extract it into the UDK-2014-02/Development/Src/ folder. After that, still in the UDK-2014-02/Development/Src/ folder, make a new folder with the name of your mutator. Inside the folder make another folder and name it Classes.

So you should have something like UDK-2014-02/Development/Src/YourModPackageName/Classes

The Classes folder is where your put your code files.

Next open the UDK-2014-02\UDKGame\Config\DefaultEngineUDK.ini and find the section UnrealEd.EditorEngine.

At the end of this section, add the following three lines in this order:

+EditPackages=RenX_RCam

+EditPackages=RenX_Game

+ModEditPackages=YourModPackageName

This completes the setup process.

You can now create your mutator source files in UDK-2014-02/Development/Src/YourModPackageName/Classes.

To compile your mutator start UDK-2014-02/Binaries/UnrealFrontend.exe and click on Script->Compile Scripts.

After compiling you should see a YourModPackageName.u file in the UDK-2014-02/UDKGame/Script folder.

To test your mutator copy this file into the Renegade X/UDKGame/CookedPC folder and add a ?mutator=YourModPackageName.YourMutatorsMainClassExtendingUTMutator parameter to the Renegade X starting parameters or you could start it from the command line from inside UDK-2014-02/Binaries/Win32 folder like: udk CNC-Walls_Flying?game=RenX_Game.Rx_Game?mutator=YourModPackageName.YourMutatorsMainClassExtendingUTMutator -nomovie -windowed -log -forcelogflush

To start the game with multiple mutators you can concat the mutators with a "," like ?mutator=Mutator1,Mutator2, ...

Additional Ressources/Examples:

http://udn.epicgames.com/Three/UT3Mods.html#Mutators

http://udn.epicgames.com/Three/Gameplay ... gHome.html

viewtopic.php?f=137&p=141877#p141593

viewtopic.php?f=119&t=72926

EDIT: Updated to B5 source classes

Link to comment
Share on other sites

  • 3 weeks later...

Next open the UDK-2014-02\UDKGame\Config\DefaultEngineUDK.ini and find the section UnrealEd.EditorEngine.

At the end of this section, add the following three lines in this order:

+ModEditPackages=RenX_RCam

+ModEditPackages=RenX_Game

+ModEditPackages=YourModPackageName

Link to comment
Share on other sites

  • 8 months later...
  • 7 months later...
  • Totem Arts Staff

I think it's bugged in this version (january 4)

I Always got this error

E:\Renegade X\Renegade X - SDK\Development\Src\RenX_Game\Classes\Rx_PlayAreaVolume.uc(24) : Error, Unrecognized member 'InPlayAreaVolumes' in class 'Rx_Pawn'

I never had that in the previous versions

Link to comment
Share on other sites

  • Agent unpinned this topic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...