User Tools

Site Tools


arma:modeling:damage_model

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
arma:modeling:damage_model [2009/05/15 11:02] – added damagehide additions header. snakemanarma:modeling:damage_model [2024/08/01 09:17] (current) – links added. snakeman
Line 1: Line 1:
-====== Vehicle Damage Model ======+====== ArmA 1 Vehicle Damage Model ====== 
 + 
 +[[https://www.pmctactical.org/forum/viewforum.php?f=42|ArmA 1 Forum]], [[:arma|ArmA 1 Home]], [[arma:config|ArmA 1 Config]], [[arma:tools|ArmA 1 Tools]], [[arma:file_formats|ArmA 1 File Formats]], [[arma:missions|ArmA 1 Missions]], [[arma:modeling|ArmA 1 3D Modeling]], [[arma:terrain|ArmA 1 Terrain]], [[arma:texturing|ArmA 1 Texturing]], [[arma:scripting|ArmA 1 Scripting]] 
 + 
 +**ArmA 1** aka Armed Assault (ArmA)
  
 **Törni**: With **damageHide** selection (not a LOD) you can hide parts of the model when the it is destroyed. Just what I did with the BMD-1 2.0 addon. The only addon in which the texture swapping is currently working is BTR80 and the model can be opened with O2. **Törni**: With **damageHide** selection (not a LOD) you can hide parts of the model when the it is destroyed. Just what I did with the BMD-1 2.0 addon. The only addon in which the texture swapping is currently working is BTR80 and the model can be opened with O2.
  
-**Armored_Sheep** (BIS dev): New ArmA Damage visualization by animating materials on surface is defined in config.cpp (class damage). Model must contain at least selection "zbytek" that will contain all faces that are animated. You can also use other selections bind in config.cpp in class Hit* as visual=. On top of that the selection must be defined as "section" in model.cfg.+**Armored_Sheep** (bis dev): New ArmA Damage visualization by animating materials on surface is defined in config.cpp (class damage). Model must contain at least selection "zbytek" that will contain all faces that are animated. You can also use other selections bind in config.cpp in class Hit* as visual=. On top of that the selection must be defined as "section" in model.cfg.
  
 "Zbytek" is Czech word for "the rest" meaning remaining parts. In case HIThull - "karoserie" in Czech - is used, you might not find "zbytek" it the model. All selection names are anyway defined in config. "Zbytek" is Czech word for "the rest" meaning remaining parts. In case HIThull - "karoserie" in Czech - is used, you might not find "zbytek" it the model. All selection names are anyway defined in config.
Line 45: Line 49:
 //Please note that for aircraft's selection name like "body" will work just fine, but for tank vehicles, it won't work anymore. Why? we have no idea. If you configure tank with "body" selection name it won't work but as soon as you change it to "zbytek" it will work fine. Go figure. Also do not try to add damageHide into tank's turrets, it wont work as then the objects won't animate normally, you need to use the damageVez maybe?// //Please note that for aircraft's selection name like "body" will work just fine, but for tank vehicles, it won't work anymore. Why? we have no idea. If you configure tank with "body" selection name it won't work but as soon as you change it to "zbytek" it will work fine. Go figure. Also do not try to add damageHide into tank's turrets, it wont work as then the objects won't animate normally, you need to use the damageVez maybe?//
  
-====== BIS Example ======+====== bis Example ======
  
-Here is example damage config from BIS A10 aircraft.+Here is example damage config from bis A10 aircraft.
 <code cpp> <code cpp>
 dammageHalf[] = dammageHalf[] =
Line 198: Line 202:
 The P3D file in O2 needs to have this bit added for each texture used. The Face Properties need the Materials definition to point to the rvmat file The P3D file in O2 needs to have this bit added for each texture used. The Face Properties need the Materials definition to point to the rvmat file
  
-{{ http://tactical.nekromantix.com/images/wiki/Gnat_damage_rvmat_1.jpg }}+{{ https://pmc.editing.wiki/images/Gnat_damage_rvmat_1.jpg }}
  
 And to clarify, all these files are needed (until experimentation proves otherwise) to enable damage textures. And to clarify, all these files are needed (until experimentation proves otherwise) to enable damage textures.
  
-{{ http://tactical.nekromantix.com/images/wiki/Gnat_damage_rvmat_2.jpg }}+{{ https://pmc.editing.wiki/images/Gnat_damage_rvmat_2.jpg }}
  
 Best of luck :) Best of luck :)
Line 211: Line 215:
 This effect usually pops up, when a selection is only partial included in the "damageHide" section. For me, it seems that all "damageHide" sections get moved below ground level at destruction, causing such effects. This effect usually pops up, when a selection is only partial included in the "damageHide" section. For me, it seems that all "damageHide" sections get moved below ground level at destruction, causing such effects.
  
-Also some issues may pop up, when other "active" sections are included in the damageHide section. You may check the T-72 model included in the BIS samples and check the tracks. Each damper section has its own damageHide section, else the same effect would pop up on the tracks.+Also some issues may pop up, when other "active" sections are included in the damageHide section. You may check the T-72 model included in the bis samples and check the tracks. Each damper section has its own damageHide section, else the same effect would pop up on the tracks.
  
 There are few things you need to know. There are few things you need to know.
Line 219: Line 223:
  
 I suggest making 2 levels of landContact, the bottom layer is named like the suspensions and will be removed after destruction. The other layer is at the height of the chassis. That way your truck will look like it rests on the visible elements which are left after destruction. I suggest making 2 levels of landContact, the bottom layer is named like the suspensions and will be removed after destruction. The other layer is at the height of the chassis. That way your truck will look like it rests on the visible elements which are left after destruction.
 +
arma/modeling/damage_model.1242385371.txt.gz · Last modified: 2009/05/15 11:02 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

All PMC web site download services are temporarily suspended until web site yearly fees have been recovered, want to download addons/mods? Then Support PMC.

If you are grateful for all the work PMC has done in the past 25 years, use Support PMC page.