func_bobbing, by Darkone
Thanks to Darkone for the work put into this tutorial.
this is another simple func_ entity
1. ok to make this simple we will make a brush say 64x64x64.......wow a square
2. ok now make a brush inside of it centered going through it from top to bottom using the origin texture. (fig.1)
3. Now select both brushes by holding shift and left clicking on them both in the 3d window.
4. While both are highlighted right click your screen and the entity window should drop.
5. Choose func/func_bobbing.
6. Now while your new func_bobbing is made press the N key to open the entity editor.
7. in here there are a few settings you can tweak, for instance dmg,speed,phase,and axis - dmg: how much damage it will cause the player when blocking it. To set this type dmg in the "key" box and 1000 in the "value" box (this setting is based on if you want it to kill the player when touched)
- speed: how fast it will bob through its cycle. "key" speed "value" how fast you want it. 100 default
- axis: x,y,or z which axis you want it to bob. default is z axis. do set this simply check the box in the window
- phase: phase can be set from 0 to 1.0 of its up/down cycle (default .5)
|