Portal 2: Hammer Player Model

Avatar
kyleprotecX
116 Posts
Posted Jul 17, 2014
Hello again. In hammer how can i change the player model to atlas from coop. I want it to stay atlas even if it goes on the workshop. And if possible can i have some of the coop gestures so i can use the ping detector? Bye!
Advertisement
Registered users don't see ads! Register now!
Avatar
Goldenknighttim
182 Posts
Posted Jul 18, 2014
Replied 15 hours later
First, make sure that atlas' model is somewhere in the map.
next, add a point_clientcommand entity.
After that I would add a trigger_once which gives an output to the point_clientcommand.
output: On touch, Command >> setmodel player/ballbot/ballbot
That's how I would do it if I wasn't using any scripts. I think there is a function that would change the player moddel as well.

Edit: Removed advice for turning on cheats.

Avatar
josepezdj
2,386 Posts
Posted Jul 18, 2014
Replied 1 hour later
SetModel console command is not a cheat :p
Avatar
greykarel
225 Posts
Posted Jul 19, 2014
Replied 22 hours later

I hate seeing Bendy while playing in singleplayer mode, even if it's a workshop map. Nothing personal, just after playing Portal for seven years for me it's a game about Chell's adventures. So, when I make a map, I force Chell's model.

  1. To force Chell's model you don't need to precashe it, but if you want a bot model you should precashe it. Create an empty box somewhere in your map, cover it with nodraw texture inside and place a model in that box.
  2. Add a point_clientcommand entity and call it for example "@clientcommand" (without quotes).
  3. Add a logic_auto entity. In flag tab of it's properties uncheck "remove on fire" box.
    Add an output OnMapSpawn >> @clientcommand >> Command >> SetModel player/ballbot/ballbot >> 0.5 (delay). And since engine restores default model on map reload you have to add another output OnLoadGame >> @clientcommand >> Command >> SetModel player/ballbot/ballbot >> 0.5 (delay)
Avatar
quaternary
171 Posts
Posted Jul 19, 2014
Replied 6 minutes later
If it's more of a personal preference, you can open your autoexec.cfg and add sv_use_bendy_model 0. Note that this won't be saved with the map, and it only takes effect on the next map load (so you can't use it in a map.)
Advertisement
Registered users don't see ads! Register now!
Avatar
kyleprotecX
116 Posts
Posted Jul 24, 2014
Replied 4 days later
I got a lot of replies in so little time WOW! Thanks for all the help given now i have a map were the player is atlas thanks You all know so much about hammer! Thanks!