Data Realms Fan Forums http://45.55.195.193/ |
|
Question: how to mount a gun on a dropship http://45.55.195.193/viewtopic.php?f=1&t=16748 |
Page 1 of 1 |
Author: | dragonxp [ Mon Oct 05, 2009 12:10 am ] |
Post subject: | Question: how to mount a gun on a dropship |
so i need to use lua or not? SOLVED! |
Author: | Benpasko [ Mon Oct 05, 2009 12:12 am ] |
Post subject: | Re: Question: how to mount a gun on a dropship |
You'll probably need Lua. I'm not an expert, and wouldn't know the exact method, but I'm pretty sure it involves attaching an ACrab to the ship, and making them not able to move. |
Author: | Grif [ Mon Oct 05, 2009 12:18 am ] |
Post subject: | Re: Question: how to mount a gun on a dropship |
From an expert: Make a functionally aiming base class. Usually this is an ACrab for simplicity, but it's not the only way to do it. Use trigonometry to, through lua, perform a "pseudo-attachment;" that is, update the position of the turret relative to the rotation and velocity of the parent dropship. It's quite simple if you know lua. |
Author: | dragonxp [ Mon Oct 05, 2009 12:28 am ] |
Post subject: | Re: Question: how to mount a gun on a dropship |
sounds relatively complicated. but i may try. |
Author: | MaximDude [ Mon Oct 05, 2009 1:12 pm ] |
Post subject: | Re: Question: how to mount a gun on a dropship |
Like this? Well, it isn't that complicated, but the main problem is to make it move naturally, as if it was a non-lua attachable... |
Author: | Rawtoast [ Mon Oct 05, 2009 3:16 pm ] |
Post subject: | Re: Question: how to mount a gun on a dropship |
I find that the best way to learn anything in Cortex Command is to just look at someone else's attempts. As well intended and still very much helpful as advice from the Mod Making forums is, it's generally pretty hard to absorb and process if you're starting with a blank ini. Download a mod with a dropship that has a gun attached to it and just pour through the scripting. Change stuff around, see what breaks it and try and figure out why it broke. I don't think anyone would even mind if you just started by respriting someone else's gun mounted drop ship (giving them credit, of course), and then moving on to change more physical attributes. |
Author: | dragonxp [ Mon Oct 05, 2009 11:12 pm ] |
Post subject: | Re: Question: how to mount a gun on a dropship |
MaximDude wrote: Like this? [img]DON'T%20IMAGE%20QUOTE[/img] Well, it isn't that complicated, but the main problem is to make it move naturally, as if it was a non-lua attachable... almost just has to be a mg (machine gun.) |
Author: | Foa [ Tue Oct 06, 2009 2:56 am ] |
Post subject: | Re: Question: how to mount a gun on a dropship |
dragonxp wrote: MaximDude wrote: Like this? [img]DON'T%20IMAGE%20QUOTE[/img] Well, it isn't that complicated, but the main problem is to make it move naturally, as if it was a non-lua attachable... almost just has to be a mg (machine gun.) That is a heavy machine gun, large shells, deadly bullets, fast fire rate. |
Author: | MaximDude [ Fri Oct 09, 2009 4:38 pm ] |
Post subject: | Re: Question: how to mount a gun on a dropship |
Foa wrote: That is a very heavy machine gun, ♥♥♥♥ large shells, extremely deadly bullets, Fixed. |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |