PDA

View Full Version : Error renaming package



legacy-Komrod
06-22-2004, 01:12 PM
Hi,

I renamed a package (weapontexture.utx to zh_weapon_skin.utx) and removed all references from my code. I also removed all the references from the ukx files.
But when i launch my mod, an error occurs and i cant see the main menu. It seems that some references to my old package still exists but i cant find it anywhere.

here is the error from the log :



Warning: Failed to load 'Weapontexture': Can't find file for package 'Weapontexture'
Warning: Failed to load 'zh_weapon_models': Can't find file for package 'Weapontexture'
Warning: Failed to load 'zh_game_misc': Can't find file for package 'Weapontexture'
Warning: Failed to load 'zh_game': Can't find file for package 'Weapontexture'
Warning: Failed to load 'Class zh_game.zh_MainMenu': Can't find file for package 'Weapontexture'



there is no reference to weapontexture.utx in the code (compiled to zh_game.u).

In zh_weapon_models.ukx, there is no weapontexture in the skin propertie.

in zh_game_misc.utx, there is no shader (only texture) so no reference to weapontexture also.

I dont know why i have this error. May be someone that had this error could help me. Where can i have a reference in zh_game_misc.utx and zh_weapon_models.ukx ?

please ^_^

Thanks

legacy--GSF-JohnDoe
06-22-2004, 04:15 PM
did you recompile the code after you made all the changes (and not just to the code)?

legacy-Komrod
06-22-2004, 05:45 PM
Yes of course i did compile my code
I also tried to search the string in the utx and ukx files but with no success. Would be simplier to have a search engine in ued for this kind of thing