Azzedinistan
11-11-2009, 05:38 AM
Hello everyone !
im trying to achieve the "My First Mutator" tutorial here:
http://www.moddb.com/engines/unreal-engine-3/tutorials/unreal-learning-1-my-first-unreal-tournament-3-mutator
But my mutator doesn't even appear in the game and i don't really understand this part of the tutorial :
This is where that configuration ini file comes in. Use windows search to find the configuration file (hint, look for FirstMutator). Open it, and find the section [FirstMutator UIDataProvider_Mutator] - under that you should add (or alter if it is already there);
In my Config file UTMFM (UT My First Mod) , i have added this :
[UTMutator_VeryLowGrav UIDataProvider_Mutator]
ClassName=UTGame.UTMutator_VeryLowGrav
GroupNames=JUMPING
bRemoveOn360=False
bRemoveOnPC=False
bRemoveOnPS3=False
and it's my UTMutator_VeryLowGrav.uc
// Copyright 1998-2009 Epic Games, Inc. All Rights Reserved.
class UTMutator_VeryLowGrav extends UTMutator;
/** Gravity along Z axis applied to objects in physics volumes which had default gravity. */
var() float GravityZVery;
function InitMutator(string Options, out string ErrorMessage)
{
WorldInfo.WorldGravityZ = GravityZVery;
Super.InitMutator(Options, ErrorMessage);
}
defaultproperties
{
GroupNames[0]="JUMPING"
GravityZVery=-50000.0
}
I really don't understand why it doesn't work , it looks to be an easy tutorial and i can't even achieve it :mad:
To make my Project Folder , i have followed this tutorial :
http://www.moddb.com/engines/unreal-engine-3/tutorials/first-mod-unreal-scipt-unreal-development-kit
im trying to achieve the "My First Mutator" tutorial here:
http://www.moddb.com/engines/unreal-engine-3/tutorials/unreal-learning-1-my-first-unreal-tournament-3-mutator
But my mutator doesn't even appear in the game and i don't really understand this part of the tutorial :
This is where that configuration ini file comes in. Use windows search to find the configuration file (hint, look for FirstMutator). Open it, and find the section [FirstMutator UIDataProvider_Mutator] - under that you should add (or alter if it is already there);
In my Config file UTMFM (UT My First Mod) , i have added this :
[UTMutator_VeryLowGrav UIDataProvider_Mutator]
ClassName=UTGame.UTMutator_VeryLowGrav
GroupNames=JUMPING
bRemoveOn360=False
bRemoveOnPC=False
bRemoveOnPS3=False
and it's my UTMutator_VeryLowGrav.uc
// Copyright 1998-2009 Epic Games, Inc. All Rights Reserved.
class UTMutator_VeryLowGrav extends UTMutator;
/** Gravity along Z axis applied to objects in physics volumes which had default gravity. */
var() float GravityZVery;
function InitMutator(string Options, out string ErrorMessage)
{
WorldInfo.WorldGravityZ = GravityZVery;
Super.InitMutator(Options, ErrorMessage);
}
defaultproperties
{
GroupNames[0]="JUMPING"
GravityZVery=-50000.0
}
I really don't understand why it doesn't work , it looks to be an easy tutorial and i can't even achieve it :mad:
To make my Project Folder , i have followed this tutorial :
http://www.moddb.com/engines/unreal-engine-3/tutorials/first-mod-unreal-scipt-unreal-development-kit