Can't load Colltarget=false to memory

Discussion in 'Car Modding' started by jtbo, Aug 5, 2012.

  1. jtbo

    jtbo Registered

    Joined:
    Jan 12, 2012
    Messages:
    1,668
    Likes Received:
    48
    This is bit silly, couldn't even make up better title.

    Anyway I have this line in Cockpit instance at .gen file:
    Meshfile=<HOODEXISTS> CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(25.0) ShadowReceiver=True

    In gen file there is also this:
    <HOODEXISTS> Instance=DEBRIS2<UPNUMBER>
    <HOODEXISTS> {
    <HOODEXISTS> Moveable=True
    <HOODEXISTS> MeshFile=<DEBRIS2> CollTarget=False HATTarget=False ShadowCaster=(True, Solid, 64, 64) LODIn=(0.0) LODOut=(200.0) ShadowReceiver=True

    Now I get this error in trace.txt:
    rf2data\ModDev\UserData\Log\VehGen3401523765.scn: Error loading mesh file COLLTARGET=FALSE to memory

    Which goes away when I comment out that hoodexists meshfile from cockpit instance.

    However if I put this instead into cockpit file it works:
    Meshfile=<DEBRIS2> CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(25.0) ShadowReceiver=True

    Idea is to allow user to choose if there is hood or if there is no hood, also hood is detachable part so I need it to detach also from cockpit view, so I can't use Debris2 as then I would always have hood, which I can see to detach but still it would stay on when looked from cockpit view and still be missing when looking outside view.

    Also I need it to be deformable so that same exact object is one that gets deformed from cockpit view too so that there are no difference in deformation, when it is enabled.

    Is this error because rf fails to go from hoodexists to debris2 to myhoodmodel.gmt? Or have I (again) hole in my logic?

    It might be that I don't go with detachable hood, but would be nice to have it working for other, yet unknown, purposes.
     

Share This Page