Hello all, I'm a new guy in the forums, nice to meet you all! I actually ran into a point where I had no idea what I am supposed to do with a feature that I'm thinking about adding to my map.
Basically, in the map there will be triggered projectiles but I want it to deal damage to whomever it's hitting. The idea is kinda like a hadouken in Street Fighter but actually done in TF2...and it's supposed to be moving forward on the ground as well.
Currently I made a test block that will explode and break (thru func_breakable and env_explode since the func_breakable doesn't deal damage when it breaks) when it gets dealt enough damage, and gets pressured. I chose the "break on touch" as well, but when the player's touching the block (it breaks when the player's standing on it), it doesn't blow up. So that's one problem.
The other thing I want is to have the projectile to keep moving forward without stopping unless it gets touched by something (someone or a wall that's in its way), or get damaged, and explode. I looked up func_train and also path_track as well. I could make it go back and forth but I only want to make this a one-way experience for the projectile (which will always end with the projectile exploding). How would I do that?
Third problem is to create this object and execute the moving forward thing every time a button/trigger is executed. Is there a way for this to happen?
I'm still relatively new to Hammer but I'm willing to give anything a try. Many thanks for the help!
Basically, in the map there will be triggered projectiles but I want it to deal damage to whomever it's hitting. The idea is kinda like a hadouken in Street Fighter but actually done in TF2...and it's supposed to be moving forward on the ground as well.
Currently I made a test block that will explode and break (thru func_breakable and env_explode since the func_breakable doesn't deal damage when it breaks) when it gets dealt enough damage, and gets pressured. I chose the "break on touch" as well, but when the player's touching the block (it breaks when the player's standing on it), it doesn't blow up. So that's one problem.
The other thing I want is to have the projectile to keep moving forward without stopping unless it gets touched by something (someone or a wall that's in its way), or get damaged, and explode. I looked up func_train and also path_track as well. I could make it go back and forth but I only want to make this a one-way experience for the projectile (which will always end with the projectile exploding). How would I do that?
Third problem is to create this object and execute the moving forward thing every time a button/trigger is executed. Is there a way for this to happen?
I'm still relatively new to Hammer but I'm willing to give anything a try. Many thanks for the help!