Author |
Message |
Emogotsaone
Joined: Mon Mar 07, 2011 2:18 am Posts: 717
|
Stationary Gun?
I am currently making a Old West mod and was wanting a hand cranked gatling gun. Now of course, this cannot be carried (Unless I add some badass dude to) by any normal person, so I give you a question. How can you make a gun stationary (Or rolled around on wheels) and have actors use them when they walk up to it? Reference picture: http://www.justguns.com/images/stories/ ... -Gun-1.jpg
|
Sat May 07, 2011 1:21 am |
|
|
Kettenkrad
Joined: Mon Oct 25, 2010 5:51 am Posts: 1198 Location: Sydney
|
Re: Stationary Gun?
I just had a sudden sense of deja vu. This has been asked before somewhere... Anyway, just try using the Dummy MG turret, re-sprite it, delete attachables, and add a .lua script that makes it controllable if there is an actor near it. Or even just re-sprite and recode my nebelwerfer.
|
Sat May 07, 2011 1:29 am |
|
|
Emogotsaone
Joined: Mon Mar 07, 2011 2:18 am Posts: 717
|
Re: Stationary Gun?
You want to help me out with this? I don't think I could sprite and do all this fancy Lua stuff. Would you like to teach me so I can learn how to do this in the future?
|
Sat May 07, 2011 1:36 am |
|
|
Kettenkrad
Joined: Mon Oct 25, 2010 5:51 am Posts: 1198 Location: Sydney
|
Re: Stationary Gun?
Well, I don't know the .lua magic, but I can try and help with the sprites and code. First things first... We can use this code as a basis. It has everything we need, apart from the gun's code. You can delete all that nebelwerfer cannon stuff at the top. Now you need sprites. Its probably best if you have one big bitmap with all the components on it, with something for scale too. If you can sprite just an outline, then I'll fill it up and make it look pertty.
|
Sat May 07, 2011 1:54 am |
|
|
Emogotsaone
Joined: Mon Mar 07, 2011 2:18 am Posts: 717
|
Re: Stationary Gun?
So I need to get the ouline for the gatling gun sprite. Such as the wheel, gun, magazine, and base? (Crank too)
|
Sat May 07, 2011 2:26 am |
|
|
Kettenkrad
Joined: Mon Oct 25, 2010 5:51 am Posts: 1198 Location: Sydney
|
Re: Stationary Gun?
Yup, just get your perspective and scale right before anything else.
|
Sat May 07, 2011 2:27 am |
|
|
Emogotsaone
Joined: Mon Mar 07, 2011 2:18 am Posts: 717
|
Re: Stationary Gun?
I'm just trying to get some specs on this thing...
It has 6-8 barrels, but other than that (Such as length, width and weight) are all different. But I'll try to just use measurments close to CC averages.
|
Sat May 07, 2011 2:46 am |
|
|
Emogotsaone
Joined: Mon Mar 07, 2011 2:18 am Posts: 717
|
Re: Stationary Gun?
And here is what I got, note that there is not a wheel yet, that is because I thought it would be easier to size it to how you want it.
Attachments:
File comment: Gatling Gun
Gatling Gun.bmp [4.05 KiB]
Not downloaded yet
|
Sat May 07, 2011 3:21 am |
|
|
maart3n
Joined: Tue Dec 23, 2008 8:04 pm Posts: 1545
|
Re: Stationary Gun?
I'm very sorry to tell you this, but you guys are wasting your time. CC48 already did it. viewtopic.php?f=61&t=17051All you have to do is resprite and attach the gun from the moment you spawn it.
|
Sun May 08, 2011 3:36 pm |
|
|
Emogotsaone
Joined: Mon Mar 07, 2011 2:18 am Posts: 717
|
Re: Stationary Gun?
Derp. Thanks!
|
Sun May 08, 2011 10:44 pm |
|
|
|