Jump to content
Sign in to follow this  
cassandra

Proxy paths and data3d

Recommended Posts

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

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 rock.gif

from there rock.gif your guesse is as good a mine??

sorry Im not more of a help

Share this post


Link to post
Share on other sites

thanks for trying akk smile_o.gif 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 wink_o.gif

Share this post


Link to post
Share on other sites

You bet :P Glad you got it figured out wink_o.gif

I sorta figured out a little while ago that it was prob in your cpp some where. But he tounge_o.gif 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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×