Spring 89.0 - hitspheres
Posted: 16 Jul 2012, 17:15
Only change around hitspheres i noticed in changelog was:
And now the bug: With no other change in hitspeheres behavior in changelog, i wonder some weapons dont hit the target as before. The problem appears esp. at small units - so first thing i tried to add:
as it is suggested in devmanual. This solve the problem, but becouse of small scale of NOTA units it means adding this tag to the most of the tech1 units and def buildings (so 50-80% of all units that are built in every NOTA game). Before i do that, i want ask
1) does this setting effect much program execution, do I risk any speed/lag problems (= i dont think so that tag was intended as standard property of most of the units)
2) wasnt changed anything other in hit_unit evaluation? Becouse in new engine version, it affects all small units (doesnt matter if they were using modelCenterOffset or not)
Less important thing is, why such change was done? (which place is more logical then unit definition file to set such thing? Other collision stats still stay on that place)! remove modelCenterOffset tag (can now be dynamically set with Lua)
And now the bug: With no other change in hitspeheres behavior in changelog, i wonder some weapons dont hit the target as before. The problem appears esp. at small units - so first thing i tried to add:
Code: Select all
collisionVolumeTest = 1;
1) does this setting effect much program execution, do I risk any speed/lag problems (= i dont think so that tag was intended as standard property of most of the units)
2) wasnt changed anything other in hit_unit evaluation? Becouse in new engine version, it affects all small units (doesnt matter if they were using modelCenterOffset or not)