Jump to content
Fox Frenzy

Adding a Vehicle

Recommended Posts

Posted (edited)

@Giordano Resident expert.  I need your assistance.  I am trying to add a vehicle to the game - something I've done with success many times, but this one is giving me a hard time.  Once I removed the vehicle from VehMeta and CarVarMeta the game loads.  I'm doing something a little special with this one and that is, I'm giving it the Mobile Command trailer.

This is the vehicle I am attempting to add.

 

VehMeta Data:

Spoiler

	    <Item>
      <modelName>fireresc</modelName>
      <txdName>fireresc</txdName>
      <handlingId>BOBCATXL</handlingId>
      <gameName>FIRERESC</gameName>
      <expressionDictName>null</expressionDictName>
      <expressionName>null</expressionName>
      <animConvRoofDictName>null</animConvRoofDictName>
      <animConvRoofName>null</animConvRoofName>
      <animConvRoofWindowsAffected />
      <ptfxAssetName>null</ptfxAssetName>
      <audioNameHash />
      <layout>LAYOUT_STD_HIGHWINDOW</layout>
      <coverBoundOffsets>REBEL_COVER_OFFSET_INFO</coverBoundOffsets>
      <explosionInfo>EXPLOSION_INFO_DEFAULT</explosionInfo>
      <scenarioLayout />
      <cameraName>FOLLOW_JEEP_CAMERA</cameraName>
      <aimCameraName>JEEP_AIM_CAMERA</aimCameraName>
      <bonnetCameraName>VEHICLE_BONNET_CAMERA_NEAR_LOW</bonnetCameraName>
      <povCameraName>DEFAULT_POV_CAMERA</povCameraName>
      <FirstPersonDriveByIKOffset x="0.000000" y="-0.055000" z="-0.035000" />
      <FirstPersonDriveByUnarmedIKOffset x="0.000000" y="0.000000" z="-0.020000" />
	  <FirstPersonProjectileDriveByIKOffset x="0.000000" y="-0.080000" z="-0.020000" />
	  <FirstPersonProjectileDriveByPassengerIKOffset x="-0.100000" y="-0.120000" z="-0.060000" />
	  <FirstPersonProjectileDriveByRearLeftIKOffset x="0.000000" y="0.020000" z="-0.025000" />
	  <FirstPersonProjectileDriveByRearRightIKOffset x="0.000000" y="0.020000" z="-0.025000" />
	  <FirstPersonDriveByLeftPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" />
	  <FirstPersonDriveByRightPassengerIKOffset x="0.000000" y="-0.055000" z="-0.035000" />
	  <FirstPersonDriveByRightRearPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" />
	  <FirstPersonDriveByLeftPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
	  <FirstPersonDriveByRightPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
	  <FirstPersonMobilePhoneOffset x="0.146000" y="0.279000" z="0.539000" />
      <FirstPersonPassengerMobilePhoneOffset x="0.136000" y="0.233000" z="0.435000" />
      <PovCameraOffset x="0.000000" y="-0.125000" z="0.665000" />
      <PovCameraVerticalAdjustmentForRollCage value="0.000000" />
      <PovPassengerCameraOffset x="0.000000" y="0.000000" z="0.000000" />
      <PovRearPassengerCameraOffset x="0.000000" y="0.000000" z="0.000000" />
      <vfxInfoName>VFXVEHICLEINFO_CAR_OFFROAD</vfxInfoName>
      <shouldUseCinematicViewMode value="true" />
      <shouldCameraTransitionOnClimbUpDown value="false" />
      <shouldCameraIgnoreExiting value="false" />
      <AllowPretendOccupants value="true" />
      <AllowJoyriding value="true" />
      <AllowSundayDriving value="true" />
      <AllowBodyColorMapping value="true" />
      <wheelScale value="0.271500" />
      <wheelScaleRear value="0.271500" />
      <dirtLevelMin value="0.300000" />
      <dirtLevelMax value="0.850000" />
      <envEffScaleMin value="0.500000" />
      <envEffScaleMax value="1.000000" />
      <envEffScaleMin2 value="0.000000" />
      <envEffScaleMax2 value="1.000000" />
      <damageMapScale value="0.600000" />
      <damageOffsetScale value="1.000000" />
      <diffuseTint value="0x00FFFFFF" />
      <steerWheelMult value="0.700000" />
      <HDTextureDist value="5.000000" />
      <lodDistances content="float_array">
        15.000000
        35.000000
        90.000000
        180.000000
        500.000000
        500.000000
      </lodDistances>
      <minSeatHeight value="0.87" />
      <identicalModelSpawnDistance value="20" />
      <maxNumOfSameColor value="10" />
      <defaultBodyHealth value="1000.000000" />
      <pretendOccupantsScale value="1.000000" />
      <visibleSpawnDistScale value="1.000000" />
      <trackerPathWidth value="2.000000" />
      <weaponForceMult value="1.000000" />
      <frequency value="50" />
      <swankness>SWANKNESS_3</swankness>
      <maxNum value="10" />
      <flags>FLAG_NO_BOOT FLAG_AVOID_TURNS FLAG_EMERGENCY_SERVICE FLAG_IS_BULKY FLAG_ATTACH_TRAILER_ON_HIGHWAY FLAG_DRIVER_NO_DRIVE_BY FLAG_NO_RESPRAY FLAG_DONT_SPAWN_IN_CARGEN FLAG_BLOCK_FROM_ATTRACTOR_SCENARIO FLAG_USE_STRICTER_EXIT_COLLISION_TESTS FLAG_CREATE_WEAPON_MANAGER_ON_SPAWN</flags>
      <type>VEHICLE_TYPE_CAR</type>
      <plateType>VPT_FRONT_AND_BACK_PLATES</plateType>
      <dashboardType>VDT_TRUCK</dashboardType>
      <vehicleClass>VC_EMERGENCY</vehicleClass>
      <wheelType>VWT_OFFROAD</wheelType>
      <trailers>
        <Item>trailerfire</Item>
      </trailers>
      <additionalTrailers />
      <drivers>
        <Item>
          <driverName>S_M_Y_Fireman_01</driverName>
          <npcName />
        </Item>
      </drivers>
      <extraIncludes />
      <doorsWithCollisionWhenClosed />
      <driveableDoors />
      <bumpersNeedToCollideWithMap value="false" />
      <needsRopeTexture value="false" />
      <requiredExtras />
      <rewards>
		<Item>REWARD_WEAPON_FIREEXTINGUISHER</Item>
		<Item>REWARD_WEAPON_FLARE</Item>
      </rewards>
      <cinematicPartCamera>
        <Item>WHEEL_FRONT_RIGHT_CAMERA</Item>
        <Item>WHEEL_FRONT_LEFT_CAMERA</Item>
        <Item>WHEEL_REAR_RIGHT_CAMERA</Item>
        <Item>WHEEL_REAR_LEFT_CAMERA</Item>
      </cinematicPartCamera>
      <NmBraceOverrideSet>Truck</NmBraceOverrideSet>
      <buoyancySphereOffset x="0.000000" y="0.000000" z="0.000000" />
      <buoyancySphereSizeScale value="1.000000" />
      <pOverrideRagdollThreshold type="NULL" />
	  <firstPersonDrivebyData>
        <Item>STD_DILETTANTE_FRONT_LEFT</Item>
        <Item>STD_DILETTANTE_FRONT_RIGHT</Item>
      </firstPersonDrivebyData>
    </Item>

 

 

