how to make a repeating tank track


r3n0
03-27-2007, 05:33 PM
how would i make a large box move horizontally from point A to point B then teleport or repeat from A to B, A to B, A To B over over (NEVER B to A)

Dustin Diamond
03-27-2007, 07:02 PM
check in some of the valve maps for how they make planes fly overhead. You never see them fly backwards, so i assume it's a similar mechanism.

Propaganda
03-27-2007, 08:14 PM
There is a setting in func_tracktrain to return to a spot. I did it with a flyby in dod expire. Once they got back to the first track I set them to invisible, then when they triggered set them to render at the next track they hit.

Wile E Coyote
03-27-2007, 09:13 PM
for some reason I just envisioned a minature, low LOD tiger tank model climbing over distant hills in the skybox (or whatever that side map with the little models is called.)

Formologic23
03-28-2007, 09:33 AM
for some reason I just envisioned a minature, low LOD tiger tank model climbing over distant hills in the skybox (or whatever that side map with the little models is called.)You are right, it is called the skybox. The reason why you don't see it, is because any models that are in the skybox are modeled at 1/16th scale. So when browsing the the model index, they have a full scale and a 1/16th scale model for a select few models, none of them being vehicles.

So, if someone took the time to rescale all of the commonly used models, it could be done. Maybe you opened a can of worms here.

r3n0
03-28-2007, 07:59 PM
okay i got the track exactly how i want it

my only question now is:

how do i make it so if u get in the way of the object you die

i have the Entity Crushed dammage to 999 but it only crushes me when i get PINCHED between the object and a wall...

JossiRossi
03-28-2007, 11:23 PM
Odd, thought I posted earlier.

One thing you could do is parent a func_damage to the front of the tank, to do 100 damage when touched. You can even make it so that the brush is only on when the tank is moving I believe.

r3n0
03-29-2007, 09:30 AM
okay sweet, im going to try that

how does func_dammange compare to hurt?

JossiRossi
03-29-2007, 09:50 AM
Actually that might have been the one I was thinking.

Whichever one is the brush entity is what I am thinking of.

Dustin Diamond
03-29-2007, 09:58 AM
yeah, use a trigger_hurt

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.