GyroxOpex Posted November 15, 2013 Share Posted November 15, 2013 Hi all, I'm currently in the process of making a mod which is (at the moment) titled "Playable Spriggan Races," but I may change it to "Life of a Spriggan." The mod would allow players not only to play as a Spriggan, but also to experience the life of one by showing exactly what goes on when you're a spriggan. Before release, I'm going to expand the mod so that there are, for instance, spriggan children and meetings of spriggans, but for the first playable build all I need is for spriggans to not be hostile towards members of a specific race (the SprigganPlayer race) while maintaining hostility towards other NPCs. How do I do this with the CK? A speedy reply would be appreciated, as I hope to have the mod out soon. Thanks! --GXO Link to comment Share on other sites More sharing options...
Derok Posted November 15, 2013 Share Posted November 15, 2013 (edited) I'm making a werewolf race and I wanted wolves and other werewolves to be friendly. That's how I did it:Create an effect like this, and add a script with the name you choose. http://i.imgur.com/ALqu33V.jpg So your script is: Scriptname NAMEOFYOURSCRIPT extends activemagiceffect Faction property SprigganFaction AutoEvent OnEffectStart(Actor Target, Actor Caster)Target.AddToFaction(SprigganFaction)EndEventEvent OnEffectFinish(Actor Target, Actor Caster)Target.RemoveFromFaction(SprigganFaction)EndEvent I made sure faction removes itself if you switch your race. Just in case.When you compiled the script go to properties and click auto fill.Now create the spell: http://i.imgur.com/UKtNJoR.jpg And add the spell to your race. http://i.imgur.com/kncennl.jpg Edited November 15, 2013 by Derok Link to comment Share on other sites More sharing options...
GyroxOpex Posted November 15, 2013 Author Share Posted November 15, 2013 I'm making a werewolf race and I wanted wolves and other werewolves to be friendly. That's how I did it:Create an effect like this, and add a script with the name you choose. http://i.imgur.com/ALqu33V.jpg So your script is: Scriptname NAMEOFYOURSCRIPT extends activemagiceffect Faction property SprigganFaction AutoEvent OnEffectStart(Actor Target, Actor Caster)Target.AddToFaction(SprigganFaction)EndEventEvent OnEffectFinish(Actor Target, Actor Caster)Target.RemoveFromFaction(SprigganFaction)EndEvent I made sure faction removes itself if you switch your race. Just in case.When you compiled the script go to properties and click auto fill.Now create the spell: http://i.imgur.com/UKtNJoR.jpg And add the spell to your race. http://i.imgur.com/kncennl.jpg Thanks man! Now all that's left to do is get the spriggans' Radiant AI worked out and figure out how to set up the dialogue. Speaking of which, do you know of a way to make a quest race-dependent? I'm probably going to set up some sort of introductory quest which should ease players into the life of a spriggan, but I don't want non-spriggan players to get it. :) Link to comment Share on other sites More sharing options...
Derok Posted November 15, 2013 Share Posted November 15, 2013 (edited) I don't know, it depends how you want to make the quests obtainable. From start? Talking with an npc? By the way I'm a newbie at making quests. Edited November 15, 2013 by Derok Link to comment Share on other sites More sharing options...
xBlackHeart123x Posted January 9, 2017 Share Posted January 9, 2017 I know this thread probably has not been viewed for a very long time. I was just wondering if either of you know how I could stop NPC's from attacking werewolf players on sight. I'm working on a mod currently, and a feature I want to add, is to allow the player to use beast form, ring of hircine, etc. in public and not receive crime gold or be attacked by citizens. Link to comment Share on other sites More sharing options...
Deleted48155638User Posted May 2, 2018 Share Posted May 2, 2018 I'm making a werewolf race and I wanted wolves and other werewolves to be friendly. That's how I did it:Create an effect like this, and add a script with the name you choose. http://i.imgur.com/ALqu33V.jpg So your script is: Scriptname NAMEOFYOURSCRIPT extends activemagiceffect Faction property SprigganFaction AutoEvent OnEffectStart(Actor Target, Actor Caster)Target.AddToFaction(SprigganFaction)EndEventEvent OnEffectFinish(Actor Target, Actor Caster)Target.RemoveFromFaction(SprigganFaction)EndEvent I made sure faction removes itself if you switch your race. Just in case.When you compiled the script go to properties and click auto fill.Now create the spell: http://i.imgur.com/UKtNJoR.jpg And add the spell to your race. http://i.imgur.com/kncennl.jpg I know too this topic is old but thanks so much man. Added a spell like this one for my personal Dwemer race and it works like a charm. Link to comment Share on other sites More sharing options...
Recommended Posts