yo guys i've been working on a model for the past 2 days and so far have done absolutely everything i can think of and find online i really need a hand with this.
Model Made in Blender
Compiled using Crowbar for Garrys Mod
This is the Model
https://steamcommunity.com/sharedfiles/filedetails/?id=1642404965
It has 2 animations, idle and active
the model is correctly rigged, named and animated
the smd files exported correctly
if i reimport the smd file to 3d software the animation is there
the animation plays in hl2 model viewer
weirdly the animation is ramped in hl2mv but i'll fix that after
I have tried to animate it in game every way i can think of
I have tried having
ENT.AutomaticFrameAdvance = true
in init, cl_init and shared
I have used
self:SetSequence( "active")
self:ResetSequence( "active" )
self:SetSequence( 1 )
anda
local sequence = self:LookupSequence( "active" )
self:ResetSequence( "active" )
self:SetSequence( sequence )
in initialise and a custom function
I ran
function AnimateTest(self)
timer.Simple( 10, function()
local sequence = self:LookupSequence( "active" )
self:ResetSequence( "active" )
self:SetSequence( sequence )
print("Sequence Test")
end )
timer.Simple( 20, function()
self:SetSequence( "active" )
print("Simple Sequence Test")
end )
end
and got
Sequence Test
Simple Sequence Test
idle
active
I have tried animating from init, cl_init and shared, same result
I have no idea why its not working, would really appreciate any help.
My Discord Dubz #5171
You should look at the example here
thank you so much i've switched out the code and the animation works, thank you so much <3
Sorry, you need to Log In to post a reply to this thread.