ianzb Posted December 3, 2010 Share Posted December 3, 2010 Given the fact that Actors and their clothing are the only objects that are subject to dynamic lighting/shadows, I was thinking that there must be some way to apply a chameleon effect to an Actor when they cross through a shadow, thus "melding" into the shadow. Unfortunately, I'm not familiar enough with scripting to accomplish this. Any help would be greatly appreciated. Link to comment Share on other sites More sharing options...
ianzb Posted December 3, 2010 Author Share Posted December 3, 2010 I have found a mod that does something very similar to what I'm looking for... But, again, my scripting skills are rudimentary at best. The mod I found is here: http://www.tesnexus.com/downloads/file.php?id=28112 What I'm looking to have the mod do is automatically apply the chameleon effect while sneaking in dark places. Please help. Link to comment Share on other sites More sharing options...
GreatLucifer Posted December 4, 2010 Share Posted December 4, 2010 As for the mod, the blending and whatnot, no idea..... Of this; "automatically apply the chameleon effect while sneaking" I have an idea though. scn NewElvenCloak short Flag begin OnEquip set Flag to 1end begin OnUnEquip Set Flag to 0end begin OnDrop Set Flag to 0end begin GameMode if Flag == 0 player.removespell NewAbInvisibility elseif Flag == 1 if player.issneaking == 1 player.addspell NewAbInvisibility elseif player.issneaking == 0 player.removespell NewAbInvisibility endif endifend The names are, obviously, not important. The NewAbInvisibility is an Ability, containing 100% chameleon (custom; only thing you'd have to make yourself). Put this script on any piece of clothing or armor, and it will make you invisible when sneaking (instantly and completely). Lucifer Link to comment Share on other sites More sharing options...
ianzb Posted December 5, 2010 Author Share Posted December 5, 2010 Thank you GreatLucifer, hopefully I can make that work for my purposes. Link to comment Share on other sites More sharing options...
GreatLucifer Posted December 5, 2010 Share Posted December 5, 2010 You're welcome, happy to help. As long as it's not OBSE or third-party-program related, feel free to ask me anything. Lucifer Link to comment Share on other sites More sharing options...
ianzb Posted December 6, 2010 Author Share Posted December 6, 2010 I'm starting to feel a little stupid... I've created an item and it does exactly what I want it to. Now I want to give it to characters of a specific race at character creation, but everything I try results in the character receiving it over and over again... What should I do? Link to comment Share on other sites More sharing options...
GreatLucifer Posted December 6, 2010 Share Posted December 6, 2010 Character Generation is handled in CharGenQuest (script), so I suggest you put it in there if it wasn't already (easy and sure to work). Declare an (extra) "short" variable, like short DoOnce (the name doesn't matter... could just as well be short Skippididoo). Than structure it like so; if DoOnce == 0 ;your racequestion ;your additem (spot X) set DoOnce to 1 ;end of your racequestion (endif)endif (end of DoOnce question) Whatever you put in spot X, will be executed once only. Like the additem and set DoOnce to 1, as DoOnce is than set to 1, X == 0 will never be true again, and you will receive this item or whatever one time only. Lucifer Link to comment Share on other sites More sharing options...
ianzb Posted December 6, 2010 Author Share Posted December 6, 2010 I almost had that right... Thank you so much. Your help has been invaluable. Just a few more tweaks and my first mod will be ready for sharing. ;)- Link to comment Share on other sites More sharing options...
GreatLucifer Posted December 7, 2010 Share Posted December 7, 2010 You're welcome, happy to help. Lucifer Link to comment Share on other sites More sharing options...
Recommended Posts