View unanswered posts | View active topics It is currently Thu Jan 09, 2025 10:23 pm



Reply to topic  [ 9 posts ] 
 Question: how to mount a gun on a dropship 
Author Message
User avatar

Joined: Wed Sep 09, 2009 3:16 am
Posts: 3032
Location: Somewhere in the universe
Reply with quote
Post Question: how to mount a gun on a dropship
can anyone help please?
so i need to use lua or not?


SOLVED!


Last edited by dragonxp on Sat Oct 17, 2009 2:47 am, edited 1 time in total.



Mon Oct 05, 2009 12:10 am
Profile
User avatar

Joined: Sun Aug 09, 2009 9:26 am
Posts: 1633
Reply with quote
Post 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.


Mon Oct 05, 2009 12:12 am
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post 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.


Mon Oct 05, 2009 12:18 am
Profile
User avatar

Joined: Wed Sep 09, 2009 3:16 am
Posts: 3032
Location: Somewhere in the universe
Reply with quote
Post Re: Question: how to mount a gun on a dropship
sounds relatively complicated.
but i may try.


Mon Oct 05, 2009 12:28 am
Profile
User avatar

Joined: Wed Nov 22, 2006 3:19 pm
Posts: 2073
Reply with quote
Post Re: Question: how to mount a gun on a dropship
Like this?
Image

Well, it isn't that complicated, but the main problem is to make it move naturally, as if it was a non-lua attachable...


Mon Oct 05, 2009 1:12 pm
Profile
User avatar

Joined: Mon Apr 06, 2009 9:41 am
Posts: 712
Location: New York
Reply with quote
Post 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.


Mon Oct 05, 2009 3:16 pm
Profile YIM
User avatar

Joined: Wed Sep 09, 2009 3:16 am
Posts: 3032
Location: Somewhere in the universe
Reply with quote
Post 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.)


Mon Oct 05, 2009 11:12 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Wed Sep 05, 2007 4:14 am
Posts: 3966
Location: Canadida
Reply with quote
Post 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.


Tue Oct 06, 2009 2:56 am
Profile
User avatar

Joined: Wed Nov 22, 2006 3:19 pm
Posts: 2073
Reply with quote
Post Re: Question: how to mount a gun on a dropship
Foa wrote:
That is a very heavy machine gun, ♥♥♥♥ large shells, extremely deadly bullets, fast rather slow fire rate.


Fixed.


Fri Oct 09, 2009 4:38 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 9 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.049s | 14 Queries | GZIP : Off ]