PDA

View Full Version : grrrr wtf! i can't compile ><



legacy-oldmanwinter
05-04-2004, 12:54 AM
i'm a complete newb to coding(except for a little C++ experience and messing around with the .ini files on some C&C games, if that counts), and today when i tried to start messing around with the weapons i kept having this problem(and i tried doing a search on it but nothing came up talking about this)

i downloaded UDE, and tried changing the firepower of the assault rifle, and when i hit "quick compile" i get an error message, it keeps getting caught up on this line of code in the Flakshell file:

#exec TEXTURE IMPORT NAME=NewFlakSkin FILE=textures\jflakslugel1.bmp GROUP="Skins" DXT=5

can anyone tell me whats going on? i didn't even touch the stupid flakshell file! i even re-unzipped all the scripting files(i downloaded it from the link in that mod resources sticky thread) and i'm still getting this error message. do i have a serious problem, or am i just a stupid newb who's going about things all wrong :D ?

legacy-RC321
05-04-2004, 01:49 AM
Info about the flak and that file: http://www.ataricommunity.com/forums/showthread.php?s=&threadid=376436

I dont know what you did to the assault that would bring up the flak files....unless you did a full compile.

I dont use the UDE, tho. Do the compile again and watch if it trys to compile any other files successfully. If it does, then it's trying to compile everything.

legacy-Warbler
05-04-2004, 02:31 AM
Well, your problem is simple :
you have modified a base class of the game (the class of the assault rifle) and you are trying to compile it...

You are lucky because this class has a line :


#exec TEXTURE IMPORT NAME=NewFlakSkin FILE=textures\jflakslugel1.bmp GROUP="Skins" DXT=5


which prevent the editor to compile it (because it can't find the textures\jflakslugel1.bmp file)
If you manage to compile this file, your UT2004 version won't work anymore in network games, because you are trying to modify the default packages !
Instead, you should try to create a subclass extending the AssaultRifle class, and do your mods in this new class.
Then, compile the new class and enjoy (maybe you'll have to create a .int file to tell the game about your new weapon, or create a mutator replacing all weapons with your assasultrifle)

BTW, i suggest you to reinstall all the sources of UT2004 (only sources, not the game, don't worry), because you have modified a base class, and the UDE will now try to compile it every time, even if you restaure the file to it's original state !)

Hope this will help :)

legacy-RC321
05-04-2004, 11:42 AM
fyi, when i altered the flakcannon, i actually found and used that bmp (converted to a dds) to import. Pretty silly its not in a utx file =/

/random info

legacy-{DDG}Vaptor{S}
05-13-2004, 11:31 AM
remove the refrence and make a new one in a utx file
that should be easyer

legacy-Mr Evil
05-13-2004, 01:26 PM
Originally posted by RC321
fyi, when i altered the flakcannon, i actually found and used that bmp (converted to a dds) to import. Pretty silly its not in a utx file =/

/random info
Why not just use the one in the .u file? There is no need to import the same texture again if it already exists in one of the standard UT2004 packages. The engine treats all packages the same, no matter what the extension, so you can use a texture in a .u file just as easily as if it were in a .utx, or any other .u* file.

legacy-RC321
05-13-2004, 02:24 PM
Thanx for the advice, I'll give it a try. Didnt realize that till you said it.

legacy-Zidane77
05-13-2004, 06:32 PM
Heh whats UDE?

legacy-RC321
05-13-2004, 07:33 PM
http://www.ataricommunity.com/forums/showthread.php?s=&threadid=373927