CarVar Data:

Spoiler

  <Item>
      <modelName>fireresc</modelName>
      <colors>
        <Item>
          <indices content="char_array">
            134
            134
            156  
            156
          </indices>
          <liveries>
            <Item value="true" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
        <Item>
          <indices content="char_array">
            134
            134
            156  
            156
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="true" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
        <Item>
          <indices content="char_array">
            134
            134
            156  
            156
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="true" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
        <Item>
          <indices content="char_array">
            134
            134
            156  
            156
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="true" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
        <Item>
          <indices content="char_array">
            134
            134
            156  
            156
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="true" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
      </colors>
      <kits />
        <Item>157_massacaro2_modkit</Item>
      </kits>
      <windowsWithExposedEdges />
      <plateProbabilities>
        <Probabilities />
      </plateProbabilities>
      <lightSettings value="1" />
      <sirenSettings value="1" />
    </Item>

 

 

It might be I'm overlooking a livery flag..

 

I have also changed my BetterEMS to dispatch this vehicle instead of the FBI2 vehicle.  Dollars-to-Donuts the mistake is in the CarVar file as I'm not very proficient with that file yet.

Edited by Fox Frenzy

Share this post


Link to post
Share on other sites
3 hours ago, Fox Frenzy said:

@Giordano Resident expert.  I need your assistance.  I am trying to add a vehicle to the game - something I've done with success many times, but this one is giving me a hard time.  Once I removed the vehicle from VehMeta and CarVarMeta the game loads.  I'm doing something a little special with this one and that is, I'm giving it the Mobile Command trailer.

