Author Topic: Javelin Rocket Launcher  (Read 10028 times)

Ick. 2nd request in a day. I feel greedy.
Anyway, I'm not talking about the thing you'de spear people with. I'm talking about the rocket launcher. We have the Homing Rocket Launcher, so why not this? Here's the difference: It has a sight, but not a scope, meaning it doesn't zoom. This sight highlights targets in one way or another, and can see through walls. Also, when it fires, it fires up, then at a certain hight, zooms towards the target. Here's some pics, I hope you take this idea seriously. Sorry for the big pictures.

« Last Edit: November 27, 2009, 01:23:15 AM by Dapizzanator »

So a homing rocket launcher that isn't shaped as the default RL, i would like it.


Two responses in a row for your suggestions :O

This would be interesting to see. I have a few ideas of how someone could possibly make this.

Have it so when you fire, it has a relay-type shot thing that spawns an invisable target at where you are looking. After you do so, a rocket will be shot forward for a half second or so, then go up either straight or at an angle. Once the rocket reaches a certain height (straight up) or reaches the midpoint between the player and the desired target (up at an angle) it will then change direction and go towards the original target.

P.S. This is what a Javelin Rocket does, at least in CoD.

I'll post a badly drawn gif of what I mean in a second o.O
Here it is:

Red = Javelin
Yellow = Target
Green = Midpoint
Blue = Projectile

Frame 1: Blocklander clicks where the want the javelin rocket to land.
Frame 2: Rocket comes out of the javelin.
Frame 3: After a very short period of time (1/2 second) rocket goes up at an angle.
Frame 4: Rocket hits the midpoint (the middle of the player and the target).
Frame 5: Rocket descends at an angle towards the target.
Frame 6: Rocket hits target.

This should make it clear of what the Javelin should do.
« Last Edit: November 26, 2009, 09:33:34 PM by Blobeh »

Would it home in on Bots? Bots and vehicles? Bots, vehicles, and players? Just players? Just vehicles? (techinally vehicles and bots are the same, but they can be different.)

You're an idiot.

<small breath> it's pantherfan's thead all over again

Ocrap, new idea: Can it client-sided-ly "paint" the target? Think GMod, if you've ever wired a Homing Missile. It basically turns the target red. Would this be possible as a client-only thing?

Neenjaedit:
<small breath> it's pantherfan's thead all over again
You're an idiot.

Two problems: You can't highlight people through walls (I'm pretty sure), and no matter what you can always press f to zoom in.

Two responses in a row for your suggestions :O

This would be interesting to see. I have a few ideas of how someone could possibly make this.

Have it so when you fire, it has a relay-type shot thing that spawns an invisable target at where you are looking. After you do so, a rocket will be shot forward for a half second or so, then go up either straight or at an angle. Once the rocket reaches a certain height (straight up) or reaches the midpoint between the player and the desired target (up at an angle) it will then change direction and go towards the original target.

P.S. This is what a Javelin Rocket does, at least in CoD.

I'll post a badly drawn gif of what I mean in a second o.O

Impossible, if it has a target then why would it go up then at the target?

Ocrap, new idea: Can it client-sided-ly "paint" the target? Think GMod, if you've ever wired a Homing Missile. It basically turns the target red. Would this be possible as a client-only thing?

Neenjaedit:

OK i didn't read all of the info!

Two problems: You can't highlight people through walls (I'm pretty sure), and no matter what you can always press f to zoom in.
Impossible, if it has a target then why would it go up then at the target?
It'd probably take a crapload of scripting, I have no clue, though, but a delay?
Also, maybe it could draw (another) client-sided box around the target while zoomed in? Also also, why is the bolded a problem?

Impossible, if it has a target then why would it go up then at the target?
I don't think it is impossible. Notice how I use the word "midpoint." I'm no expert with scripts, but I think there would probably be a way to find the distance between the player and the target (possible, laser pointer is an example) and then divide that by two (you can divide in scripts). Because the projectile will always have a specific angle at which it will rise, you can just multiply how long the projectile will be rising by the distance / 2. After that time is up, the projectile will go down at the exact opposite velocity than it went up, causing the slope the rocket is creating to be opposite.

EDIT:
Also, the part about you saying why it would go up first is because that's what the javelin does.
http://www.youtube.com/watch?v=d2ObtqZu8Nw
Notice how the rocket flies up, then eventually flies down.
« Last Edit: November 26, 2009, 09:42:34 PM by Blobeh »

It'd probably take a crapload of scripting, I have no clue, though, but a delay?
Also, maybe it could draw (another) client-sided box around the target while zoomed in?
Still impossible lol

Quote
Also also, why is the bolded a problem?
Here's the difference: It has a sight, but not a scope, meaning it doesn't zoom.

I don't think it is impossible. Notice how I use the word "midpoint." I'm no expert with scripts, but I think there would probably be a way to find the distance between the player and the target (possible, laser pointer is an example) and then divide that by two (you can divide in scripts). Because the projectile will always have a specific angle at which it will rise, you can just multiply how long the projectile will be rising by the distance / 2. After that time is up, the projectile will go down at the exact opposite velocity than it went up, causing the slope the rocket is creating to be opposite.
Yes you could use algorithms, but still you can't delay a target, if you set its target you set its target. Once it is going one way, you can't make it go another (with the exception of gravity, which is not a /\ motion unless you want to gun to be very small). By this I do not mean you can't set a target, but you can't set one target then another out of nowhere.

AND we already have enough rockets already. [/thread]

Yes you could use algorithms, but still you can't delay a target, if you set its target you set its target. Once it is going one way, you can't make it go another (with the exception of gravity, which is not a /\ motion unless you want to gun to be very small). By this I do not mean you can't set a target, but you can't set one target then another out of nowhere.

AND we already have enough rockets already. [/thread]
This thread isn't dead until someone who is notably advanced in scripting says so.
When you fire a projectile, it doesn't find a target, meaning weapons don't create a specific spot to travel. Projectiles only go straight, or fall if they have gravity. You aren't creating any "targets out of nowhere."
The midpoint is not a target, for the record. You can think of it more as a "checkpoint."

Robo, what I meant by the sight/scope statement was, it doesn't zoom by itself. It just shows a model around it (Think Old School Rifle). Zooming isn't a problem; it'd find that target, anyway.

Anyway, I'm not talking about the thing you'de spear people with.
Hmm... would be cool to have a larger version of spear that doesn't explode on contact.