Prop Physics, Bots and all that jazz

  • If you're asking a question make sure to set the thread type to be a question!

Rovert Scott

L1: Registered
Jun 12, 2009
6
0
First of all, I am new to hammer, though I am fairly decent at modeling, I have yet to figure out how to animate the things I have made.

Is their a tutorial that explains how to animate objects made in hammer to do things in a sequence?

--------------------------------------------------------------------------------------------------------

Secondly, I am attempting to have non player bots in game. Really just the engineer as a static prop doing the "Crotch_Loser", but it needs to be grouped to an entity that I want to sequence using the first question to do a specific action.


Imagine an engineer crotched in a mine cart as it rolls down a steep track that bends upward at the bottom shooting him into the air. That’s what I'm attempting.
 

Micnax

Back from the dead (again)
aa
Apr 25, 2009
2,109
1,585
Secondly, I am attempting to have non player bots in game. Really just the engineer as a static prop doing the "Crotch_Loser", but it needs to be grouped to an entity that I want to sequence using the first question to do a specific action.


Imagine an engineer crotched in a mine cart as it rolls down a steep track that bends upward at the bottom shooting him into the air. That’s what I'm attempting.

The way I'd do this is make a prop_dynamic, set it to the Engineer model and set his default animation to Crouch_Loser, and then tie him to an independent func_tracktrain parented to the mine cart's func_tracktrain, and then have it go on it's own path as it flies through the air.

It's not simple, but it should work.
 

lana

Currently On: ?????
aa
Sep 28, 2009
3,075
2,778
Crouched. Though I'm pretty sure that it would be confusing to players to see an engineer either of their team or the opposite team riding a cart through the map. Joodude's method should work.
 

Rovert Scott

L1: Registered
Jun 12, 2009
6
0
Thank you very much for your support, I managed to create a fairly decent looking mining cart, complete with lights, and was able to set up the function_train.

However I was having trouble grouping the cart with engineer to the Function_Train I created. Do I parent objects together diffrently than just grouping them together?

I ask because I have yet to change the Engiee, the Cart, and the light fixtures into prop_dynamics, by doing so will the spirtes I have created for the lights remain grouped to the cart?



Sorry for all the questions, but I really appreciate all the help, I hope the map I've been working on will be fairly decent.
 
Last edited:

Micnax

Back from the dead (again)
aa
Apr 25, 2009
2,109
1,585
However I was having trouble grouping the cart with engineer to the Function_Train I created. Do I parent objects together differently than just grouping them together?

Engineer >parented to> the engineer's own func_tracktrain >parented to> the mine cart's func_tracktrain

I ask because I have yet to change the Engie, the Cart, and the light fixtures into prop_dynamics, by doing so will the sprites I have created for the lights remain grouped to the cart?

They should do. If they don't, you could always manually set them to parent to your func_tracktrain, but that's quite difficult.