This is the vehicle I am attempting to add.

 

VehMeta Data:

  Reveal hidden contents


	    <Item>
      <modelName>fireresc</modelName>
      <txdName>fireresc</txdName>
      <handlingId>BOBCATXL</handlingId>
      <gameName>FIRERESC</gameName>
      <expressionDictName>null</expressionDictName>
      <expressionName>null</expressionName>
      <animConvRoofDictName>null</animConvRoofDictName>
      <animConvRoofName>null</animConvRoofName>
      <animConvRoofWindowsAffected />
      <ptfxAssetName>null</ptfxAssetName>
      <audioNameHash />
      <layout>LAYOUT_STD_HIGHWINDOW</layout>
      <coverBoundOffsets>REBEL_COVER_OFFSET_INFO</coverBoundOffsets>
      <explosionInfo>EXPLOSION_INFO_DEFAULT</explosionInfo>
      <scenarioLayout />
      <cameraName>FOLLOW_JEEP_CAMERA</cameraName>
      <aimCameraName>JEEP_AIM_CAMERA</aimCameraName>
      <bonnetCameraName>VEHICLE_BONNET_CAMERA_NEAR_LOW</bonnetCameraName>
      <povCameraName>DEFAULT_POV_CAMERA</povCameraName>
      <FirstPersonDriveByIKOffset x="0.000000" y="-0.055000" z="-0.035000" />
      <FirstPersonDriveByUnarmedIKOffset x="0.000000" y="0.000000" z="-0.020000" />
	  <FirstPersonProjectileDriveByIKOffset x="0.000000" y="-0.080000" z="-0.020000" />
	  <FirstPersonProjectileDriveByPassengerIKOffset x="-0.100000" y="-0.120000" z="-0.060000" />
	  <FirstPersonProjectileDriveByRearLeftIKOffset x="0.000000" y="0.020000" z="-0.025000" />
	  <FirstPersonProjectileDriveByRearRightIKOffset x="0.000000" y="0.020000" z="-0.025000" />
	  <FirstPersonDriveByLeftPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" />
	  <FirstPersonDriveByRightPassengerIKOffset x="0.000000" y="-0.055000" z="-0.035000" />
	  <FirstPersonDriveByRightRearPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" />
	  <FirstPersonDriveByLeftPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
	  <FirstPersonDriveByRightPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
	  <FirstPersonMobilePhoneOffset x="0.146000" y="0.279000" z="0.539000" />
      <FirstPersonPassengerMobilePhoneOffset x="0.136000" y="0.233000" z="0.435000" />
      <PovCameraOffset x="0.000000" y="-0.125000" z="0.665000" />
      <PovCameraVerticalAdjustmentForRollCage value="0.000000" />
      <PovPassengerCameraOffset x="0.000000" y="0.000000" z="0.000000" />
      <PovRearPassengerCameraOffset x="0.000000" y="0.000000" z="0.000000" />
      <vfxInfoName>VFXVEHICLEINFO_CAR_OFFROAD</vfxInfoName>
      <shouldUseCinematicViewMode value="true" />
      <shouldCameraTransitionOnClimbUpDown value="false" />
      <shouldCameraIgnoreExiting value="false" />
      <AllowPretendOccupants value="true" />
      <AllowJoyriding value="true" />
      <AllowSundayDriving value="true" />
      <AllowBodyColorMapping value="true" />
      <wheelScale value="0.271500" />
      <wheelScaleRear value="0.271500" />
      <dirtLevelMin value="0.300000" />
      <dirtLevelMax value="0.850000" />
      <envEffScaleMin value="0.500000" />
      <envEffScaleMax value="1.000000" />
      <envEffScaleMin2 value="0.000000" />
      <envEffScaleMax2 value="1.000000" />
      <damageMapScale value="0.600000" />
      <damageOffsetScale value="1.000000" />
      <diffuseTint value="0x00FFFFFF" />
      <steerWheelMult value="0.700000" />
      <HDTextureDist value="5.000000" />
      <lodDistances content="float_array">
        15.000000
        35.000000
        90.000000
        180.000000
        500.000000
        500.000000
      </lodDistances>
      <minSeatHeight value="0.87" />
      <identicalModelSpawnDistance value="20" />
      <maxNumOfSameColor value="10" />
      <defaultBodyHealth value="1000.000000" />
      <pretendOccupantsScale value="1.000000" />
      <visibleSpawnDistScale value="1.000000" />
      <trackerPathWidth value="2.000000" />
      <weaponForceMult value="1.000000" />
      <frequency value="50" />
      <swankness>SWANKNESS_3</swankness>
      <maxNum value="10" />
      <flags>FLAG_NO_BOOT FLAG_AVOID_TURNS FLAG_EMERGENCY_SERVICE FLAG_IS_BULKY FLAG_ATTACH_TRAILER_ON_HIGHWAY FLAG_DRIVER_NO_DRIVE_BY FLAG_NO_RESPRAY FLAG_DONT_SPAWN_IN_CARGEN FLAG_BLOCK_FROM_ATTRACTOR_SCENARIO FLAG_USE_STRICTER_EXIT_COLLISION_TESTS FLAG_CREATE_WEAPON_MANAGER_ON_SPAWN</flags>
      <type>VEHICLE_TYPE_CAR</type>
      <plateType>VPT_FRONT_AND_BACK_PLATES</plateType>
      <dashboardType>VDT_TRUCK</dashboardType>
      <vehicleClass>VC_EMERGENCY</vehicleClass>
      <wheelType>VWT_OFFROAD</wheelType>
      <trailers>
        <Item>trailerfire</Item>
      </trailers>
      <additionalTrailers />
      <drivers>
        <Item>
          <driverName>S_M_Y_Fireman_01</driverName>
          <npcName />
        </Item>
      </drivers>
      <extraIncludes />
      <doorsWithCollisionWhenClosed />
      <driveableDoors />
      <bumpersNeedToCollideWithMap value="false" />
      <needsRopeTexture value="false" />
      <requiredExtras />
      <rewards>
		<Item>REWARD_WEAPON_FIREEXTINGUISHER</Item>
		<Item>REWARD_WEAPON_FLARE</Item>
      </rewards>
      <cinematicPartCamera>
        <Item>WHEEL_FRONT_RIGHT_CAMERA</Item>
        <Item>WHEEL_FRONT_LEFT_CAMERA</Item>
        <Item>WHEEL_REAR_RIGHT_CAMERA</Item>
        <Item>WHEEL_REAR_LEFT_CAMERA</Item>
      </cinematicPartCamera>
      <NmBraceOverrideSet>Truck</NmBraceOverrideSet>
      <buoyancySphereOffset x="0.000000" y="0.000000" z="0.000000" />
      <buoyancySphereSizeScale value="1.000000" />
      <pOverrideRagdollThreshold type="NULL" />
	  <firstPersonDrivebyData>
        <Item>STD_DILETTANTE_FRONT_LEFT</Item>
        <Item>STD_DILETTANTE_FRONT_RIGHT</Item>
      </firstPersonDrivebyData>
    </Item>

 

 

