cassandra 0 Posted May 1, 2004 I've placed quite a number of proxys for a rocket on a model intitially using the actual p3d model with path in the proxy selection to show in buldozer, all works ok.. I wasn't happy with the original model name so I changed it (proxy, p3d name and config references) to keep track and for other reasons and retested with buldozer to check they are there, they are - then I removed the paths and the .p3d extension and pbo the model, config, textures etc and drop it in addons the problem - I place the model into the editor and goto from the editor I goto preview, though for some reason the proxy model is trying to be sourced from /data3d/mymodel_proxy instead of from the pbo file itself.. resulting in an error stating the model cannot be found in data3d I've doubled triple quadruple etc checked the config file and I can't see any problem, names are all there and proper any ideas? does the model somehow retain the former proxy model path? I'm out of ideas Share this post Link to post Share on other sites
AKK 0 Posted May 1, 2004 Well I do not know if this will be a huge help. But I would open that p3d in a hex editor or note pad and search for that proxy name and see if some how its still hard coded on the moddel. or maybe you still have the old proxy name in a different lod from there your guesse is as good a mine?? sorry Im not more of a help Share this post Link to post Share on other sites
cassandra 0 Posted May 1, 2004 thanks for trying akk I did take a look and there is no reference to paths.. I'll answer my own question though which may help someone else in future; the problem was in the config where I had not properly defined the class "CfgNonAIVehicles" - there is no reference in the model to paths regarding proxy models.. I guess ofp will first look in the dir and if it cannot be found then it will head over to the data3d folder <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class ProxyCAS_mymodelname_proxy // this was my defined proxy in CfgNonAIVehicles // the model was called cas_mymodel_proxy.p3d and so ofp was looking for mymodelname.p3d instead of the one I wanted it to class ProxyCAS_mymodel_proxy // this is what I changed it to anyway, I hope that makes sense, I failed to notice the proxy model was not being issued with a path and "" as it is already defined under "CfgAmmo".. configs are weird is all I have to say thanks to kegetys for helping me sort that out Share this post Link to post Share on other sites
AKK 0 Posted May 2, 2004 You bet :P Glad you got it figured out I sorta figured out a little while ago that it was prob in your cpp some where. But he I wouldnt have been any help there either as I am still learnin those bad oscars. Share this post Link to post Share on other sites