Jump to content
OberSchutze

Vehicle window question

Recommended Posts

I am using the offroad vehicles as a starting point and I have the rest of the vehicle suitably uparmored however I cannot seem to get the windows to offer any sort of protection from incoming fire.

			class TF2031_HitGlass1: HitGlass1
			{
				armor = 50;
				explosionShielding = 10;
				minimalHit = 15;
				radius = 0.25;
			};
			class TF

Further I receive this error when on first load with the vehicle I made.

 

hOtg7XS.jpg

Share this post


Link to post
Share on other sites

the error message indicates wrong inheritance (you overwrote something you shouldnt have).

Penetration of materials is defined in the model itself (via rvmat and bisurf), not in a config. Config is only for hitpoints that regulate when something "breaks".

Share this post


Link to post
Share on other sites

So I can't protect people with the regular trucks? Bummer.

 

Yes, you can. Use on windows HitPoint classes minimalHit value substantially bigger then any typical carabine ammo hit value. It should then prevent those windows from being damaged caused by direct small arms fire. You may also need using armoredglass material for those windows instead of ordinary glass and make the glass thicker (or use armoredglass plate material which is equivalent of 15cm thick armoredglass). I think it should work although didn't check it by myself.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×