Game crashes after testing in game.
-
- Posts: 3
- Joined: Sun Feb 27, 2022 4:52 am
Game crashes after testing in game.
So I have recently made a custom vehicle and when I test it in game it works and can drive but when I hit something with a bit of force my whole game crashes. Whats the fix for this?
Re: Game crashes after testing in game.
something is wrong with vehicle's collision. I assume the game will crash too if you shot the car. you should check collisions and perfectly take every COL part from original game's model (just for test). Also, vehicle's metadata file might be referring to some part of your model that is expected to have a collision, but your model has no collision for this part - it could also be the cause.
-
- Posts: 3
- Joined: Sun Feb 27, 2022 4:52 am
Re: Game crashes after testing in game.
From looking at it I believe its a issue with the collisions it self any thing specific I should be looking for?Oleg wrote: ↑Sat May 07, 2022 1:40 am something is wrong with vehicle's collision. I assume the game will crash too if you shot the car. you should check collisions and perfectly take every COL part from original game's model (just for test). Also, vehicle's metadata file might be referring to some part of your model that is expected to have a collision, but your model has no collision for this part - it could also be the cause.
Re: Game crashes after testing in game.
I suggest to rework collisions from original vehicle. replace all your COL objects with COLs from an imported model (original game model) and test whether your vehicle will work fine or not. if it does work fine, adjust collision volumes in vertices mode to match your geometry.
-
- Posts: 3
- Joined: Sun Feb 27, 2022 4:52 am
Re: Game crashes after testing in game.
So I tried this and unfortunately It didn't work. Is there any good tutorials out there or could you take a look and see what's happening by any chance?Oleg wrote: ↑Sun May 08, 2022 12:05 am I suggest to rework collisions from original vehicle. replace all your COL objects with COLs from an imported model (original game model) and test whether your vehicle will work fine or not. if it does work fine, adjust collision volumes in vertices mode to match your geometry.
Re: Game crashes after testing in game.
what game's model do your replace with your own vehicle?
My game progress is less than 1% and quite a lot of models do not spawn to me, so I could be unable to test model depending on what you replace with it. also I do not have any "completely new" models installed as DLC and have no ideas how to test or debug them.
My game progress is less than 1% and quite a lot of models do not spawn to me, so I could be unable to test model depending on what you replace with it. also I do not have any "completely new" models installed as DLC and have no ideas how to test or debug them.