• Chairs
    11 replies, posted
How would I make it so you can sit on a couch in hammer? I have joined maps where you can sit on things and I was curious on how to do that.
Haven't tried it yet, but maybe a prop_vehicle without a world model and "vehicle_jeep" as the vehicle script? Parented to a phys_constraint, so it doesn't moves around.
Use prop_vehicle_prisoner_pod entity class, give it desired model and give it this vehicle script: [B]"scripts/vehicles/prisoner_pod.txt"[/B]
[QUOTE=Robotboy655;47058997]Use prop_vehicle_prisoner_pod entity class, give it desired model and give it this vehicle script: [B]"scripts/vehicles/prisoner_pod.txt"[/B][/QUOTE] Im not exactly sure how to do that.
Expecting you know the basics of hammer: 1) Add the chair which is either a brush but I recommand a model so you can name it. 2) Then with the entity tool click on top of the chair or brush where the player is going to be sitting 3) Then in the properties window make the new entity a 'vehicle_prisoner_pod' 4) Change solid type to not solid 5) Parent it to the chair 6) Optional: once it works, change the vehicle_prisoner_pod to have a max fade distance of "1" so the player won't see that ugly pod model. I tried with changing the model of the vehicle_prisoner_pod to a chair but I could never figure out the right sitting angle and position, so I would use this instead.
[QUOTE=Rammelslakje;47073137]Expecting you know the basics of hammer: 1) Add the chair which is either a brush but I recommand a model so you can name it. 2) Then with the entity tool click on top of the chair or brush where the player is going to be sitting 3) Then in the properties window make the new entity a 'vehicle_prisoner_pod' 4) Change solid type to not solid 5) Parent it to the chair 6) Optional: once it works, change the vehicle_prisoner_pod to have a max fade distance of "1" so the player won't see that ugly pod model. I tried with changing the model of the vehicle_prisoner_pod to a chair but I could never figure out the right sitting angle and position, so I would use this instead.[/QUOTE] Would I spawn the chair as a static prop? Also nothing comes up for vehicle_prisoner_pod
[QUOTE=TheHidden;47075944]Would I spawn the chair as a static prop? Also nothing comes up for vehicle_prisoner_pod[/QUOTE] dynamic so you can name them. I think thats the easiest way. If you use a model as the vehicle prisoner pod they might face the wrong angle or sit at the wrong position etc. also there should be such an entity, so if it doesnt show up maybe your hammer is broken look carefully if you might not see it or its named slightly different
Might be a dumb question, but can this be used on any server/gamemode, and does this add any significant load to the server? Also does it affect player hitboxes when being shot at while sitting? This would be kind of cool to add to my TTT map.
[QUOTE=Matt2468rv;47095852]Might be a dumb question, but can this be used on any server/gamemode, and does this add any significant load to the server? Also does it affect player hitboxes when being shot at while sitting? This would be kind of cool to add to my TTT map.[/QUOTE] With most weapons the player will not be able to shot. The FAS 2.0, CW 2.0 and CW 1.0 weapons don't have this problem. And yes, you can use it in multiplayer.
[QUOTE=GaleTheHusky;47096376]With most weapons the player will not be able to shot. The FAS 2.0, CW 2.0 and CW 1.0 weapons don't have this problem. And yes, you can use it in multiplayer.[/QUOTE] Wait, the player sitting will not be able to shoot? Or be shot?
[QUOTE=Matt2468rv;47101978]Wait, the player sitting will not be able to shoot? Or be shot?[/QUOTE] Both.
[QUOTE=GaleTheHusky;47102683]Both.[/QUOTE] Hmm okay. Looks like I better avoid this for TTT then if the player can't be shot.
Sorry, you need to Log In to post a reply to this thread.