Jump to content

How to make your character turning into a werewolf in full moon?


Recommended Posts

is it really hard to see the file woodie.lua to see how it works?

inst:ListenForEvent("nighttime", function(global, data)	    if GetClock():GetMoonPhase() == "full" and not inst.components.beaverness:IsBeaver() and not inst.components.beaverness.ignoremoon then	        if not inst.components.beaverness.doing_transform then				inst.components.beaverness:SetPercent(1)			end	    end	end, GetWorld())

These strings let the woodie transform to Beaver on fullmoon i think

Link to comment
Share on other sites

Seriously? Go study other mods or the game code for existing methods. It's not like there weren't werebeasts in the game already.

 

Once you have an idea of what you need, try to do it. You will most likely fail, judging by your helplessness, but at least you will have something that you can be helped with. And what's the worst that can happen?

Link to comment
Share on other sites

You could look at the pig and see, alot has to do with the clock, but it's in it's brain, then define a value when it's night, your guy "does this"

 

Im terrible at scripting so i cant give you the direct answer, you'll have to do the research yourself

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...