If i want to make mutator that lets the japanese use C96 for example, how do i do? I have no experience whatsoever in this.
No experience at all...Easy peasy, just add it to all the corresponding RSRoleInfo classes.
But it all depends on where you're starting from.
Do you know how to create a mutator and have experience with UnrealScript, Java, C++ or other object-oriented languages?
IF YOU DO NOT HAVE A 64-BIT OPERATING SYSTEM YOU CANNOT COMPILE (You can still write code though, have someone else compile it for you )No experience at all...
Here's what you'll need:1. Finding the files
Find all the desired classes they'll be found in:RSRoleInfoAxisCommander.uc
Also grab RSRoleinfoAxisInfantry.uc...\Steam\SteamApps\common\Red Orchestra 2\Development\Src\RSGame\Classes
Give this folder a name, make sure use _'s instead of spaces (alternatively don't use them at all)...\Documents\My Games\RedOrchestra2\ROGame\Src
Rename all the files, as they are copies.2. Class Extension/Inheritance
Here's an Example:3. Modifying the Copied Files
This is an example from the RSRoleInfoAlliedFlamethrower// SECONDARY : DEFAULTS
SecondaryWeapons(0)=class'RSGame.RSWeap_M1911_Pistol'
// SECONDARY : FRONTLINE ENEMY
SecondaryWeapons(1)=class'RSGame.RSWeap_M1_Carbine'
NumSecondaryFrontlineEnemyWeapons=1
// SECONDARY : Veteran ENEMY
SecondaryWeapons(2)=class'RSGame.RSWeap_M12_Shotgun'
NumSecondaryVeteranEnemyWeapons=1
To:SecondaryWeapons(#)=class'RSGame.RSWeap_Random_Gun'
SecondaryWeapons(#)=class'ROGame.ROWeap_C96_pistol
What should i rename them to? And how do i "extend".Rename all the files, as they are copies.
Make sure all the Roleinfo classes extend to the AxisInfantry class
Here's an Example:
This is an example from the RSRoleInfoAlliedFlamethrower
You'll have to remove one of the weapons, as the game doesn't seem to like more than three.
Class RSRoleInfoAlliedRifleman extends AlliedInfantry;
I have renamed and added the code needed, how do i turn it to a mutator?
@echo off
D:
cd "D:\Steam\steamapps\common\Red Orchestra 2\Binaries\Win64"
rogame make
How should my mod be listed in ROEditor.ini?
ModPackages=MyCoolNewMutator
It says steam is required to run this game.You could also create a .bat file for convenience. Here's mine:
Change the drive letters and Steam path to match your own, and make sure you have your mod folder name listed under ModPackages in ROEditor.ini.Code:@echo off D: cd "D:\Steam\steamapps\common\Red Orchestra 2\Binaries\Win64" rogame make