ProfessorCubbage Posted February 15, 2014 Share Posted February 15, 2014 Hi, I just started modding and made my first character, a fine chap by the name of Lieutenant Matthew Vickers. However, now that I'm trying to add his unique properties I've run into quite a few pickles. I'm completely new to lua, although I've got a basic grasp now of how certain properties interact with one another. First, I wanted to make him afraid of pigmen and bunnymen (but not normal bunnies, he's okay with those). I've tried looking at Wolfgang's code, as he's already afraid of the dark and monsters, but from what I can gather it only modifies the inherent values of darkness and sanity draining auras. Thus, I have no idea where to go from there. Second, I wanted to give him a revolver. I know Mr. Tiddles was able to give his William J. Dannighar a flintlock pistol, but frankly, I don't understand how to replicate it, never mind modify it. I wanted the revolver to work like the mining hat; a permanent item that needs to be periodically 'refueled', but I could only gather how it continuously drains charge when equipped and not on 'use' as it were. Third and finally, I wanted to give him a follower that provides a sanity aura for him and acts as additional inventory space ala chester. I know I need to make a 'brain' script to give it a routine to follow, but otherwise I have no idea what to do here. Any help on any of these matters would be greatly appreciated. Link to comment https://forums.kleientertainment.com/forums/topic/31630-mod-help-fear-of-pigs-and-other-things/ Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now