cantgrab/notgrab bug randomly turns it on/off

ABK

Well-known member
It didnt happened before but i didnt used it much, i start stage and it works fine but after awhile i can suddenly grab enemies , its obviously bug somewhere and cantgrab doesnt work properly.
It happens when i knockdown enemy, he stands up and i can grab him even if hes notgrab type and has cantgrab in header.
So now only antigrab prevents enemies from being grabbed.
 
bWWd said:

IIRC cantgrab doesn't really exist any more; the setting still works for backward compatibility but the actual value no longer exists - and if it still does it shouldn't (no reason to have redundant variables within the engine doing the same job). The idea was that if the engine detects cantgrab in the header it simply sets the maximum possible integer value on the antigrab variable, which would effectively be impossible to overcome by grabforce and therefore make the entity immune to grabs.

My guess is the antigrab variable isn't being set right when cantgrab is detected, is being reverted somehow, or perhaps cantgrab was only partially removed: The variable is still there but the check logic isn't.

Either way I'll have a look when I get a chance. Just got in from Boston and now have a funeral service to take care of, but shouldn't be too long.

DC
 
I found one more issue this time with video.txt , there is a way to load different resolutions and models/levels txt on different platforms using different video.txt files  but android platform doesnt use default video.txt  when i have video.txt and videopc.txt, its using videopc.txt which is weird because i thought video.txt has priority so its gonna use that and pc loads only on pc. I want android to be lower resolution than pc and i thought creating videopc.txt will solve this.
 
Back
Top Bottom