changing player model wo tfc_setmodel
ok basically im looking for a way of changing a player model without using tfc_setmodel
ive tried entity_set_model(id,"models/player/<modelname>/<modelname>.mdl") with no luck just wondering if there was another method, this is for tfc btw cheers :) |
Quote:
|
rito thanks ava, ill have a look into it
I was thinking about this earlier and in tfc you have item_tfgoals which have "replacement_model" which allows you to change the playermodel of the person who picks it up http://tf.valve-erc.com/kbase.php?id=2 Do you reckon it is possible to create an item_tfgoal at the users origin and set the bitfield values of the entity corretly? Might be easier than using FM? |
It's worth a try if you can get it to work.
|
Code:
#include <fakemeta> |
Quote:
--- Im not really sure how i would set strings like "replacement_model" on the entity i create.. if its even possible? --- After some searching this is some code from VexdUM http://cvs.amxmod.net/viewcvs.cgi/am...M.cpp?rev=HEAD Quote:
|
Hmm, see if this works:
Code:
|
Or you could use skinmod.dll...
But from the fgd: Code:
replacement_model(string) : "Replacement model" |
Sorry to revive this old topic, i started to use v 1.01 meaning i could use tfc_setmodel without the bugs.
Im using 1.6 now and would prefer not to use the whole tfcx module just for 1 function. DispatchKeyValue(id,"replacement_model","mode lName"); did work ty avalanche, the only problem is that you have to respawn for it to take effect. Is there anyway i could make it instant? |
Don't use anything passed 1.01.
|
| All times are GMT -4. The time now is 23:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.