When using the reszier tool on an explosive prop it can cause serious lag on the server and clients. Only tried on the torpedo and the green bomb models (most explosive props). Unfortunately it seems to be very effective and consistent. I'm curious as to why this is occuring, especially as there are usually few issues on other, non-explosive props
(29-05-2020, 07:33 PM)frdhog Wrote: When using the reszier tool on an explosive prop it can cause serious lag on the server and clients. Only tried on the torpedo and the green bomb models (most explosive props). Unfortunately it seems to be very effective and consistent. I'm curious as to why this is occuring, especially as there are usually few issues on other, non-explosive props
probably for the exact reason of its a special explosive (as in not the explosive barrel or something from valve)
The soccer ball had the same problem.
Whoever made these models clearly didn't understand how to create physics models properly as they seem to basically use the visual model for the physics. I've blacklisted them from the resizer as there's no easy way to fix the freezing.
RE: Resizer issues. Again. Sorry.
I crashed the server, using the model models/iziraider/shuttle/shuttle.mdl and the following parameters:
Scale X 0.1
Scale Y 2
Scale Z 0.872222
YX 0.198675
XY 1.000000
It looked flat like a pancake and has worked on SBEP corridors before before. Trying out the same parameters on a corridor (didn't crash the server and) showed that collision mesh was minute. Testing out the same parameters, rounded to two decimal places resulted in the pancake shuttle. This worked well until I tried to physgun it and the server crashed...
There's not much I can do about extreme parameters as it's hard to know what exactly is making the physics engine crash. The model is fine with sane resize parameters so it's not a case of just blocking it. On other models those parameters are rejected by the engine entirely, so presumably that's why it seems to "work" for the corridors. I've fixed the tool not indicating when this happens, any scales rejected by the engine will now show an error properly and not apply the visual resize.
Other than that, I think in this case common sense should dictate that making something extremely flat is likely going to cause issues so should be avoided.