haavis
29-11-2006, 08:14 PM
Hi!
I've been tinkering lately with making use of the Model / PlayerModel widgets. They work great when I send them in this way:
this:SetModel("target")
, or similar.
What I rather would like to do, is to load models that doesn't have to be your target or anywhere near you. I can do it halfways, with:
this:SetModel("Creature/Boar/boar.mdx");
... but that only shows the white model, as in, no texture. If I try to load passive doodads, like treasurepiles and wantedposters, that seems to work like it should, but they only have one "state", that is, no or just one animation. There are several types of Boars, and seeing that I don't specify which one I want, I wouldn't espect anything else than just the model, really.
But how do I get the result I want then? I'm sure it's possible, at least I hope so -- I don't see any reason why it shouldn't be.
Thanks in advance!
I've been tinkering lately with making use of the Model / PlayerModel widgets. They work great when I send them in this way:
this:SetModel("target")
, or similar.
What I rather would like to do, is to load models that doesn't have to be your target or anywhere near you. I can do it halfways, with:
this:SetModel("Creature/Boar/boar.mdx");
... but that only shows the white model, as in, no texture. If I try to load passive doodads, like treasurepiles and wantedposters, that seems to work like it should, but they only have one "state", that is, no or just one animation. There are several types of Boars, and seeing that I don't specify which one I want, I wouldn't espect anything else than just the model, really.
But how do I get the result I want then? I'm sure it's possible, at least I hope so -- I don't see any reason why it shouldn't be.
Thanks in advance!