Jump to content
Sign in to follow this  
acog99

armorGlass

Recommended Posts

Is driving me nuts.

I am doing a mod that turns BIS stock hummers into real world Up-Armor hummers. (M998/M1114/M1025)

I cant get the armor glass to reflect real world at all. No matter what I set it at, a single .223 goes right on through the glass. Which is not the results I want.

armorGlass = 0.9999000; //Does jack

armorGlass = 400.9999000; // Does jack

armorGlass = 1.9999000; // Again, does jack

armorGlass = 75.9999000; Does diddly

Any ideas? Oh and why I'm asking, how do I get this to show up in the editor as a seperate class, so as not to overwrite the stock ones. Somthing along the lines of Acogs-UpArmor (M2) etc etc for all the hummers I plan on doing.

Thanks in advance! =)

Share this post


Link to post
Share on other sites

Oooook, and how do I do that exactly? I mean whats the syntax and where would I put it in the structure of the cpp file?

=)

But THANK YOU!

Share this post


Link to post
Share on other sites
Oooook, and how do I do that exactly? I mean whats the syntax and where would I put it in the structure of the cpp file?

=)

But THANK YOU!

Just take a look at the parent class of your humvee, which is "Car" and you will find all these entries that are omitted down the tree.

Share this post


Link to post
Share on other sites
Oooook, and how do I do that exactly? I mean whats the syntax and where would I put it in the structure of the cpp file?

=)

But THANK YOU!

Just take a look at the parent class of your humvee, which is "Car" and you will find all these entries that are omitted down the tree.

So can those entries be altered "down" the tree in the HMMWV class or do they need to be altered in the Car class? And thus, to my way of thinking, either change the Car class or create a new Car derived class?

Share this post


Link to post
Share on other sites
Quote[/b] ]So can those entries be altered "down" the tree in the HMMWV class

of course they can. Do you understand ofp/arma class inherit system ?

Share this post


Link to post
Share on other sites
Quote[/b] ]So can those entries be altered "down" the tree in the HMMWV class

of course they can. Do you understand ofp/arma class inherit system ?

No. Configs make my nose bleed smile_o.gif

Share this post


Link to post
Share on other sites
Quote[/b] ]So can those entries be altered "down" the tree in the HMMWV class

of course they can. Do you understand ofp/arma class inherit system ?

I ask this question because if I try to alter Car class properties from inside the HMMWV class I get scope errors.

Share this post


Link to post
Share on other sites

Post your config please (Only the relevant class / part please).

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
Sign in to follow this  

×