Page 1 of 1

Unit catapult

Posted: 12 Jul 2011, 09:28
by shooter98
How would it be possible to make an static unit catapult that acts like an transport but then shoots the unit away, shuld i use LUS callins or write an gadget?

Re: Unit catapult

Posted: 12 Jul 2011, 10:00
by knorke
depends.
if you plan to use AddUnitImpulse/SetUnitVelocity to send the unit flying, then a unit script will do.

if you plan to MoveCtrl the unit along its flight path (like zeroK's jumpjet gadget) then a gadget is better: You would not want units to stop inflight because the catapult got destroyed.

Spring's physic do okay-ish with units being tossed around, the actual flying is no problem. Though units sometimes spin in strange ways midflight. Problem is the landing, the direction and speed a unit bounces on impact seems rather glitchy and random to me. Does not matter if you want the unit to explode on impact.

Re: Unit catapult

Posted: 12 Jul 2011, 14:05
by Jazcash

Re: Unit catapult

Posted: 12 Jul 2011, 14:21
by shooter98
One thing still left how do i make that it acts like an tranport so it can load units?

Re: Unit catapult

Posted: 12 Jul 2011, 20:09
by zwzsg
Again:
zwzsg wrote:Image

-> source code <-

Re: Unit catapult

Posted: 12 Jul 2011, 20:15
by azaremoth
It is not exactly what you are looking for but I personally like this one best: :-)

http://www.youtube.com/watch?v=Gs_zbF21 ... re=related

Re: Unit catapult

Posted: 12 Jul 2011, 20:37
by knorke
quick, everbody post something vaguely related!
Image
shooter98 wrote:One thing still left how do i make that it acts like an tranport so it can load units?
you mean a normal transport?

Re: Unit catapult

Posted: 12 Jul 2011, 23:23
by PicassoCT
Wasnt there a big bertha shooting pewees once?

Thats the spring experience.. all the awesome has existed once, and never got dl-able, so that it may live on as copypasta...

Re: Unit catapult

Posted: 13 Jul 2011, 03:04
by MidKnight
PicassoCT wrote:Wasnt there a big bertha shooting pewees once?

Thats the spring experience.. all the awesome has existed once, and never got dl-able, so that it may live on as copypasta...
There was, and we'd probably post about it, but people got mad at us for posting in every request thread with "CA haz it."

So we don't do that any more. :-)

Re: Unit catapult

Posted: 13 Jul 2011, 09:57
by PicassoCT
Oh, i remember now, the early CA days.. the loosing players, especially comnapped players, were by a enforced widget fps-bound to the peewees fired- therefore the name vomit-canon.. you must be this resistent to motion sickness to enjoy this ride.. [/Myth&MumboJumbo]

Re: Unit catapult

Posted: 13 Jul 2011, 11:46
by Google_Frog
Image

Do you want pinball, possible death and map gravity dependence (impulse) or precision, harder implementation and survivability (movectrl)?

Re: Unit catapult

Posted: 14 Jul 2011, 07:45
by shooter98
I think i want impulse