Single player P-Body
Quote from That Greek Guy on September 18, 2012, 7:13 pmSimple question. How can i make it so the player model in my SP hammer map is P-Body instead of Chell.
Thanks.
Simple question. How can i make it so the player model in my SP hammer map is P-Body instead of Chell.
Thanks.
Quote from Another Bad Pun on September 18, 2012, 7:15 pm

Quote from ChickenMobile on September 19, 2012, 12:11 amtl;dr
- Place a prop dynamic of the pbody player model in your map.
- Create a point_clientcommand and a logic_auto
- In the logic_auto: OnMapSpawn -> point_clientcommand -> Command -> setmodel player/eggbot/eggbot -> 0.05
tl;dr
- Place a prop dynamic of the pbody player model in your map.
- Create a point_clientcommand and a logic_auto
- In the logic_auto: OnMapSpawn -> point_clientcommand -> Command -> setmodel player/eggbot/eggbot -> 0.05
Quote from That Greek Guy on September 19, 2012, 5:33 pmChickenMobile wrote:tl;dr
- Place a prop dynamic of the pbody player model in your map.
- Create a point_clientcommand and a logic_auto
- In the logic_auto: OnMapSpawn -> point_clientcommand -> Command -> setmodel player/eggbot/eggbot -> 0.05
Wow thats easy and simple.
Thanks
- Place a prop dynamic of the pbody player model in your map.
- Create a point_clientcommand and a logic_auto
- In the logic_auto: OnMapSpawn -> point_clientcommand -> Command -> setmodel player/eggbot/eggbot -> 0.05
Wow thats easy and simple.
Thanks
Quote from greykarel on September 20, 2012, 4:37 pmThat Greek Guy wrote:ChickenMobile wrote:tl;dr
- Place a prop dynamic of the pbody player model in your map.
- Create a point_clientcommand and a logic_auto
- In the logic_auto: OnMapSpawn -> point_clientcommand -> Command -> setmodel player/eggbot/eggbot -> 0.05
Wow thats easy and simple.
ThanksYes, it works. But on reload game with savepoint or quicksave after having died or if you just want to get back in your playthrough it may get changed back to Chell.
So in step 3 I suggest to do the following:
a) create new logic_auto if you already have one in your map
b) in logic_auto's properties go to flag tab and uncheck remove on fire
c) and set two outputs
OnMapSpawn -> point_clientcommand -> Command -> setmodel player/eggbot/eggbot -> 0.05 _ fire once YES
OnLoadGame -> point_clientcommand -> Command -> setmodel player/eggbot/eggbot -> 0.05 _ fire once NOThis way all works allright.
Also it can be used if you want to have Chell instead of Bendy in the Workshop. Skip step 1 and instead setmodel player/eggbot/eggbot use setmodel player/chell/player
- Place a prop dynamic of the pbody player model in your map.
- Create a point_clientcommand and a logic_auto
- In the logic_auto: OnMapSpawn -> point_clientcommand -> Command -> setmodel player/eggbot/eggbot -> 0.05
Wow thats easy and simple.
Thanks
Yes, it works. But on reload game with savepoint or quicksave after having died or if you just want to get back in your playthrough it may get changed back to Chell.
So in step 3 I suggest to do the following:
a) create new logic_auto if you already have one in your map
b) in logic_auto's properties go to flag tab and uncheck remove on fire
c) and set two outputs
OnMapSpawn -> point_clientcommand -> Command -> setmodel player/eggbot/eggbot -> 0.05 _ fire once YES
OnLoadGame -> point_clientcommand -> Command -> setmodel player/eggbot/eggbot -> 0.05 _ fire once NO
This way all works allright.
Also it can be used if you want to have Chell instead of Bendy in the Workshop. Skip step 1 and instead setmodel player/eggbot/eggbot use setmodel player/chell/player