Sturn36 Posted November 6, 2010 Share Posted November 6, 2010 Hey, I was wondering how I would go about attaching a lighting effect to a world object. For example i have been trying to create my own materia based on Final Fantasy 7 (materia=marble like orbs that grant powers) and I have them exactly the way I want except I want them to emit light like a torch or room lighting while it is rolling around on the ground. I have tried to fiddle with attaching lights from a torch in NIfskope (as a test as im not very proficent at these things) and I have tried making a light in CS and attaching a script to activate it OnLoad when the materia appears but I cannot find the correct command to allow it (if there is one). I have spend the day trying to figure out what to do and its well beyond me. so any help and advice will be greatly appreciated. thanks Link to comment Share on other sites More sharing options...
GreatLucifer Posted November 6, 2010 Share Posted November 6, 2010 EDIT; I just read you already tried making it a light, and it didn't work...Than what exactly is this Onload "Materia(?)" supposed to do? Please elaborate, and I might be able to help. Lucifer Link to comment Share on other sites More sharing options...
Deleted1848331User Posted November 6, 2010 Share Posted November 6, 2010 Did you make the light like this: WorldObjects-->Lights---> New ---> All the info ---> Put mesh on with an icon if any ----> Make it able to be picked up, like torch It should work. I don't remember exact root because I don't have the CS installed right now. (When I reinstalled Oblivion I forgot to install it again too... stupid me...) Link to comment Share on other sites More sharing options...
Sturn36 Posted November 7, 2010 Author Share Posted November 7, 2010 ok i have made progress thank you guys, my CS didnt like me i think. So far I have created a Light in CS (Light > Lights > New, All info, add mesh and able to pick up) and that didn't work directly, after fiddling around I put it into Nifskope and transplanted the NiNode -- AttachLight branch from /meshes/Lights/Torch2, and that worked for the torch slot. But what I'm looking for is a piece of clothing to equip that doesn't have to show up on the person but when I drop it and it is rolling around on the ground it glows, I'm just having trouble attaching a light to it. The scripting I was trying was an attempt to make a piece of clothing with a light attached that starts to emit when the object is dropped on the ground. I'm just wondering if there is a script command that allows this like "AttachLight" or "AddEffectLight". I have added magic effects but doesn't give me quite what I'm looking for. Sorry if this is confusing I'm fairly new at this so my brain is going around like a ADHD kid with a caffine high. Link to comment Share on other sites More sharing options...
GreatLucifer Posted November 7, 2010 Share Posted November 7, 2010 There is CanHaveFlames and AddFlames, but that probably wont work for this. Basically, from what I understand here, you want it to be a light-emitting (torch) piece of apparel..? I assume you want this for the added effects, and suggest instead of trying to make an item with (for example) enchantments and adding light, go the other way around. Make it a light, and whatever effect you wish to add, these "powers" that you call them, attach them via script (in example; OnEquip sets a flag to 1, OnUnEquip & OnDrop sets a flag to 0. Flag = 1 means add powers to player, Flag = 0 means remove powers from player). Hope this helps. If not, being more specific would help a lot. Just post your "powerscript" or whatever, and we'll look at that. Lucifer Link to comment Share on other sites More sharing options...
Deleted1848331User Posted November 8, 2010 Share Posted November 8, 2010 To have it not show up on the player, all you have to do is make an invisble mesh, and then for the dropped version to be the rolling one. Although, maybe thats only for armor. I don't remember right now lol Link to comment Share on other sites More sharing options...
Recommended Posts