New Scripting Command: setObjectMaterial
|Category:||Scripting: New command|
|Affected ArmA II version:||First affected ArmA II version:|
|Reproduced by another DH user:||No||Single / Multi Player?:|
|I am using some Mods:||No||BIForumURL:|
|I am using:||NGUrl:|
|Reproducible for you:||No||WIKIurl:|
|Related to content of DLC:|
It would be really help that in addition to being able to change textures with setObjectTexture we also would be able to set the material for hidden selections. This would allow a number of interesting things to be done in the game.
Therefore I would like to request that a command such as setObjectMaterial be added to the engine with the same parameter setup as setObjectTexture.
Updated by Nou over 3 years ago
Adding transparencies to existing models is the main thing. Currently if you try to add a transparent CO texture to a model the other maps (SMDI, Normal, etc) show up as black in the transparent area with their details still showing.
For example I am working on a massive wounding system, where there is the possibility of losing limbs and I need to be able to make parts of extremities transparent to facilitate that. I can set a transparent CO texture for those parts but the detail maps still show up, but as matteblack.
See example: http://raceriv.com/arma2/wound_material_problem.jpg
Being able to set custom RVMAT for those hidden selections would make it work.