acog99 0 Posted January 28, 2008 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
RN Malboeuf 12 Posted January 28, 2008 edit class HitRGlass, Â HitLGlass armorGlass is fraction value from 0 to 1 max Share this post Link to post Share on other sites
acog99 0 Posted January 28, 2008 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
Q1184 0 Posted January 29, 2008 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
dmarkwick 261 Posted January 29, 2008 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
RN Malboeuf 12 Posted January 29, 2008 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
dmarkwick 261 Posted January 29, 2008 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 Share this post Link to post Share on other sites
dmarkwick 261 Posted January 30, 2008 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
.kju 3245 Posted January 30, 2008 Post your config please (Only the relevant class / part please). Share this post Link to post Share on other sites