USSRsniper 0 Posted December 20, 2007 This is one thing that I can't figure out how to fix. Basically i now stuck with glass, that is bullet proof. bullets don't go through, and glass textures don't change. Did anyone have similar problem, or knows how to fix it. Checked all seelctions in model, so i think its model.cfg problem of config.cpp itself... Share this post Link to post Share on other sites
RN Malboeuf 12 Posted December 20, 2007 Do you know how it's made ? It's the same like in ofp. +glass have to be specified as section in model.cfg Share this post Link to post Share on other sites
USSRsniper 0 Posted December 20, 2007 Do you know how it's made ? It's the same like in ofp. +glass have to be specified as section in  model.cfg Was using BIS model as reference, and same for config. So i say, yes I know how its made. In config i just use <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">/*extern*/ class HMMWV50; in cfgVehicles, or do i need to define everything in my config without taking anything from BIS config? Just noticed on BIKI, that ArmA 1.01 had same exact problem with Bus, having bullet proof glass. Share this post Link to post Share on other sites
RN Malboeuf 12 Posted December 20, 2007 ok, if you're sure that your config.cpp and model.cfg are good post here everything you added ti yourconfigs tomake it work. Quote[/b] ]/*extern*/ class HMMWV50;in cfgVehicles, or do i need to define everything in my config without taking anything from BIS config? look if everything you need is specified in class HMMWV50 hitzones , textures etc. But for a start if you "know how its made" - try to describe how Share this post Link to post Share on other sites
USSRsniper 0 Posted December 20, 2007 ok, if you're sure that your config.cpp and model.cfg are good post here everything  you added ti yourconfigs tomake it work.Quote[/b] ]/*extern*/ class HMMWV50;in cfgVehicles, or do i need to define everything in my config without taking anything from BIS config? look if everything you need is specified in class HMMWV50 hitzones , textures etc. But for a start if you "know how its made" -  try to describe how WEll since HMMWV50 is defined in BIS config, i would guess everything is correct there How its made? In config.cpp, CfgVehicles <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class HitRGlass { armor = 0.3; material = -1; name = "sklo predni P"; passThrough = false; }; class HitLGlass { armor = 0.3; material = -1; name = "sklo predni L"; passThrough = false; }; In Model.cfg, cfgModels part, into sections I add sklo peredni L, and sklo peredni P And selections in O2, i add sklo peredni P and L, into HitPoints -skla, sklo peredni L and P into fire geometry And include windows, in damageHide selection Share this post Link to post Share on other sites
RN Malboeuf 12 Posted December 20, 2007 Quote[/b] ]WEll since HMMWV50 is defined in BIS config, i would guess everything is correct there What glasses hummer have ? Look at its comfigs and watch if you got to change texture paths or smth Share this post Link to post Share on other sites
USSRsniper 0 Posted December 20, 2007 Quote[/b] ]WEll since HMMWV50 is defined in BIS config, i would guess everything is correct there What glasses hummer have ? Look at its  comfigs and watch if you got to change texture paths or smth Do i need to add sklo selection to resolution lods? because some BIS models do have it and some dont... And texture path has nothing to do with glass, glass is actually bullet proof, bullets don't get through. So no damage done to glass. Share this post Link to post Share on other sites
RN Malboeuf 12 Posted December 20, 2007 Quote[/b] ]Do i need to add sklo selection to resolution lods? because some BIS models do have it and some dont...And texture path has nothing to do with glass, glass is actually bullet proof, bullets don't get through. So no damage done to glass. of course, how do you think the engine will now where your glass is ? and you have to specify textures of broken glass Taking as example standart model with bullet proof glasses is not the choice look at some ofp addons if you're not sure what to do Share this post Link to post Share on other sites
USSRsniper 0 Posted December 20, 2007 Quote[/b] ]Do i need to add sklo selection to resolution lods? because some BIS models do have it and some dont...And texture path has nothing to do with glass, glass is actually bullet proof, bullets don't get through. So no damage done to glass. of course, how do you think the engine will now where your glass is ? and you have to specify textures of broken glass Taking as example standart model with bullet proof glasses is not the  choice  look at some ofp addons if you're not sure what to do Well since my config takes values from hummer50 class in arma, glass textures are assigned. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> dammageHalf[] = {"\ca\wheeled\data\HMMWV_glass_CA.paa", "\ca\wheeled\data\HMMWV_glassbr1_CA.paa", "\ca\wheeled\data\HMMWV_glass_CA.paa", "\ca\wheeled\data\HMMWV_glassbr1_CA.paa"}; dammageFull[] = {"\ca\wheeled\data\HMMWV_glass_CA.paa", "\ca\wheeled\data\HMMWV_glassbr2_CA.paa", "\ca\wheeled\data\HMMWV_glass_CA.paa", "\ca\wheeled\data\HMMWV_glassbr2_CA.paa"}; Well i guess this specifies textures, but how it will change if glass not taking damage? Before i had it working, i could kill crew through glass, but textures were not changing.... Attempted to fix it, and how textures and damage is not wroking lol Looked at some arma examples, nothing helps me to fix it... Share this post Link to post Share on other sites
USSRsniper 0 Posted December 21, 2007 Did everything i could possibly think of, and still can't fix it... Glass is armored, and if i continue firing at it with MG, whole car explodes. Share this post Link to post Share on other sites
RN Malboeuf 12 Posted December 22, 2007 once again - try to consider what you need for penetratable glasses. Look at ofp/arma examples. See if you got everything in FireGeo/Resolution/hitpoints lods. check paths in the config. Nobody can help you virtually - you have to come through some trial Share this post Link to post Share on other sites
USSRsniper 0 Posted December 23, 2007 Ok, looks like i jsut need proper example model thats all, because half the models by BIS don't properly work lol Share this post Link to post Share on other sites
USSRsniper 0 Posted December 26, 2007 Got it to work, but now i can easily shoot through side windows without any damage textures and front windows are still bullet proof... This is very annoying, looked at many ArmA unbinirized models and it seems each is done differently... Just added hitpoint for each window on each side, so now i have three skla predni L and three sklo predni P points. And two selections in fire geometry lod, for left and right window. Somehow this made side windows, completely without armor, so bullets jsut fly straight through. Share this post Link to post Share on other sites
RN Malboeuf 12 Posted December 26, 2007 Quote[/b] ]Got it to work So what is working nd what is not ? )) i can't get it from your post. And what example are you using ? Share this post Link to post Share on other sites
USSRsniper 0 Posted December 27, 2007 Quote[/b] ]Got it to work So what is working nd what is not ? )) i can't get it from your post. And what example are you using ? Used, unbinirized model of Ural. Front windows are still bullet proof, and side don't work at all. Bullets jusy fly through, like there is nothing. Share this post Link to post Share on other sites
USSRsniper 0 Posted January 2, 2008 Just small update on my issue, textures on windows are changing correctly, but glass is still bullet proof. Share this post Link to post Share on other sites
USSRsniper 0 Posted January 3, 2008 Did anyone make vehicle that ahve working glass, because can't find any addon with working glass Share this post Link to post Share on other sites