Jump to content

sporkflips

Member
  • Posts

    1
  • Joined

  • Last visited

sporkflips's Achievements

  1. I created a mod a while back probably a year ago or so to add my own car into the game, and I had it working fine but then I didn't play for a while and now I tried adding it again in the current PZ version, with the same mod folder I created back then, and now the wheels are huge and when I change the wheel size, radius, and width settings in my vehicle script it does nothing. I also tried changing the model size in blender and replacing the fbx file but it still didn't make a difference. It's confusing because the wheel model is proportional to the car model when I exported them as fbx files but then in PZ it's like monster truck wheels. The only thing that I can figure out that changes the wheel size is reducing the scale of the model reference in the vehicle creation (line 47), which then also makes the doors access disappear into the body of the car. Additionally, I had to set the scale of the model itself kind of wacky to get it right in game, if I set the scale inside ScionxBBase to 1 (line 7) and the scale inside the model reference in the ScionxB vehicle to 1 (line 47) the model of the car itself is way bigger than the game object/ScionxB vehicle that gets placed into the game, and then the model is off center for some reason (it definitely was not off center when I exported the fbx file) As it is right now, the car is the correct size and the doors work and everything, it's just that the wheels appear to be huge and stick through the body and I can't figure out how to change the size of them anymore. Additionally I am having an issue where the sound of the engine revving when upshifting while turning doesn't properly line up with the acceleration and I think it might have something to do with the gear ratio settings but I can't figure that out either so if anyone has any suggestion about that I'd appreciate it. Code below EDIT: somehow now changing the wheel scale to 0.45 works after I moved the mod folder from zomboid/workshop/mods to zomboid/mods... I don't understand I tried changing it so many times before and it did literally nothing. Thanks
×
×
  • Create New...