Freeze Posted February 23, 2013 Share Posted February 23, 2013 (edited) Hello. I didn't really know where to put this topic so I just put it here. I have a request of a mod, because I don't know LUA! D:I'd like a mod that makes it so non-agro'd pigs can't activate traps. The pigs keep activating the traps I put down accidentally! D:Thanks, Freeze Edited March 20, 2013 by WrathOf Link to comment Share on other sites More sharing options...
WrathOf Posted February 23, 2013 Share Posted February 23, 2013 (edited) Do you mean the just pigman friends or normal and friend? I assume you want the traps for werepigs :DEDIT:Ah, non-aggro so you meant normal and friend (in non-aggro mode).....read too fast. Edited February 24, 2013 by Freeze (via Threadmins and Group Moderators) Link to comment Share on other sites More sharing options...
Freeze Posted February 24, 2013 Author Share Posted February 24, 2013 Do you mean the just pigman friends or normal and friend? I assume you want the traps for werepigs :DEDIT:Ah, non-aggro so you meant normal and friend (in non-aggro mode).....read too fast.Yep that's it! Link to comment Share on other sites More sharing options...
noisestudio Posted February 24, 2013 Share Posted February 24, 2013 ok,i have tried what you described,do you mean you don't want your follower to trigger the trap?non-follower pig can still trigger the trap.or at least it trigger it,and reset it and teeth_trap does not hurt your follower and not cost trap use counter?if that's what you want,i have done it. Link to comment Share on other sites More sharing options...
WrathOf Posted February 24, 2013 Share Posted February 24, 2013 I think the idea was for non-aggro follower and normal pigs to not trigger the trap. If either are in the aggro state, then they would set off the trap to protect the player. Link to comment Share on other sites More sharing options...
noisestudio Posted February 24, 2013 Share Posted February 24, 2013 those poor pigs......it seems need to check if the follower have non-target on player,then the trap ignor him.else he will be a dead meat situation....right.... Link to comment Share on other sites More sharing options...
seronis Posted February 24, 2013 Share Posted February 24, 2013 So is someone working on this right now or still an open request ? Link to comment Share on other sites More sharing options...
WrathOf Posted February 24, 2013 Share Posted February 24, 2013 [MENTION=8043]seronis[/MENTION]It would appear noisestudio had taken it on to me.....you get a different impression? Not that can't make your own variant of course. Link to comment Share on other sites More sharing options...
Freeze Posted February 24, 2013 Author Share Posted February 24, 2013 Just to clarify I want it so any regular pigs that aren't attacking me don't set off traps. If they are attacking me, yes they should set off traps. If they are were-pigs, yes they should set off traps.Nice to see people are trying to make this! Thank you! Link to comment Share on other sites More sharing options...
noisestudio Posted February 25, 2013 Share Posted February 25, 2013 yeah,you should take it,i'm not sure i got the right idea nor the efficient logic.you guys seem to be pro,professional programmer to me.i'm just a guy loving tweaking mods,not a programmer. Link to comment Share on other sites More sharing options...
WrathOf Posted February 25, 2013 Share Posted February 25, 2013 [MENTION=10578]noisestudio[/MENTION]Everyone has to start somewhere, I am sure you can work it out. Most programming is learned from experience and learning it is fun as long as you have an interest in what you are trying to accomplish. :encouragement:As for me, I have enough on my plate (list of mods I want to get to) for now :DMy overall interest is in helping to get this going on a solid footing in support of all modders and helping them out where ever I can.If you really don't feel like pursuing this request, no problem, I am sure seronis or another will pick it up. No worries. Link to comment Share on other sites More sharing options...
seronis Posted February 25, 2013 Share Posted February 25, 2013 I'm gonna keep looking over the LUA files and familiarize myself more with the syntax differences for now (always done C/Java so im used to strong Types). When Bigfoots mod folder hierarchy change goes in i'll pick this up if no one else has. Link to comment Share on other sites More sharing options...
WrathOf Posted February 25, 2013 Share Posted February 25, 2013 [MENTION=8043]seronis[/MENTION]Luckily I have experience with lisp (well a variant) so this lossy goosy (ducky) language is not too bad for me. Link to comment Share on other sites More sharing options...
Freeze Posted February 26, 2013 Author Share Posted February 26, 2013 Any progress on this? Link to comment 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