KDStudios Posted December 21, 2014 Share Posted December 21, 2014 (edited) EDIT: Fixed the issue. I'm going to leave the model here in case someone wants a laugh at my stupidity. I'm fairly certain I'm doing something wrong. I've googled and searched under every rock for information on how to properly add the NiAlphaProperty to a model. Whether it's adding the NiAlphaProperty to the NiTriStrips part I want to add Alpha Transparency, changing the flags on it and even fiddling in the properties and assigning it to the number of the NiAlphaProperty. No matter what I do, it just crashes the GECK when I try previewing it. I've even looked at a Fallout model with NiAlphaProperty and copied it down to the numbers, more or less. What's weird is that the Alpha transparency works fine in Nifskope. So what could I be doing wrong? Any information would be really appreciated. I've attached a model I've made where I'm trying to do this. Feel free to look at it and tell me where I've gone wrong. Many thanks. Edited December 21, 2014 by KDStudios Link to comment Share on other sites More sharing options...
Jokerine Posted December 21, 2014 Share Posted December 21, 2014 Could you upload a version without the NiAlphaProperty, if you have one? A version of the mesh from before you added the transparency could help troubleshooting. Link to comment Share on other sites More sharing options...
TrickyVein Posted December 21, 2014 Share Posted December 21, 2014 Yikes, OK. Your .nif is a mess, basically. An alpha property is the least of your worries. Blocks 44 (NiMaterialProperty) and 45 (NiStencilProperty) are unlinked. Either parent them or delete them. Block 14 (I assume the NiAlphaProperty that you added) can't be a child of your root node. Delete it. NiAlphaProperties can only be attached to NiTriStrips or NiTriShapes. I assume that you want to add it to block 21, the only NiTriStrips which doesn't have an alpha property. Rename blocks 21, 27 and 33 to have unique names. You should also update your object palette for your transform controller. Link to comment Share on other sites More sharing options...
KDStudios Posted December 21, 2014 Author Share Posted December 21, 2014 Yeah I figured that was the case shortly after posting this, the nif was the biggest trouble maker. I never thought it could be the problem as it worked before I even started fiddling with the nialphaproperty. Good job me, stop poking things. Serves me right for thinking I can just jump straight back into the modding game after years of inactivity :wink: Thanks for the help TrickyVein, all the custom models now work great. Link to comment Share on other sites More sharing options...
Recommended Posts