Results 1 to 8 of 8

Thread: 2 Muzzles 1 Gun

  1. #1

    2 Muzzles 1 Gun

    Hi all

    First time putting something into Arma, so you'll have to go easy on this 'ere lad.

    Having a little bit of an 'issue' with my FW190. Everything was going swimmingly until it came to add weapons. After much searching, I eventually got the muzzleflashes etc working, but then I hit a brick wall.

    Trying to get the machine gun to fire from the two barrels that the 190 has on the wings. Adding the "memoryPointGun" line (with the appropriately named Memory Point in the Memory LOD), was great for getting the thing to fire from where I wanted to - but only on one side (the side the Memory Point was placed). I figured that there was no way to do it, until I remembered that the Littlebird has 'two' fire points for its single machine gun. So I gutted that 'bird and found what I thought was the relevant sections and added it to my config. It fires, but alas, from a single point (the centre of the model).

    config.cfg
    Spoiler:


    model.cfg
    Spoiler:


    Now, in the memory lod, I have points called muzzle_1, muzzle_2, chamber_1 , chamber_2 as per the Littlebird config and then the rest of the lods are just the standard ones for getting animations on the gear, prop, control surfaces etc.



    I am as stuck as Steve the Sparrow who flew into the glue factory and ended up inside one of the vats.

    Sorry for the long post, and any help would be gratefully appreciated (you'd also keep my barber in business, as I might actually have some hair left).

  2. #2
    Gunnery Sergeant Scars09's Avatar
    Join Date
    May 26 2005
    Location
    location, location
    Posts
    475
    i guess this belongs to the "no turret on airplane" problem. helicopters can have multiple turrets, and therefor multiple defined muzzles/muzzleflashes, airplanes cant. workaround i used is to change the weaponsclass to be rocketbased instead of shellbased. defining my own rockets, with values as the bullets would have and defining the tracer model as rocket. this way i could also add a little missilesmoke which looks pretty cool when firing. Rockets allow 2 firingpositions. using this workaround muzzleflashes won´t work, but they can be easily made as useranimation. maybe also take a look at the_few mod from csj, he has real mg´s firing using a scripted solution, think he spawns a bullet for everyone fired.
    sic semper tyrannis

  3. #3
    Or, check out BD MultiGunFix. It's optimized to do exactly what you want.
    VBS2 Designer

    Quote Originally Posted by Armored_Sheep View Post
    I like to call Arma a sandbox game that works pretty much like LEGO - you buy it not just because you want to have a nice car from the main picture on its box, do you?

  4. #4
    Thanks for the replies guys - got it squared away with scripts and whatnot.

    She's almost done, just need to add some sounds / bomb / tweak some stuff here and there and it'll be good to go. Although it was initially done as a 'proof of concept' type thing (wanted to start off with something small prior to trying to put my Lanc in), I might release it - depends on whether the finished plane is of a high enough standard.

    Thought I'd brighten up this thread with some pics;

    Render of the 190;


    And some in-game shots;


  5. #5

  6. #6
    Helicopter class with no turret allows 2 muzzles (ie Littlebird with miniguns), but effect didn't seem to be transferable to any other vehicle class.
    The Littlebird has two muzzles defined in the p3d, its not a script trick.

  7. #7
    Sorry but I couldn't help but laugh at the thread title.

    Carry on!

  8. #8
    2 girls, 1 cup??
    Hackintosh Windows 7/Mountain Lion. Intel i7-920 @3.8 Ghz.
    Gigabyte GA-EX58-UD5 Rev1. Palit GTX 680 4GB.
    6Gb DDR3 RAM. Corsair 650W PSU.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •