|
Author
|
Message
|
|
Senior Member
|

06-22-2004
, 13:46
More entity woes
|
#1
|
As I posted in another thread I have been trying to create a dummy player entity like a wax figure, I have tried using similar code to that used in the sh_beyonder superhero as well as the code in the Ent Copying thread posted here earlier.
I have no problem with creating the entity, settings its attributes and its origin, in the case of the beyonder like example it does what it should, moves when I move, etc.My problem is no matter what I try the only model I can get to stick on the entity is the first counter-terrorist model.
All of the CS models are precached in plugin_precache().
If I explicitly try this:
entity_set_model(myentity, "models/player/terror/terror.mdl")
it either spawns the entity with no model (its not visible) or that first CT model appears.
I have also tried this approach:
entity_get_string(id, EV_SZ_model, arg, 63)
entity_set_string(myentity, EV_SZ_model, arg);
to copy the model I currently am using, it only displays that first CT model.
Anyone have any suggestions for what might be wrong or what I should try, this is getting frustrating.
Thanks,
Mugwump
|
|
|
|