Septfox Posted December 17, 2011 Share Posted December 17, 2011 (edited) Well, to get right to the point... short nifid string_var filepath let filepath := GetbipedModelPath 1 customarmor printtoconsole "1 %z" filepath let nifID := NifOpen $filepath 1 printtoconsole "2 %z" nifid let filepath := NifGetPath nifID printtoconsole "3 %z" filepath SetfemalebipedPath filepath customarmorBasically a copy+paste from the CSwiki, modified to work with clothing/armor. This keeps setting my character's biped model to nothing, I.E. my character's body disappears. The console output seems to suggest everything is working right:1 custom stuff\armor.nif 2 3 ni\custom_armor0.nifThough it seems a little strange to me that nifopen doesn't appear to be outputting anything at all. So, how am I being stupid today? edit: woo, 64 posts. *geeks out* Edited December 17, 2011 by Septfox Link to comment Share on other sites More sharing options...
DrakeTheDragon Posted December 17, 2011 Share Posted December 17, 2011 (edited) Have you tried using "nifID" in all places already? I could be wrong but I think to recall ObScript in many parts was case-sensitive, so "nifid" needn't necessarily be the same as "nifID".Don't know why it's giving you an invisible body though. Sorry. Edited December 17, 2011 by DrakeTheDragon Link to comment Share on other sites More sharing options...
Septfox Posted December 18, 2011 Author Share Posted December 18, 2011 Thanks for the response. Even though I would half expect something that idiotic to be the problem, especially since OBSE is involved (you don't even want to know how incredibly annoyed I am with OBSE's special, halfass-documented syntax)...nope. nifID everywhere. The only reason the short in my snippet isn't capitalized is because I typed it out manually and wasn't paying attention. In the script itself, all commands in that section are capitalized as they are in the wiki. And, I don't know either. I mean, nifOpen appears to be making a copy and all, and unless something is wrong with SetFemaleBipedPath it should be setting the proper path. It's just...not working. And the base nif is working fine, I made sure of that. I'll screw around with it a bit more, despite how frustrated I am with this little project as a whole, but I'm certainly open to any further suggestions. Link to comment Share on other sites More sharing options...
Recommended Posts