Change models in AddToFullPack - CSDM FFA
Hello. I want (for a CSDM FFA server) that each player sees all the others with an enemy model. Like, if I'm CT all the others look like Terrorists to me. (Not a new idea)
ES_ModelIndex (even with ES_Team) won't do it. It is not a problem from fakemeta because I also tried with Orpheu. If someone can find out a way, I will be appreciated. One sucking solution may be make all players have the same team but that wouldn't be so nice. |
Re: Change models in AddToFullPack
what about checking in wich team u are and set the model from
all other players to the other team model ? if a player connect then check if he has the model if not then give him the model. |
Re: Change models in AddToFullPack
To make this, AddToFallPack must be used because data has to be tweaked individually. This is not about setting a model, is about telling each user the model that each one of the other players has dressed.
|
Re: Change models in AddToFullPack
I made something similar to this by request on here.
I can't remember if it was Suggestions/Requests or Scripting Help, but I'm sure you can find it. |
Re: Change models in AddToFullPack
From client.cpp (hldsk) you have:
It copies modelindex for whatever entity in ent PHP Code:
Have you tried with EngFunc_InfoKeyValue on "model" key? |
Re: Change models in AddToFullPack
Quote:
http://forums.alliedmods.net/showpos...83&postcount=8 Quote:
|
Re: Change models in AddToFullPack
Quote:
http://forums.alliedmods.net/showpos...9&postcount=15 But the other one may work too. |
Re: Change models in AddToFullPack
It makes people invisible. I'm not understanding how you are trying to achieve it because, even with entities for each player to carry the model ES_ModelIndex would still be needed. The other post code just sets ES_ModelIndex so it doesn't work.
Edit: still, I confirmed that ES_ModelIndex works for non players so, the idea of creating entities to carry a model should work. The problem is that the animations also would need to be set and I'm afraid it will start to waste many resources. |
Re: Change models in AddToFullPack
Based on Exolent's idea of creating extra entities, here goes a solution: (Didn't have to update player animations but, had to create an extra entity for the weapon carried)
PHP Code:
|
Re: Change models in AddToFullPack - CSDM FFA
Works well thanks :D
+K |
| All times are GMT -4. The time now is 13:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.