Jump to content

Recommended Posts

I just have a really basic (probably) question/problem. How do I scale creatures in game? Like, use code to make them look smaller. I was doing what I do best and dug through already existing mods to try and find a scale related code and I found this in Hound Companions:

    inst.age = data.age

    local scale = easing.inQuad(math.random(), .5+(inst.age*.025), .025, 1) -- Base, Variance, ???
    inst.Transform:SetScale(scale, scale, scale)

Although, presuming inst.age refers to something my creature lacks (ageing) I don't think that would work...

Link to comment
https://forums.kleientertainment.com/forums/topic/68325-scaling/
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...