View unanswered posts | View active topics It is currently Wed Apr 24, 2024 8:24 pm



Reply to topic  [ 7 posts ] 
 Adding a gun to a Dropship 
Author Message

Joined: Tue Oct 23, 2012 12:24 am
Posts: 19
Reply with quote
Post Adding a gun to a Dropship
Tried searching, and couldn't find any topics, so was wondering if anyone has tried this yet? I am trying to get a gun mounted to the bottom of a dropship so that, obviously, awesomeness can ensue when dropping troops off in a hot LZ.

Any ideas? I've had a stab at it, however it would require (as far as I can tell) re-doing the pie menu for said dropship, and possibly a custom lua script.


Sat Jan 12, 2013 10:28 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Tue May 25, 2010 8:27 pm
Posts: 4521
Location: Constant motion
Reply with quote
Post Re: Adding a gun to a Dropship
Guns don't naturally attach to dropships like crabs, you have to do some trickery to get them good, using emitters or flying crabs and repositioning them as the actor moves - then you have to work with a control system. For more information, take a look at some examples by Abdul Alhazred, including the Experimental Dummy Vehicles and his gunship mod.


Sat Jan 12, 2013 10:52 pm
Profile

Joined: Fri Sep 10, 2010 1:48 am
Posts: 666
Location: Halifax, Canada
Reply with quote
Post Re: Adding a gun to a Dropship
Of for a simpler (I think) method, take a look at how it's done in Unitec. Those guns aren't controllable though, so if you want controllable guns you'd have to take roast's advice.


Sun Jan 13, 2013 5:05 am
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Tue May 25, 2010 8:27 pm
Posts: 4521
Location: Constant motion
Reply with quote
Post Re: Adding a gun to a Dropship
Yeah of course you can abandon a control system and develop an AI for your guns to keep it simple.


Sun Jan 13, 2013 5:17 pm
Profile
DRL Developer
DRL Developer

Joined: Tue Aug 11, 2009 5:09 am
Posts: 395
Reply with quote
Post Re: Adding a gun to a Dropship
I wrote a very basic script like that (mouse or kb controlled gun) for somebody else a long time ago that you can have a look at. Anyone is of course welcome to do whatever they want with it, but remember that it is very basic so there is still a lot of work to make this in to something polished.


Attachments:
Gunship.lua [2.26 KiB]
Downloaded 323 times
Mon Jan 14, 2013 4:03 pm
Profile
User avatar

Joined: Wed Feb 10, 2010 4:06 am
Posts: 1294
Location: Comox, BC, Canada
Reply with quote
Post Re: Adding a gun to a Dropship
AND LO, THE LORD OF LUA HAS SPOKEN


Tue Jan 15, 2013 2:04 am
Profile WWW

Joined: Tue Oct 23, 2012 12:24 am
Posts: 19
Reply with quote
Post Re: Adding a gun to a Dropship
Cheers guys for the help, sorry I've been away recently so have only had a chance to have a shifty on here for some responses. The non-controllable turret option sounds best for what I'm making atm, so thanks for the tips. I'll have a go with these tomorrow at some point and let you know how it goes.


Sat Jan 19, 2013 5:57 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 7 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.054s | 18 Queries | GZIP : Off ]