|
Post by Shahaf on Jan 19, 2010 16:49:07 GMT
Hey im making a BCT/DRILL map for DoD;s if any of you are in units and know what that is so if u can help me im trying to make a rifle range... like target pops out and after like 3 secs goes down and somewhere its marked that u hit the target...... So if any one knows how to do it can u please show me a video or something? cuz i really need it! Thanks alot..
mohak_boy ^^thats my steam if any one wants to add me
|
|
|
Post by Zeph on Jan 19, 2010 23:56:35 GMT
Moving target is easy, func_movelinier or func_train on a path_track. You may also need a point_template to spawn the moving object if it gets broken when shot.
How to test for a received shot...
How about a func_physbox attached to the moving object by a hinge. When shot, it'll swing back and forth. func_physbox has an output "OnTakeDamage" which you can use to trigger scoring. Else "OnBreak" and set it to have a low 'health'.
|
|