Change player skin
What you want is to actually change the model, not its skin. Each model has its own set of textures and you don't want to make Chell to have one of the bot's textures :p
To change the model, you'll need 2 things:
-
The model you want. This is required because the game must precache it before setting it as the player model in your map. Use a prop_dynamic and set the bot that you want as the world model, let's say you want the ballbot. Now grab that prop_dynamic and place it into a small room completely textured in nodraw and put this little room somewhere outside your map.
-
A point_clientcommand. Give it a name, for example "@clientcommand" (without the quotes) and fire the following output to it:
-
OnMapSpawn > @clientcommand > setmodel player/ballbot/ballbot (set it to fire once only)
- OnLoadGame > @clientcommand > setmodel player/ballbot/ballbot (don't set it to fire once, just leave the box unchecked)
If you want the eggbot, simply use that model instead and these outputs instead:
- OnMapSpawn > @clientcommand > setmodel player/eggbot/eggbot (set it to fire once only)
- OnLoadGame > @clientcommand > setmodel player/eggbot/eggbot (don't set it to fire once, just leave the box unchecked)
After the point_clientcommand I created a logic_auto with your commands that you displayed, altough I added "Command" for Target Input. Well it works, many thanks!