Quote:
Originally Posted by Imp
British OOB Unit 297 Panther CLV passengers are carried as riders, other Panthers 55,56,57 are okay.
|
yes - the utility vehicle class is not protected for passengers.
The protected attribute is a
unit class attribute, set globally, since SP1 days. Therefore Trucks and utility vehicles are unprotected (assumed to be a soft vehicle class), tank classes are too (have no passenger compartment), but APC are (are armoured and have passenger compartment).
The variable is set by class from global data - not in mobhack for individual vehicles.
So if you had the "same" unit (to
human eyes) but available in several classes then you may well get "odd" results in terms of protection. Take a medium truck. If available as a medium truck class it gets
unprotected status as expected. Now copy that 4 ton truck to an existing APC class since you have armoured inf that also sometimes use trucks. Now your "soft" 4 ton truck is
protected because you made it an
APC class. So the player could have some of the plain truck and some APC versions, getting completely different results when sprayed with MG fires.
I suppose I could add some code in to check "soft" classes and switch it to "protected" if front steel armour was >0 and carry>0. Same in reverse for APC classes(?). That might cover most bases, while still leaving unintended anomalities.
The best way would have been for SSI to have this as a unit attribute (like front armour say) and so Mobhackable. The same could have been said for smoke ammo (another thing done by class). The only cure to that would be a completely redesigned and new game though.
Andy