Jump to content
Sign in to follow this  
FriZY_SK

Dammagefull[] help

Recommended Posts

hi, I have problem with texture of dammaged object, it doesnt work. Do u know where is problem? here is config of object:

Quote[/b] ]

class CfgPatches

{

class FFS_Radio

{

units[] = {};

weapons[] = {};

requiredVersion = 0.10;

requiredAddons[] = {};

};

};

class CfgVehicleClasses

{

class FFSObjects

{

displayName = "FFS Objects";

};

};

class CfgVehicles

{

class Thing;

class FFSRadio: Thing

{

model="\FFS_Radio\Radio";

vehicleclass="FFSObjects";

armor=50;

scope=2;

displayname="Radio";

icon="\FFS_Radio\icon_ca.paa";

mapsize = 1;

destrType = "DestructEngine";

simulation = "thing";

dammageHalf[] = {"\FFS_Radio\tex\DestructBody_co.paa"};

dammageFull[] = {"\FFS_Radio\tex\DestructBody2_co.paa"};

class EventHandlers

{init="_this exec ""\FFS_Radio\a.sqs"""};

};

};

thx for answers

Share this post


Link to post
Share on other sites

dammageHalf and dammageFull are long outdated and do NOT work

as far as I can remember.

I am pretty sure it works different in ArmA.

Try to search for dammage texture and double check my

statement by searching the forums after these.

Share this post


Link to post
Share on other sites
dammageHalf and dammageFull are long outdated and do NOT work

as far as I can remember.

I am pretty sure it works different in ArmA.

Try to search for dammage texture and double check my

statement by searching the forums after these.

No they are not outdated, they are still used to create glass breaking effects on vehicles.

Share this post


Link to post
Share on other sites

I have the same problem with my hummers... and when i shoot them, glass won't break... sad_o.gif I think it's a binarizing process that is missing

Share this post


Link to post
Share on other sites

[FF]FriZY ,

What about instead of using dammagefull in config use class Damage.

As you can see there is,

class Damage {

tex[] = {};

mat[] = {};

[code]

tex[] = {};, which basically means you can use textures instead of materials to get damaged textures on the model.

Share this post


Link to post
Share on other sites
Faust @ Jan. 07 2008,17:33)]@USSRSniper

Yea, with FriZY we solve it in this topic

..but can i use this technique for static object?

I think no, if i remembr correctly, never seen damage textures on static objects..

Share this post


Link to post
Share on other sites

Hmmm.

Is it possible to do it via setObjectTexture and hiddenSelection applied to model?huh.gif

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  

×