DeadFOAM Posted June 28, 2012 Share Posted June 28, 2012 (edited) Hello all. As you may be able to tell by my post count, I"m new here. Name's DeadFOAM. I'm a student learning game development and such. I used to use the Construction Kit sparingly back for Oblivion. Now I'm starting to get back into modding for Skyrim. I am creating a custom spell for my mage character but I ran into this problem. The spell is a arrow barrage spell. As long as the button is held down, the player fires a stream of arrows from his hands. I have most of it working except for one part. After casting the spell, I am left with arrows dotting the landscape. I have tried to just suck it up and pick them up, but it crashes my game. Makes sense I guess. They aren't actual arrows, just projectiles with the model of arrows. The spell is presently using ebony arrows as the projectile model, but it was previously magic arrows. How would I make it so these arrows vanish once the player stops casting the spell? Would it be some kind of script? Or am I just missing something obvious? The spoiler contains a screenshot of the spell and magic effect settings I am currently using. http://i47.tinypic.com/swb906.jpg EDIT: In hindsight, I worded that title oddly. Edited June 28, 2012 by DeadFOAM Link to comment Share on other sites More sharing options...
steve40 Posted June 29, 2012 Share Posted June 29, 2012 (edited) You could try unchecking the "FX Persist" box on the Magic Effect, but I'm not sure if it will affect the projectile. It usually only affects the duration of the hit shaders and such. I'm not familiar with projectiles and how they work (haven't looked at them yet). Perhaps you could copy the projectile and attach a script to it that would delete itself shortly after being fired? Edited June 29, 2012 by steve40 Link to comment Share on other sites More sharing options...
cscottydont Posted June 29, 2012 Share Posted June 29, 2012 Projectile Wiki Page You'll need to make a custom projectile (just copy the ebony arrow one you're currently using by giving it a new ID) the fields you'll want to edit are "Lifetime" and "Can Be Picked Up" you'll probably need to play around with different values for Lifetime to get the desired effect and just make sure the Can Be Picked Up box is un-checked Link to comment Share on other sites More sharing options...
DeadFOAM Posted June 29, 2012 Author Share Posted June 29, 2012 Projectile Wiki Page You'll need to make a custom projectile (just copy the ebony arrow one you're currently using by giving it a new ID) the fields you'll want to edit are "Lifetime" and "Can Be Picked Up" you'll probably need to play around with different values for Lifetime to get the desired effect and just make sure the Can Be Picked Up box is un-checked Thanks a lot, that fixed the first part. It can't be picked up now. The Linger section is greyed out for arrow type projectiles though. I guess I need to work around that. Link to comment Share on other sites More sharing options...
cscottydont Posted June 29, 2012 Share Posted June 29, 2012 Thanks a lot, that fixed the first part. It can't be picked up now. The Linger section is greyed out for arrow type projectiles though. I guess I need to work around that. hmmm, that is unfortunate. This will not give you the exact result you want but.... you can change the arrow's type to "Missile". This should cause them to disappear like spell projectiles but they won't visibly stick in things. Also there is a script function (but only for Actors) ClearExtraArowsI have no idea how to go about cleaning up arrows stuck in terrain Link to comment Share on other sites More sharing options...
DeadFOAM Posted June 30, 2012 Author Share Posted June 30, 2012 Thanks a lot, that fixed the first part. It can't be picked up now. The Linger section is greyed out for arrow type projectiles though. I guess I need to work around that. hmmm, that is unfortunate. This will not give you the exact result you want but.... you can change the arrow's type to "Missile". This should cause them to disappear like spell projectiles but they won't visibly stick in things. Also there is a script function (but only for Actors) ClearExtraArowsI have no idea how to go about cleaning up arrows stuck in terrain I thought about doing that. I just left it as is. I set the projectiles to have "health" and to drain 1 health every second. Doesn't really seem to work, but they vanish after I fire a certain number of them anyway. And thats good enough for me. Link to comment Share on other sites More sharing options...
Recommended Posts