Jump to content
Sign in to follow this  
USSRsniper

Bullet proof glass

Recommended Posts

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

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
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

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 wink_o.gif hitzones , textures etc. But for a start if you "know how its made" - try to describe how wink_o.gif

Share this post


Link to post
Share on other sites
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 wink_o.gif hitzones , textures etc. But for a start if you "know how its made" -  try to describe how wink_o.gif

WEll since HMMWV50 is defined in BIS config, i would guess everything is correct there icon_rolleyes.gif

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
Quote[/b] ]WEll since HMMWV50 is defined in BIS config, i would guess everything is correct there

What glasses hummer have ? wink_o.gif 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
Quote[/b] ]WEll since HMMWV50 is defined in BIS config, i would guess everything is correct there

What glasses hummer have ? wink_o.gif 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
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 wink_o.gif

Taking as example standart model with bullet proof glasses is not the choice wink_o.gif look at some ofp addons if you're not sure what to do

Share this post


Link to post
Share on other sites
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 wink_o.gif

Taking as example standart model with bullet proof glasses is not the  choice  wink_o.gif 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

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

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

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

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
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
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

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

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×