Stevo712 Posted June 17, 2008 Share Posted June 17, 2008 This is my first post being new to the community so first of all hello everyone. I was wondering if there is a way to change a single players model without changing every players model. Lets say a player is using a model that has annoying taunts or is unappealing to the eye. I would like to be able to change the model of this player without having to use cg_forcemodel 1 on the entire server. I know this is possible but I'm not sure how it can be done. I have talked with someone who suggested modifying the configstring but he wasn't sure how it should be done. I have looked through the sdk and have been unable to identify the particular line that retrieves the modelName from the client. trap_GetUserinfo( clientNum, userinfo, sizeof(userinfo) ); modelname = Info_ValueForKey (userinfo, "model"); SetupGameGhoul2Model(ent, modelname, NULL); This is the closest I believe I have come to finding the line that I can use to change the model, but I'm not sure if this is what i need or not. I was think I might be able to trap_SetUserinfo with the model I want. If anyone could share there idea's any help is appreciated. Link to comment Share on other sites More sharing options...
M@RS Posted June 17, 2008 Share Posted June 17, 2008 First of all hello now, what do you want to do? Just change a Single Player model? If so I can't help you...sorry Link to comment Share on other sites More sharing options...
Stevo712 Posted June 17, 2008 Author Share Posted June 17, 2008 Hey , Yes that is what im trying to do is make it so I can change a single clients model without setting everyones model to the default. I am aware it can be done server wide with "cg_forcemodel" but there are models I like seeing and others I don't. But thanks for the attempt anyway. Link to comment Share on other sites More sharing options...
ensiform Posted June 18, 2008 Share Posted June 18, 2008 This would have to be done in the cgame module and not jampgame. Link to comment Share on other sites More sharing options...
Stevo712 Posted June 20, 2008 Author Share Posted June 20, 2008 Alright, do you have any idea how it can be done? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.