using this
Unreal Tournament 3 Game Unreal Learning #1: My First Unreal Tournament 3 Mutator tutorial - Mod DB
I have made
FirstMutator.uc
UTWeap_EnforcerPlusOne.uc
ini in
My Documents\My Games\Unreal Tournament 3\UTGame\Config
INT in
My Documents\My Games\Unreal Tournament 3\UTGame\Unpublished\CookedPC\Localization
it complies but is not working,I load the mut up in instant action run it no go. ( running in offline mode BTW.)
Unreal Tournament 3 Game Unreal Learning #1: My First Unreal Tournament 3 Mutator tutorial - Mod DB
I have made
FirstMutator.uc
Code:
class FirstMutator extends UTMutator;
function InitMutator(string Options, out string ErrorMessage)
{
if (UTGame(WorldInfo.Game) != None)
{
UTGame(WorldInfo.Game).DefaultInventory[0] = class'FirstMutator.UTWeap_EnforcerPlusOne';
}
Super.InitMutator(Options, ErrorMessage);
}
function bool CheckReplacement(Actor Other)
{
if (Other.IsA('UTWeap_Enforcer') && !Other.IsA('UTWeap_EnforcerPlusOne'))
{
ReplaceWith(Other, "UTWeap_EnforcerPlusOne");
}
return true;
}
DefaultProperties
{
}
Code:
class UTWeap_EnforcerPlusOne extends UTWeap_Enforcer;
DefaultProperties
{
InstantHitDamage(0) = 50
InstantHitDamage(1) = 50
}
My Documents\My Games\Unreal Tournament 3\UTGame\Config
Code:
[FirstMutator UTUIDataProvider_Mutator]
ClassName=FirstMutator.FirstMutator
FriendlyName=FirstMutator
Description=
GroupNames=
UIConfigScene=
bStandaloneOnly=False
bRemoveOn360=False
bRemoveOnPC=False
bRemoveOnPS3=False
[UTWeap_EnforcerPlusOne UTUIDataProvider_Weapon]
ClassName=FirstMutator.UTWeap_EnforcerPlusOne
AmmoClassPath=
Flags=
FriendlyName=UTWeap_EnforcerPlusOne
Description=
MeshReference=
bRemoveOn360=False
bRemoveOnPC=False
bRemoveOnPS3=False
My Documents\My Games\Unreal Tournament 3\UTGame\Unpublished\CookedPC\Localization
Code:
[UTWeap_EnforcerPlusOne]
ItemName="Enforcer+1"
PickupMessage="Enforcer+1"