Changing a player's model


Pimp Daddy
11-12-2004, 11:33 AM
ok basically I'm trying to change a player's model in game. I've looked in the adminmod forums and have found nothing. I'm doing this using amxx though, but it shouldn't make a difference b/c similar things can be done.

IN CS and in HL mods it is possible to change the player's model, that's why I don't understand why I can't do it using the same code. I can change the user's localinfo to point to the new model and I can change the EV_SZ_model in the actual player entity, but it doesn't work.

Anyone have any ideas? (I'm working on this for war3 mod for DOD)

Trp. Jed
11-12-2004, 12:18 PM
I dont think it works because of how models and classes are linked in DoD and the fact that they all use submodels.

I vaugely remember the "spy" plugin managed it but required AMXX 0.20 and the DoDX Module to work so maybe look at that for inspiration.

Either way, I think you can only change the player model to one of the other standard DoD models. I don't think you can use customs.

Pimp Daddy
11-12-2004, 12:23 PM
yea that doesn't work, I originally used the code from the I-Spy plugin back in the day... so thats what I started with. But there is a CS native that changes the model for CS players, that function doesn't work on DOD though, even though in theory I thought it should. This has to be possible :(

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.