Data Realms Fan Forums
http://45.55.195.193/

Code problem with missile-launcher
http://45.55.195.193/viewtopic.php?f=1&t=14079
Page 1 of 1

Author:  NaXx [ Fri Mar 27, 2009 8:39 pm ]
Post subject:  Code problem with missile-launcher

Ok. I've got a code problem/code question, what I don't know how to fix.
I'm making a tank with 4 barrels of missile launcher (yes, you gonna like it)
And I need each missile will be launched by a different hole/barrel.
I think its really posible to make with code, but Sadly I'm better spriting that coding...


Thanks for read and waiting answers.

Author:  Disst [ Fri Mar 27, 2009 9:02 pm ]
Post subject:  Re: Code problem with missile-launcher

take a look at the dredle gun. it had 2 barrels and was a concept mod.

Author:  Areku [ Fri Mar 27, 2009 9:12 pm ]
Post subject:  Re: Code problem with missile-launcher

Well, it is possible to do so with two barrels. with four... it might be more complicated.
There was a four-barreled machinegun once, but it fired only two barrels at a time.
The way to code it is to have the weapon shoot a static MOSRot, with attached aemitters on the position of each barrel.
The normal rounds lauched a MOSRot with a emmiter close to the upper barrels, while the tracer rounds lanched another MOS with the emitter close to the lower barrels. And that's it, I guess :???: .

(sorry if I didn't make myself clear, I am in a bit of a hurry... )

Author:  Flammablezombie [ Fri Mar 27, 2009 9:12 pm ]
Post subject:  Re: Code problem with missile-launcher

3POK_PHALE wrote:
take a look at the dredle gun. it had 2 barrels and was a concept mod.
wow, that mod's finally useful...

Author:  Duh102 [ Fri Mar 27, 2009 9:43 pm ]
Post subject:  Re: Code problem with missile-launcher

You can only have two stages of shot at this time. So, you can have four barrels, but you can only split them into two groups, not four firing independently.

Author:  Flammablezombie [ Fri Mar 27, 2009 9:49 pm ]
Post subject:  Re: Code problem with missile-launcher

Which is kinda better, you can make it full auto and fire it 2 at a time, or one at a time. A barage would be KKKKWWWWWLLLLL

Author:  NaXx [ Fri Mar 27, 2009 10:19 pm ]
Post subject:  Re: Code problem with missile-launcher

3POK_PHALE wrote:
take a look at the dredle gun. it had 2 barrels and was a concept mod.

thank you dude :wink: I wish find here the answer...


Areku wrote:
Well, it is possible to do so with two barrels. with four... it might be more complicated.
There was a four-barreled machinegun once, but it fired only two barrels at a time.
The way to code it is to have the weapon shoot a static MOSRot, with attached aemitters on the position of each barrel.
The normal rounds lauched a MOSRot with a emmiter close to the upper barrels, while the tracer rounds lanched another MOS with the emitter close to the lower barrels. And that's it, I guess :???: .

(sorry if I didn't make myself clear, I am in a bit of a hurry... )


Understood, nobody haven't been said it will be an easy job :)

Flammablezombie wrote:
3POK_PHALE wrote:
take a look at the dredle gun. it had 2 barrels and was a concept mod.
wow, that mod's finally useful...


ey no need to be so hostile :grin:

Duh102 wrote:
You can only have two stages of shot at this time. So, you can have four barrels, but you can only split them into two groups, not four firing independently.


I just need 2 barrels good organizated and it will be the 4 barrels simulated ^^

Author:  Jcgrey2 [ Sat Mar 28, 2009 7:40 pm ]
Post subject:  Re: Code problem with missile-launcher

Couldn't you make the missile-launcher a shield as well?
As in: One two barreled part and another two barreled part.

Properly offset it to where you want, and shoot all four missiles at once?
OramIanublol

Author:  Duh102 [ Sat Mar 28, 2009 9:30 pm ]
Post subject:  Re: Code problem with missile-launcher

I suppose you could do that, but offhand guns don't wait until the onhand gun has fired before they fire, so you'd still be stuck with the missiles firing in pairs.

Author:  NaXx [ Sun Mar 29, 2009 12:37 pm ]
Post subject:  Re: Code problem with missile-launcher

Jcgrey2 wrote:
Couldn't you make the missile-launcher a shield as well?
As in: One two barreled part and another two barreled part.

Properly offset it to where you want, and shoot all four missiles at once?
OramIanublol


A really good idea, I'll try to bring to life :wink:

Duh102 wrote:
I suppose you could do that, but offhand guns don't wait until the onhand gun has fired before they fire, so you'd still be stuck with the missiles firing in pairs.


I can code it like first vertical missiles and after the next column, isn't?
Btw, as the master gotcha was said its gonna be a upgrade with the new release comming...
( the possibility of wait clicking before the shoots coming... )
let's do the things to the old fashion way :hat: like a rain of ; missiles, death, fire and dangerous particles...
just what I've been looking for :grin:

Author:  Geti [ Sun Mar 29, 2009 12:46 pm ]
Post subject:  Re: Code problem with missile-launcher

sigh, quote the dredle gun rather than the 2BMG demo? Oo"
i'd like a good epic mech/tank though. i'd probably prefer a walker but god knows ACrab legs are a ♥♥♥♥♥. and i do.

Author:  NaXx [ Sun Mar 29, 2009 11:50 pm ]
Post subject:  Re: Code problem with missile-launcher

Geti wrote:
i'd like a good epic mech/tank though. i'd probably prefer a walker but god knows ACrab legs are a ♥♥♥♥♥. and i do.

Don't discard the mech in the future, but I've got to start by some place...
And yes, this Acrab its a :x ... reinvent the wheel!! now!!!!

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/