Announcement

Collapse
No announcement yet.

Engine Compiler problem...

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

    Engine Compiler problem...

    My compiler simply does not compile the 'UDKBase' package, so I can't extend from any of the udk classes like UDKPawn...

    UDKBase package should normally be compiled before your custom packages, but for some reasons that I can't understand it simply isn't compiled!!


    #2
    its a mistake in the latest build, hopefully they will fix it next time
    for now, open DefaultEngine.ini and swap round the order in this bit

    Code:
    [UnrealEd.EditorEngine]
    +EditPackages=YourGame
    +EditPackages=UDKBase
    change to
    Code:
    [UnrealEd.EditorEngine]
    +EditPackages=UDKBase
    +EditPackages=YourGame

    Comment


      #3
      already tried, not working for me... UDKBase still isn't compiled... I don't understand why, it should work this way...

      Comment


        #4
        just looked at mine

        in DefaultEngine.ini
        i also have

        [Engine.ScriptPackages]
        +EditPackages=UDKBase
        +NonNativePackages=YourGame

        in DefaultEngineUDK.ini

        [Engine.ScriptPackages]
        +NativePackages=UDKBase
        +NonNativePackages=YourGame

        Comment


          #5
          I hate to sound obvious, but did you check to make sure you have an actual UDKPawn.uc file? And just a reminder you will get build errors 99% of the time if the UDK editor is running at compile time.

          Comment


            #6
            sneppy has you installed the udk using the option "empty game"? if you did that, i think you can only extend from GameInfo base classes

            Comment


              #7
              ^ That. If you installed an empty project (it looks like you have), then UDKGame is not installed with it.

              Comment


                #8
                UDKGame is installed with the blank install, you just need to sort out the ini's
                im using that version myself right now

                Comment


                  #9
                  Move your project below UDKBase in the [Engine.ScriptPackages] section of DefaultEngineUDK.ini

                  Comment


                    #10
                    Originally posted by Resiak0100 View Post
                    Move your project below UDKBase in the [Engine.ScriptPackages] section of DefaultEngineUDK.ini
                    ^ Yeah this, I don't know why the installer put our custom project in first.

                    Comment


                      #11
                      I looked into this with a fresh install of Empty Feb-2013. With only changing the MyPawn to Extend from Simple pawn I did recieve the compile error. The only change that was required for me was to make the above mentioned change however in the DefaultEngineUDK.ini and not in the DefaultEngine.ini

                      Was
                      Code:
                      [UnrealEd.EditorEngine]
                      +EditPackages=Custom2Game
                      EditPackagesOutPath=..\..\UDKGame\Script
                      FRScriptOutputPath=..\..\UDKGame\ScriptFinalRelease
                      +EditPackages=UDKBase
                      ;ModEditPackages=MyMod
                      AutoSaveDir=..\..\UDKGame\Autosaves
                      InEditorGameURLOptions=?quickstart=1?numplay=1
                      Changed to

                      Code:
                      [UnrealEd.EditorEngine]
                      +EditPackages=UDKBase
                      +EditPackages=Custom2Game
                      EditPackagesOutPath=..\..\UDKGame\Script
                      FRScriptOutputPath=..\..\UDKGame\ScriptFinalRelease
                      ;ModEditPackages=MyMod
                      AutoSaveDir=..\..\UDKGame\Autosaves
                      InEditorGameURLOptions=?quickstart=1?numplay=1

                      Comment

                      Working...
                      X