CarVar Data:

  Reveal hidden contents


  <Item>
      <modelName>fireresc</modelName>
      <colors>
        <Item>
          <indices content="char_array">
            134
            134
            156  
            156
          </indices>
          <liveries>
            <Item value="true" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
        <Item>
          <indices content="char_array">
            134
            134
            156  
            156
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="true" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
        <Item>
          <indices content="char_array">
            134
            134
            156  
            156
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="true" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
        <Item>
          <indices content="char_array">
            134
            134
            156  
            156
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="true" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
        <Item>
          <indices content="char_array">
            134
            134
            156  
            156
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="true" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
      </colors>
      <kits />
        <Item>157_massacaro2_modkit</Item>
      </kits>
      <windowsWithExposedEdges />
      <plateProbabilities>
        <Probabilities />
      </plateProbabilities>
      <lightSettings value="1" />
      <sirenSettings value="1" />
    </Item>

 

 

It might be I'm overlooking a livery flag..

 

I have also changed my BetterEMS to dispatch this vehicle instead of the FBI2 vehicle.  Dollars-to-Donuts the mistake is in the CarVar file as I'm not very proficient with that file yet.

 

Hi there,

 

To clarify since you mentioned it, are you doing anything at all with the trailer when installing this vehicle, such as editing the meta for it?

