View Full Version : Unreal Wiki's HelloWorld Tutorial
legacy-rickwi22
05-31-2003, 11:13 AM
I decided to try the tutorials, so I set up everything right, I made the directory called "MutHelloWorld/Classes". Then I made HelloWorld.uc, and then I made the MutHelloWorld.int in the /System directory, Ive done everything down to the letter, but when I try to compile using ucc make I get this error
"Analyzing...
Cant find files matching ..\MutHelloWorld\*.uc
History: UMakeCommandlet::Main
Exiting due to error"
Then my MutHelloWorld.u is not created, but I thought it was supposed to be if I compiled, that bit int he error about UMake, I dont think Ive ever downloaded that program,
Does anyone have help or suggestions to get it to make a MutHelloWorld.u????
legacy-Mychaeel
05-31-2003, 11:21 AM
For other readers' reference, he's talking about Unreal Wiki: UnrealScript Hello World (http://wiki.beyondunreal.com/wiki/UnrealScript_Hello_World). ---
I doubt you put the .uc file in the right directory (or the compiler would not complain about not finding it). Just to be sure, what is the exact and full path name of the directory you placed your .uc file in?
that bit int he error about UMakeThat error message has nothing to do with UMake (http://wiki.beyondunreal.com/wiki/UMake). The similarity is a mere (though not very surprising) coincidence.
legacy-rickwi22
05-31-2003, 11:27 AM
I put it in UT2003/MutHelloWorld/Classes/HelloWorld.uc
and my .int is in UT2003/System/MutHelloWorld.int
Mysterial
05-31-2003, 11:58 AM
Did you put EditPackages=MutHelloWorld in the appropriate section in UT2003.ini?
legacy-Mr Evil
05-31-2003, 11:59 AM
I assume you added MutHelloWorld to the EditPackages list in UT2003.ini. Make sure there are no spaces at the end of the line.
legacy-rickwi22
05-31-2003, 12:07 PM
Yes I put it in both sections in fact, but Im not sure if there were no spaces at the end, Ill check that.
legacy-rickwi22
05-31-2003, 12:08 PM
I checked and there are no spaces
legacy-rickwi22
05-31-2003, 10:22 PM
I figured it out, Notepad was saving it as a text file even though i typed in HelloWorld.uc, so the way I fixed it was to copy another .uc and then copy and paste my text into it, so I now had a file of type uc instead of text
legacy-rickwi22
06-01-2003, 12:19 AM
Now I have a new problem :(, I got everything to compile so I have a MutHelloWorld.u now also, and I entered it into the UT2003.ini, but when I start the game its not in the list of Mutators, what do I do now?
legacy-Mychaeel
06-01-2003, 04:27 AM
Maybe your .int file suffers the same file name extension problem as the .uc file.
legacy-rickwi22
06-01-2003, 09:17 AM
Unfortuantly I checked that, and even if it did, wouldnt that mess up the compiling
legacy-Mychaeel
06-01-2003, 09:25 AM
No. The .int file is completely irrelevant for compiling. Actually, it's also irrelevant for executing the mutator; it merely makes it show up in the mutator list.
Best you post the content of your .int file here so we can check it for mistakes.
legacy-rickwi22
06-01-2003, 09:45 AM
[Public]
Object=(Class=Class,MetaClass=Engine.Mutator,Name= MutHelloWorld.HelloWorld,Description="Hello World Example")
That is exactly what appears in my MutHelloWorld.int file in my System folder
legacy-gam3g33k
06-11-2003, 08:27 PM
I had the exact same problem and your really going to kick yourself for this one. Go into your .int file and delete the spaces that exist between [Public] and Object and it should work. I fixed the sample code on the Unreal Wiki site to fix this problem as well. Guess that will teach me to copy and paste code!
legacy-rickwi22
06-13-2003, 05:00 PM
Thanks Alot Ill go try that out right now, Im glad you replied because its irritating when you follow directions to the letter and it wont work at all.
legacy-Geminosity
07-09-2003, 06:30 PM
...
I haven't really posted here before or anything (lurk o.O ) but I just spent the whole day trying to work out why my mutator wasn't showing up and it was the space thingy you mentioned causing it ><
thankies g33k :D
legacy-gam3g33k
07-09-2003, 09:37 PM
Any time. I spent quite a few hours when I first did that tutorial trying to figure out why the hell it wouldn't work and I finally just tried deleting whitespace not because I thought that was the problem but because I had run out of things to try. Before I ran into this problem I had no idea that there were programming languages that didn't disregard whitespace. Call me a n00b I guess.
Powered by vBulletin® Version 4.1.6 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.