Announcement

Collapse

The Infinity Blade Forums Have Moved

We've launched brand new Infinity Blade forums with improved features and revamped layout. We've also included a complete archive of the previous posts. Come check out the new Infinity Blade forums.
See more
See less

Configurable mutator not working

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Configurable mutator not working

    I tried code:

    class UTUIFrontEnd_ColorMixer extends UTUIFrontEnd
    config(Game);

    var transient UTUISlider sliBloomScale;
    var transient UTUISlider sliBlurKernelSize;
    var transient UTUISlider sliMaxFarColorAmount;
    var transient UICheckbox chbxEnableBloom;
    var transient UICheckbox chbxEnableDOF;
    var transient UICheckbox chbxDisableDesaturation;
    var const config localized string Title;

    event SceneActivated(bool bInitialActivation)
    {
    local UILabel TitleLabel;
    ect.

    Something is wrong and not working Always come back with errors after compiling the code. What this mutator is, is a hybrid between the Blossom and Color Control mutator by Xyx

    #2
    So what is not working exactly?

    Comment


      #3
      I figured the first one out its this one I cant figure out:

      Init: Version: 3809
      Init: Epic Internal: 0
      Init: Compiled: Dec 5 2014 07:25:17
      Init: Command line:
      Init: Base directory: C:\Program Files\Unreal Tournament 3\Binaries\
      Init: Character set: Unicode
      Log: Executing Class Editor.MakeCommandlet
      --------------------Core - Release--------------------
      --------------------Engine - Release--------------------
      --------------------GameFramework - Release--------------------
      --------------------Editor - Release--------------------
      --------------------UnrealEd - Release--------------------
      --------------------UnrealScriptTest - Release--------------------
      --------------------IpDrv - Release--------------------
      --------------------OnlineSubsystemGameSpy - Release--------------------
      --------------------UTGame - Release--------------------
      --------------------UTEditor - Release--------------------
      --------------------UTGameContent - Release--------------------
      --------------------UT3Gold - Release--------------------
      --------------------UWeb - Release--------------------
      --------------------UT3GoldGame - Release--------------------
      --------------------Blossom - Release--------------------
      Analyzing...
      C:\Program Files\Unreal Tournament 3\Development\Src\ColorMixer\Classes\UTMutator_Col orMixer.uc(1) : Error, Bad class definition ''/''/1435/1435
      Compile aborted due to errors.

      Warning/Error Summary
      ---------------------
      C:\Program Files\Unreal Tournament 3\Development\Src\ColorMixer\Classes\UTMutator_Col orMixer.uc(1) : Error, Bad class definition ''/''/1435/1435

      Failure - 1 error(s), 0 warning(s)

      Execution of commandlet took: 4.76 seconds

      Comment


        #4
        The problem is related to the file named "UTMutator_ColorMixer.uc". The class name also needs the same name as the file name (without the extension). The first line of that file has problems. Probably missing argument (class/interface NAME [extends CLASSNAME];) or bad syntax. It is not related to that scene class you posted.

        Comment

        Working...
        X