PDA

View Full Version : UCC can't find packages


SoSilencer
13th Nov 2001, 06:47 PM
This is a really dumb question but how do I inform UCC that certain packages exist. For example my rockets play a certain sound file which resides in a soundpackage.uax in the sounds directory. UCC doesn't realise this though so it gives me errors and I have to comment out the code then go back in ued after it compiles and change it back and recompile it.

It's annoying and I'm sick of having to comment this stuff out. Can I tell ucc where this stuff is or even just tell ucc to ignore errors like this?

Raeled
13th Nov 2001, 07:00 PM
#exec OBJ LOAD FILE=..\Sounds\Announcer.uax

Hugh Macdonald
14th Nov 2001, 07:18 AM
That won't just import the sound file into the .u file, will it?

Raeled
14th Nov 2001, 01:05 PM
it does nothing to the u file

it just tells ucc to load that package before making the u file

simianangel
15th Nov 2001, 05:09 AM
works for textures too

#exec OBJ LOAD FILE=..\Textures\SoldierSkins.utx

just make sure the .uax file (or .utx) file is in your packages sounds (or textures folder respectively)

// i learned this when changing the sniper rifle's zoom crosshair