monstermaker tweak -
07-04-2004
What I want to do is enhance monstermaker to be able to call out a specific model when it runs. I have modifed all the individual monster classnames and made it so a model other than default can be specified and it works.
I am able to get the model information from the monstermaker and set pev->model to the model I want. This seems to work as I added a few alerts and it verifies my model change.
However, when the classname is called (i.e. monster_barney) and runs through the following code:
if (pev->model)
SET_MODEL(ENT(pev), STRING(pev->model));
else
SET_MODEL(ENT(pev), "models/barney.mdl");
It always comes up as the default model. Apparently when it gets to the Precache(); for the classname the model is wiped out.
Any ideas of what I can do?
Thanks,
desNotes
Last edited by desNotes; 07-04-2004 at 04:14..
|