I remember this site from the WC3 days. I'm glad it's still going strong.
I have a long and complicated problem. I'll try to keep it as brief as possible. I want to make units have more realistic missile pathing, akin to what you'd experience in an FPS game or if you're shooting a gun in real life (you can't stand at the base of a cliff and shoot through it at a 45 degree angle to hit stuff standing on top of it, i.e. you can't shoot "through" 4 allied marines to hit a zergling but you could be in a ball of marines but shoot a collosus or air units from the center of the ball).
I've tried several things to accomplish this, and they'll all long stories that don't end up working (validators to disable a unit's attack is X units of the same height at clumped around them, splitting weapons into 2 with a ground attack and an air/high ground attack. Tried using triggers to determine distance and height of units, but these triggers fail when you use the A-move command).
Is there some sort of discussion we could get going on how on earth to do this? I want to use this system in a traditional SC2 RTS game, rather than for some RPG, FPS or other type of game.
Any advice or thoughts would be helpful. Thanks.
I have a long and complicated problem. I'll try to keep it as brief as possible. I want to make units have more realistic missile pathing, akin to what you'd experience in an FPS game or if you're shooting a gun in real life (you can't stand at the base of a cliff and shoot through it at a 45 degree angle to hit stuff standing on top of it, i.e. you can't shoot "through" 4 allied marines to hit a zergling but you could be in a ball of marines but shoot a collosus or air units from the center of the ball).
I've tried several things to accomplish this, and they'll all long stories that don't end up working (validators to disable a unit's attack is X units of the same height at clumped around them, splitting weapons into 2 with a ground attack and an air/high ground attack. Tried using triggers to determine distance and height of units, but these triggers fail when you use the A-move command).
Is there some sort of discussion we could get going on how on earth to do this? I want to use this system in a traditional SC2 RTS game, rather than for some RPG, FPS or other type of game.
Any advice or thoughts would be helpful. Thanks.