Portal 2: Hammer Player Model
Quote from kyleprotecX on July 17, 2014, 6:26 pmHello 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!
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!
Quote from Goldenknighttim on July 18, 2014, 9:28 amFirst, 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.
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.
Quote from greykarel on July 19, 2014, 8:40 amI 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)
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)
Quote from quaternary on July 19, 2014, 8:46 amIf 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.)
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.)
Quote from kyleprotecX on July 24, 2014, 6:42 amI 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!
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!