Outdated D15 Technical with Working Gun (NEW VERSION ON REPO)

Discussion in 'Mods and Skins' started by Stoat Muldoon, Mar 13, 2017.

  1. Stoat Muldoon

    Stoat Muldoon
    Expand Collapse
    BeamNG Team

    Joined:
    Jun 21, 2013
    Messages:
    317
    UPDATE 2: No longer interferes with D15's tailgate. Not the best fix but it works. It also could be slight more tolerant of low FPS, I'm not sure. Try it and see I guess.

    UPDATE:
    Skins fixed, thanks to @Inertia and @Nadeox1. :D You can now have the rusty insurgent vehicle of your dreams. Still breaks the tailgate, so no repo yet. :p I also corrected the spelling of technical in some places (thanks again to Inertia to pointing that out), including the zip name so you will have to delete the old one.

    Hi everyone

    Introducing the D15 Technical, with a mounted .50 cal machine gun.

    Thought I'd build my machine gun concept into something people can use to actually shoot stuff, rather than have it mounted on a plane which can be a bit tricky to aim. So I made this. Aimed with the mouse, fires with left mouse button. Has 200 rounds in the belt and has an animated recoiling barrel,a reciprocating charging handle and a moving ammo belt. The mesh is nothing special, I just knocked it out in about 30 minutes :p



    PROBLEMS WITH THIS MOD
    - It does not play nice with other D15 mods that have their own input_actions files, and will either break them or not work.
    - The aiming can be a little difficult, it points roughly where the mouse is in chase and first person cams, but the MG sight cam is messed up because the refnodes are on the truck, not the gun. As far as I know there's nothing I can do about that.
    -The tracers don't disappear when the bullets hit something.

    Other than that it works quite well.

    If it weren't for it breaking the D15 slightly, I would submit it to the repo, but since it does I can't. I probably wont be working any more on this unless there are some really nasty bugs that need fixing, as I have my Me262 to be worrying about.

    Lastly, feel free to reuse the concept and mechanism on your own mods, but if you wouldn't mind crediting me, that would be nice. :)

    Enjoy!
     

    Attached Files:

    #1 Stoat Muldoon, Mar 13, 2017
    Last edited: Mar 16, 2017
    • Like Like x 4
  2. KKG Clan

    KKG Clan
    Expand Collapse

    Joined:
    May 30, 2016
    Messages:
    337
    I wanted to make a gun which was just on a stand, but unfortunately couldn't do because I have zero modding abilities. Awesome mod.
     
    • Like Like x 1
  3. Youngtimer

    Youngtimer
    Expand Collapse

    Joined:
    Jun 15, 2016
    Messages:
    1,017
    Awesome!!!!
     
  4. KKG Clan

    KKG Clan
    Expand Collapse

    Joined:
    May 30, 2016
    Messages:
    337
    Here's a picture of the destruction caused by just 200 rounds
     

    Attached Files:

    • screenshot_00096.png
  5. Razr7

    Razr7
    Expand Collapse

    Joined:
    Jan 2, 2017
    Messages:
    35
    The horrible thing for is controlling the weapon with mouse control, the game wouldn't let remove the mouse control bindings other great mod
     
  6. Inertia

    Inertia
    Expand Collapse

    Joined:
    Dec 29, 2015
    Messages:
    1,618
    This is freaking awesome, I'm looking into the materials issue now.
     
  7. FireStriker

    FireStriker
    Expand Collapse

    Joined:
    Jan 8, 2016
    Messages:
    1,841
    IT'S A DREAM COME TRUE!! :D
     
  8. Sagarci

    Sagarci
    Expand Collapse

    Joined:
    Sep 12, 2015
    Messages:
    927
    I LOVE YOU MAN! This is Epic!
     
  9. JBatic

    JBatic
    Expand Collapse

    Joined:
    Jan 22, 2015
    Messages:
    1,090
    looks cool, maybe mod support can help you with it breaking the D series
     
  10. Inertia

    Inertia
    Expand Collapse

    Joined:
    Dec 29, 2015
    Messages:
    1,618
    I got the materials working, I'll PM you about it :)
     
  11. Shotgun Chuck

    Shotgun Chuck
    Expand Collapse

    Joined:
    Mar 6, 2015
    Messages:
    1,353
    I can't believe someone actually did it, functional with fully physics-based mechanism and ammo storage and everything. I'm not sure about the rounds smashing up a car like that, but you, sir, are a legend.
     
  12. JBatic

    JBatic
    Expand Collapse

    Joined:
    Jan 22, 2015
    Messages:
    1,090
    how do you aim it, I point it at a car but when I shoot at it it does nothing
     
  13. Inertia

    Inertia
    Expand Collapse

    Joined:
    Dec 29, 2015
    Messages:
    1,618
    Use your mouse. I find you have to aim lower than the target to hit stuff, also you can't really aim at short distances as you can't go low enough.
     
  14. FLyInG 2 YoUr SoUL

    FLyInG 2 YoUr SoUL
    Expand Collapse

    Joined:
    May 31, 2016
    Messages:
    5,127
    Tailgate can't open because your custom input actions basically take priority over the original ones. :)
     
    • Agree Agree x 1
  15. mtslittow

    mtslittow
    Expand Collapse

    Joined:
    Sep 28, 2012
    Messages:
    124
     
  16. Nadeox1

    Nadeox1
    Expand Collapse
    Administrator
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,091
    It breaks the entire D15 materials, because you can have only 1 'materials.cs' file (as you cannot have two files with the same name in a folder).
    So yours override the original 'materials.cs' file

    Move your files into a sub-folder and it will work out normally.



    It breaks the tailgate function as you also override the 'inputmaps' folder with your mod.
    At the moment there isn't a real solution for that.
     
    #16 Nadeox1, Mar 14, 2017
    Last edited: Mar 14, 2017
  17. Stoat Muldoon

    Stoat Muldoon
    Expand Collapse
    BeamNG Team

    Joined:
    Jun 21, 2013
    Messages:
    317
    Found a fix for the inputs, I just added the lines from the D15's own input_actions file to the mod one, and it works fine now. Useful info for anyone trying to do the same. I think it's repo-eligible now. :p
     
  18. Nadeox1

    Nadeox1
    Expand Collapse
    Administrator
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,091
    That could work, until the original one changes (if it will) :p
     
  19. Fast-Subaru71

    Fast-Subaru71
    Expand Collapse

    Joined:
    Oct 21, 2015
    Messages:
    364
    Awesome mod !
    The only problem I have is that strangely enough, it doesn't seem to fire bullets when I play with it.
     
    • Agree Agree x 3
  20. Stoat Muldoon

    Stoat Muldoon
    Expand Collapse
    BeamNG Team

    Joined:
    Jun 21, 2013
    Messages:
    317
    Are the controls bound? I might have done something to the input maps by accident
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice