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 revision Previous revision
Next revision
Previous revision
arma:modeling:damage_model [2009-01-19 17:17]
snakeman added bits for damage texture stuff, fixed typos.
arma:modeling:damage_model [2017-10-06 21:20] (current)
snakeman http to https switch.
Line 27: Line 27:
  
 Then the Rvmat you define in the config must also point to this texture, otherwise the engine will not recognize the texture and will not replace it with the destruct one. Then the Rvmat you define in the config must also point to this texture, otherwise the engine will not recognize the texture and will not replace it with the destruct one.
 +
 +Also it appears that you cannot damageHide a already animated selection, good examples are helicopter rotors made the old OFP way (the new ArmA proxy way apparently works?). So be careful and test your damageHide selection by selection before overhauling your whole model.
  
 ====== Selection names ====== ====== Selection names ======
Line 41: Line 43:
 Once the actual model has the named selection in all the Resolution LODs the damage texture animations will work. Once the actual model has the named selection in all the Resolution LODs the damage texture animations will work.
  
-//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.//+//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 ======
Line 196: Line 198:
 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 :)
 +
 +
 +====== damageHide Additions ======
 +
 +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.
 +
 +There are few things you need to know.
 +
 +  * The damageHide animation will move the selection to the center of the model. Make sure that they are not connected to other parts which will remain after destruction,​ like you can see it on your screenshot.
 +  * If you want to make a selection animated and hidden after destruction,​ make a separate damageHide animation for it, otherwise the animation will be influence each other and your translation or rotation will be effected.
 +
 +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.1232385437.txt.gz · Last modified: 2009-01-19 17:17 (external edit)