I've just been playing around with the CEffectApplyForce effect, it might be possible to use it for knockback-purpose.
Amount seems to control how strong the push is, but value's higher than 1 don't seem to make the push actually higher.
The actual distance the unit is pushed seems to be...
[MAP] My thrown-together Shmup!
I have created a shmup!
Arrow keys to move, shift to focus (which is moving slower), z and x (shooting and bombs) are not yet implemented, because you're a medivac.
Press "1" to spawn a battlecruiser, which will then fire ravens at you. This is completely...
What does it do?
It "constructs" a triangle with the given points (AX,AY),(BX,BY),(CX,CY) and checks if point (DX,DY) is in it, returning a boolean.
Using triangles, you could also check if a point is in a certain-shaped area.
Simply use "or" conditions together with the triangle check...
I wanted to use more sets, but the limit of 13 texture space hates me.
However; with triggers it seems possible to bypass that limit.
Example: http://img11.imageshack.us/img11/4249/tilezhq3.jpg
Is there anyway to get past the texture space limit of the tilesets?
And does modifying...
EDIT2: Problem solved. But it doesn't make sense. ;-;
EDIT: Example: http://img516.imageshack.us/img516/8713/tdasfdsain9.jpg
I made a damage/attack detection system the same way everyone does it, but when there's a lot of combat going on, the text that displays the damage sometimes...