Animated Edgeless safty cubes[Solved]
I wrote a script to replace all the edge-less safety cube models with personality sphere models, as part of a concept me and a few friends are working on. The problem is that the wheatly core's eye is shut. I know the animation I want it set to, but I'm not sure how to set that animation since this is not a prop_dynamic. Does anyone have any ideas for how to do that? I have tried using EntFireByHandle(sphere, "SetAnimation", "core02_idle", 0, null, null) where 'sphere' is the edge-less safety cube in each iteration.
Goldenknighttim wrote:
I gave it a few tries, and was able to get the animation set to the default animation, but the textures aren't being recognized by the model. I've tried letting it keep the same textures, and I've also tried setting the textures to another folder so I can edit them later if I want to, but nothing is working. I can't tell if the animation is working as a prop_weighted_cube because its too difficult to see without any textures, so I don't know if this is going to work yet.
Never mind, Got the textures working. The decompiled qc was pointing to 4 of the 5 textures. I added the fifth, and it worked. I guess its a bit buggy.
Edit: I think what fixed it is actually that I gave it a directory to look for textures.