I have problem to understanding how to create and deploy mutator (plugin) to my own.
Current i have pace of code:
//=============================================================================
// KFMutator
//=============================================================================
// Example mutator class for KF2
//=============================================================================
class Test extends KFMutator;
/**
* This function can be used to parse the command line parameters when a server
* starts up
*/
function InitMutator(string Options, out string ErrorMessage)
{
super.InitMutator( Options, ErrorMessage );
`log("This is my Example Mutator");
}
And I have questions about it:
1) What is the difference between KFMutator and Mutator (I saw in some other tutorials), guess KFMutator extends Mutator?
2) Where I can find API documentation?
3) What means '`' apostrophe?
4) I need add some information's about mutator to some config file?
I've put Test mutator to "KFGame/BrewedPC" but it didn't load by server, even on web admin remote management: "There are no mutators available for this gametype." in "Change Map" section.
start params: "./kf2_coop/Binaries/Win64/KFGameSteamServer.bin.x86_64 kf-bioticslab?QueryPort=27715?Private=0?Mutator=Test.Test"
Regards,
Nerus.
Current i have pace of code:
//=============================================================================
// KFMutator
//=============================================================================
// Example mutator class for KF2
//=============================================================================
class Test extends KFMutator;
/**
* This function can be used to parse the command line parameters when a server
* starts up
*/
function InitMutator(string Options, out string ErrorMessage)
{
super.InitMutator( Options, ErrorMessage );
`log("This is my Example Mutator");
}
And I have questions about it:
1) What is the difference between KFMutator and Mutator (I saw in some other tutorials), guess KFMutator extends Mutator?
2) Where I can find API documentation?
3) What means '`' apostrophe?
4) I need add some information's about mutator to some config file?
I've put Test mutator to "KFGame/BrewedPC" but it didn't load by server, even on web admin remote management: "There are no mutators available for this gametype." in "Change Map" section.
start params: "./kf2_coop/Binaries/Win64/KFGameSteamServer.bin.x86_64 kf-bioticslab?QueryPort=27715?Private=0?Mutator=Test.Test"
Regards,
Nerus.