Announcement

Collapse
No announcement yet.

Getting Started Compiling a Mod

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #76
    Originally posted by JaFO View Post
    Speaking of interesting options ...
    Anyone got a clue if these do what I think they do :
    Code:
    [ModPackages]
    ModPackagesInPath=..\UTGame\Src
    ModOutputDir=..\UTGame\Unpublished\CookedPC\Script
    I noticed them in UtEditor.ini after running "ut3 make".
    Yes they do do what you think they do. I have mine redirecting my output to my Server PC's published folder.

    Comment


      #77
      Has anyone noticed that the reported execution-time given by UT3 make is not even close to reality ?

      At least on my system the commandlet has the nerves to tell me it took 0.00 seconds to execute when it didn't have to compile anything.
      Yet the entire process requires +/- 20 seconds.
      I've also noticed that I need to start UT3.COM when starting it from another process.
      Is there any reason for this ? (except to confuse users ?).

      // -- edit --
      Just in case you think that messing with UnrealEditor.ini is too complicated you might want to take a look at a little helper-utility I wrote (it's the basis for a project of mine :
      UT3 Magick builder

      Comment


        #78
        Originally posted by SwaTz0rs View Post
        I added mypackage to the UTeditor.ini but all i get when i run 'ut3 make -full' is

        core - release
        engine - release
        gameframework - release
        ...
        ...
        ...
        UTGameContent - release

        //edit
        when i run 'ut make' i get this message

        I tried to compile my mutator and I'm seeing the same thing as what your screenshot shows. I plan on checking everything over again but what did you do to get past this?

        Comment


          #79
          You do have your sources in "mypackage\classes", do you ?
          And did you try my MagickBuilder-utility ? (or see Beta-secion of this forum)
          That should save you the trouble of trying to manually add those packages to UtEditor.ini ...

          Comment


            #80
            i have used unreal fronted to compile my basic mutator.... everything get far but i cannot find any configuration file in the Config directory

            Comment


              #81
              Okay, I'm following both the custom mid-game menu tutorial and this one, and when I tried to compile it, I got this:



              So... I'm at a loss here. As far as I can see my filenames are fine, if that's what it's screaming about, and I can't think what else it could be. I'm sure I followed this word-for-word...

              Comment


                #82
                Originally posted by Mr. Pointless View Post
                Okay, I'm following both the custom mid-game menu tutorial and this one, and when I tried to compile it, I got this:



                So... I'm at a loss here. As far as I can see my filenames are fine, if that's what it's screaming about, and I can't think what else it could be. I'm sure I followed this word-for-word...
                I don't think it has anything to do with the file name. It is a variable name found on the line represented in the ( ) after the filename.ext such as xTestMidGamePanel.uc(5) meaning the 5th line in that file has an invalid name for a variable.

                Comment


                  #83
                  mr pointless

                  open the file xCTFgame.uc
                  go the the line nº 6,

                  there is an error there, something has been bad written,

                  also open xTEstMidGamepanel.uc
                  go to the line nº5,

                  another error there, something bad written,

                  if you think you have followed word by word, copypaste the code, then look what happens

                  Comment


                    #84
                    Ah, I see, thanks.
                    Turned out I'd typed an apostrophe ( ' ) where it should have had this character ----> ( ` ). I need to remember that one. :\

                    Comment


                      #85
                      Edit: Nevermind >_<

                      Comment


                        #86
                        Originally posted by Geist View Post
                        Yep, I'm extending UTMutator... and nope, I don't have bExportMenuData=false. The strange thing is that after working on a few other mutators, I recompiled and it made 4 .ini files (for past mutators) in a row, as if it finally noticed the .ini files needed creating. *sigh*

                        So then, it eventually did create them, but I don't know why it's so inconsistent.
                        I'm having the same trouble... config(MyMut) in the class definition, yet no ini's. Has anyone else experienced / fixed this?

                        EDIT: For that matter, I don't see any .u files in the unpublished or the ..\script branches. I must be doing something wrong. I can see where it says Parsing UTMutator_MyMut on the commandline, but no .u nor .ini's?

                        Comment


                          #87
                          Nice info, thanks i'm gonna start tommorow directly

                          Comment


                            #88
                            hey guys i was just wondering if i needed to be able to run ut3 to make maps and mods for ps3 seeing as i have an 7 year old pc or will i need to buy a graphic card oand other stuff to upgrade my pc.

                            Comment


                              #89
                              You'll need a lot more power on the PC than you need to just run UT3 tolerably. I can run the game fantastically, but the editor is an altogether entirely different story.

                              Comment


                                #90
                                k, I am hesitant to post cause I know I should be able to figure this out, but it is driving me nuts. I've worked on it for 2 days now and I still get the same thing. Here is my error:
                                Code:
                                --------------------UTGame - Release--------------------
                                --------------------UTEditor - Release--------------------
                                --------------------UTGameContent - Release--------------------
                                --------------------HelloWorld - Release--------------------
                                Analyzing...
                                C:\Program Files\Unreal Tournament 3\Development\Src\HelloWorld\Classes\HW_Mutator.uc(1) : Error, Bad class definition ''/''/378/1
                                Compile aborted due to errors.
                                
                                Warning/Error Summary
                                ---------------------
                                C:\Program Files\Unreal Tournament 3\Development\Src\HelloWorld\Classes\HW_Mutator.uc(1) : Error, Bad class definition ''/''/378/1
                                
                                Failure - 1 error(s), 0 warning(s)
                                
                                Execution of commandlet took:  8.98 seconds
                                I've checked my file names (I've tried this on several cut and paste mutators) and it doesn't even work on a Weapon mod I copied from the source. Please help.
                                Here is my actual code:
                                Code:
                                class HW_Mutator extends UTMutator;
                                
                                function InitMutator(string Options, out string ErrorMessage)
                                {
                                     loginternal( "Hello World" );
                                
                                Super.InitMutator(Options, ErrorMessage);
                                }
                                I've saved the file in Unicode and i can't think of anything else.

                                Comment

                                Working...
                                X