|
Post by tailgaiter on Jul 19, 2007 12:12:02 GMT -5
hi. Do you have any idea how I would make a brush move up and down like its bouncing? It would be a continuous loop with no triggers. It just continuously moves up and down at wahtever speed when the game starts.
tx
|
|
|
Post by Duck on Jul 22, 2007 21:20:21 GMT -5
Yea, fairly easy, you would make the brush a func_tracktrain. To do this, select your primitive, ctrl + t tie to entity, make it a func_tracktrain, go to the Flags tab and check the Fixed Orientation checkbox, give it a name, and also it runs on whats called a path_track entity, you would need probably 2 if you want your tracktrain to move up and down, give each a name, maybe the first one: path_1 second one: path_2 and in the entity keyvalue of path_1 path_track it says Next Stop Target, make that the 2nd path and click apply, thus connecting both the entities together, you should see a orangish line connecting to the 2. Also there is another keyvalue, New Train Speed, place how fast you want your train to move per second in units, just put in 100 for default, as well as for the 2nd path_track entity. Now to make the tracktrain go back and forth, in the 2nd path_track it says Next Stop Target, place the 1st path_track into there, thus making the 1st path go to the 2nd path, and back and forth, also make sure both path_tracks have the 100 train speed. Now you need to go back and edit the func_tracktrain. Go to the Keyvalue that says First Stop Target, place the 1st path_track entity name there and click apply. Also you need to edit 2 more keyvalues in the func_tracktrain, the "Change Velocity" keyvalue, click the drop down bar and select Linear Blend and click apply, and edit the Change Angles keyvalue to Never (fixed orientation) and click apply. That should be it for the train and path_tracks, now to activate the train, maybe put in a logic_auto entity and give it an output: My Output Name: OnMapSpawn Target Entities Named: <name of the func_tracktrain> Via This Input: Toggle then click apply, that should make when the map starts to toggle the tracktrain to move along the path_tracks.
Since I typed you a story how to make this, if it seems confusing I will make you a video on how to do it, I should've done that to begin with, but I am too hungry to do anything =(
|
|