Share this post


Link to post
Share on other sites
Posted (edited)
20 minutes ago, Giordano said:

 

Hi there,

 

To clarify since you mentioned it, are you doing anything at all with the trailer when installing this vehicle, such as editing the meta for it?

I edited nothing on the trailer itself, but did a lot of editing for the vehicle.  I gave it the Bobcatxl handling line since I use another Tahoe with that same handling line and it's perfect.  I changed the name from Police2 to Fireresc and copied my other Tahoe's vehicle.meta info to it and copied a few of the flags from Firetruk and added the trailer as a trailer option (trailer will likely need spawned in as I'm not privy to any method of having it just lying around the parking lots of Fire Stations).  I used your example CarVar to put it in CarVariations.

The Trailer and Corspeedo are my only two additional cars to the game.  Fireresc would be number 3.

Edited by Fox Frenzy

Share this post


Link to post
Share on other sites
7 minutes ago, Fox Frenzy said:

I edited nothing on the trailer itself, but did a lot of editing for the vehicle.  I gave it the Bobcatxl handling line since I use another Tahoe with that same handling line and it's perfect.  I changed the name from Police2 to Fireresc and copied my other Tahoe's vehicle.meta info to it and copied a few of the flags from Firetruk and added the trailer as a trailer option (trailer will likely need spawned in as I'm not privy to any method of having it just lying around the parking lots of Fire Stations).  I used your example CarVar to put it in CarVariations.

The Trailer and Corspeedo are my only two additional cars to the game.  Fireresc would be number 3.

 

 

Instead of

<trailers>
   <Item>trailerfire</Item>
</trailers>

 

Try

 

<trailers>trailerfire</trailers>

 

I've never messed with trailers before, so I'm not entirely sure how it should look.

Share this post


Link to post
Share on other sites
1 minute ago, Giordano said:

 

 

Instead of


<trailers>
   <Item>trailerfire</Item>
</trailers>

 

Try

 

 


<trailers>trailerfire</trailers>

 

 

I've never messed with trailers before, so I'm not entirely sure how it should look.

 

I was just using common sense with the trailer add-on.  lol  Every other vehicle with Trailer capabilities is shown like mine is so I just copied to this vehicle, so I'm sure it's not that.

I don't think the problem is with the trailer.  The trailer is in the game and the game runs fine with it.  When I pulled the details for the Fireresc vehicle from VehMeta and CarVarMeta, RPH stopped crashing.  It was crashing with a 107 "Unable to stat out-file".  You know; the One Error To Rule Them All.

Something about one of those two scripts it doesn't like.

Share this post


Link to post
Share on other sites
9 minutes ago, Fox Frenzy said:

 

I was just using common sense with the trailer add-on.  lol  Every other vehicle with Trailer capabilities is shown like mine is so I just copied to this vehicle, so I'm sure it's not that.

I don't think the problem is with the trailer.  The trailer is in the game and the game runs fine with it.  When I pulled the details for the Fireresc vehicle from VehMeta and CarVarMeta, RPH stopped crashing.  It was crashing with a 107 "Unable to stat out-file".  You know; the One Error To Rule Them All.

Something about one of those two scripts it doesn't like.

 

Lets determine if the issue is the vehicle, or possibly that you've run out of add-on space, assuming you haven't installed a gameconfig.  Remove the Tahoe and meta.  Now, find another car, any car, and install it in this slot.  Take the meta from a working slot and use it.  Now load into the game.  If it still crashes, you need to use a new gameconfig.  Check the link in my signature.

Share this post


Link to post
Share on other sites
35 minutes ago, Giordano said:

 

Lets determine if the issue is the vehicle, or possibly that you've run out of add-on space, assuming you haven't installed a gameconfig.  Remove the Tahoe and meta.  Now, find another car, any car, and install it in this slot.  Take the meta from a working slot and use it.  Now load into the game.  If it still crashes, you need to use a new gameconfig.  Check the link in my signature.

 

I added the gamesettings, it didn't help.

I put the Fireresc back into the VehMeta file but left it out of CarVarMeta.  Assuming the game checks all files as it loads them into memory, does this drill the problem down to the CarVar entry?  Or, if it's not in CarVar, does the game just IGNORE the VehMeta entry?

Share this post


Link to post
Share on other sites
54 minutes ago, Fox Frenzy said:

 

I added the gamesettings, it didn't help.

I put the Fireresc back into the VehMeta file but left it out of CarVarMeta.  Assuming the game checks all files as it loads them into memory, does this drill the problem down to the CarVar entry?  Or, if it's not in CarVar, does the game just IGNORE the VehMeta entry?

 

If you install a meta but not a carvar, the vehicle will still spawn.  The carvar only controls how the vehicle spawns, such as its colors and if it has a siren for the AI.  While it's not a requirement for the vehicle to spawn, it is a requirement for it to work properly.  If the meta works without a carvar, the issue is in the carvar.

Share this post


Link to post
Share on other sites
26 minutes ago, Giordano said:

 

If you install a meta but not a carvar, the vehicle will still spawn.  The carvar only controls how the vehicle spawns, such as its colors and if it has a siren for the AI.  While it's not a requirement for the vehicle to spawn, it is a requirement for it to work properly.  If the meta works without a carvar, the issue is in the carvar.

Since the author @ALLENjr12 uploaded the vehicle as a Police2 object, I just robbed the CarVar template from Police2 and applied it to the carvar for this vehicle.

Spent the last hour and a half trying to get it to hitch to ANY trailer and I think what's missing is a "hook point" that wasn't added to the vehicle model when it was made because I have tried absolutely everything.  The correct Flags are being used, the correct trailers are added to the VehMeta.  So that's all I'm left with is that there's some object that needs added to the vehicle in Zmodeler so the game knows where to attach the trailer to?  I don't know.

Share this post


Link to post
Share on other sites
2 minutes ago, Fox Frenzy said:

Since the author @ALLENjr12 uploaded the vehicle as a Police2 object, I just robbed the CarVar template from Police2 and applied it to the carvar for this vehicle.

Spent the last hour and a half trying to get it to hitch to ANY trailer and I think what's missing is a "hook point" that wasn't added to the vehicle model when it was made because I have tried absolutely everything.  The correct Flags are being used, the correct trailers are added to the VehMeta.  So that's all I'm left with is that there's some object that needs added to the vehicle in Zmodeler so the game knows where to attach the trailer to?  I don't know.

 

I unfortunately can't help there.  I've never had interest in using trailers. :(   I'd ask AllenJr about it, or Candice since the trailer is hers.

Share this post


Link to post
Share on other sites
Posted (edited)
On 6-5-2018 at 3:09 AM, Fox Frenzy said:

Since the author @ALLENjr12 uploaded the vehicle as a Police2 object, I just robbed the CarVar template from Police2 and applied it to the carvar for this vehicle.

Spent the last hour and a half trying to get it to hitch to ANY trailer and I think what's missing is a "hook point" that wasn't added to the vehicle model when it was made because I have tried absolutely everything.  The correct Flags are being used, the correct trailers are added to the VehMeta.  So that's all I'm left with is that there's some object that needs added to the vehicle in Zmodeler so the game knows where to attach the trailer to?  I don't know.

 

Check if the vehicle model has "attach_female" in it. If it doesn't the towhook is not gonna work.

Edited by Dawnicide

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×