Page 1 of 1

Posted: Thu Oct 28, 2004 8:12 am
by Phex
Hey,
I am working at a plugin right now with a few new long range attacks and stumbled across these problems:

1) How can I make a unit's attack behave like the ww2 rpg attack? (letting it shoot further above the target, so you have to ctrl-click to hit properly)
I tried to find it out myself by extracting the ww2 plug, but i didnt get it...

2) Is there any possibility to make a projectile always explode some world units above the head of a target?

Thank you for your help,
Phex.

Posted: Thu Oct 28, 2004 9:49 am
by lank
1) try looking at the inertia of the projectile involved. inertia is a factor that acts a little like inverse-mass (i.e. a higher inertia in myth would be equivalent to a lower mass in real life, and vice versa).

2) probably not, unless you're very clever. you could do things with guided, invisible projectiles and constant-height object tags and such (and being so complicated it would have no kind of guarantee). as far as a general, easy-to-do way of making it happen is concerned, no. if you want to try a complicated method, ask me and i'll lay out the basic tags you'll need and the general settings to try. as i said, no guarantees, though. :P

Posted: Sat Oct 30, 2004 6:47 pm
by Phex
Thank you, 1) worked fine.