Released Retractable Spoiler (Bolide)

Discussion in 'Mods and Skins' started by hummiliation, Jul 18, 2014.

  1. hummiliation

    hummiliation
    Expand Collapse

    Joined:
    Aug 8, 2013
    Messages:
    15
    Hey,

    I was curious what can be done with only a few lua lines, so I made me a little auto retractable Spoiler for the Bolide. I don't say its pretty, it isn't, look at it more like a proof of concept. It wasn't hard to implement and only an afternoon worth of tinkering, but maybe its useful or fun to somebody who doesn't know to do it himself or where to start.

    It is aerodynamically functional. It extends when you hit 50 Km/h to high down force position, at 120 km/h it retracts half way and fully retracts over 180km/h to reach top speed. When you hit the brakes with 30% force or more then it extends to air brake position. (brake input) You can play with the speed values in the lua file if you want.
    The Top speed is decreased sadly because I set a pretty high drag coefficient to increase the down force effect

    retractableSpoilerLetterbox80Percent.gif screenshot_00012.png

    I hope everything works and I didn't forget something. Simply extract the folder into the vehicle folder, no original Content will be overridden.


    Of course I only modified a few files, so all credit for the model, jBeam and so on goes to the BeamNG-Team. You can use the mod however you want.
    Due to some clipping issues I had to disable self collision of the tailcone, disabled self collision of the spoiler wasnt enough, don't know why really.
     

    Attached Files:

    #1 hummiliation, Jul 18, 2014
    Last edited: Jul 23, 2014
    • Like Like x 3
  2. Braindead

    Braindead
    Expand Collapse

    Joined:
    Jan 22, 2014
    Messages:
    125
    Wow! Looks awesome, downloading now. I didn't know moving parts would be so simplistic to implement. I would love to see more modern cars added in the future with extending spoilers.

    -Edit-

    Works perfectly :) I would say the difference starts to be noticeable once you can get your foot down without the wheels spinning, at mid to high speeds.
     
    #2 Braindead, Jul 18, 2014
    Last edited: Jul 18, 2014
  3. Autofan

    Autofan
    Expand Collapse

    Joined:
    Jun 26, 2013
    Messages:
    470
    This is really cool. Thanks for uploading :D
     
  4. pulley999

    pulley999
    Expand Collapse

    Joined:
    Jan 21, 2013
    Messages:
    824
    Works wonderfully, also seems to marginally improve handling and help make the car overall a bit more forgiving.
     
  5. Doug7070

    Doug7070
    Expand Collapse

    Joined:
    Aug 7, 2013
    Messages:
    107
    This is a seriously cool mod, and also helps pave the way for future vehicles and vehicle mods with novel LUA controlled functions. Bravo.
     
  6. JAM3SwGAM3S

    JAM3SwGAM3S
    Expand Collapse

    Joined:
    Jul 1, 2013
    Messages:
    380
    This is impressive, Although it would be nice to see a small video or gif as an example of the mod :)
     
  7. Godzilla!

    Godzilla!
    Expand Collapse

    Joined:
    Mar 17, 2013
    Messages:
    2,248
    Here:

    It isn't short but it's all about this mod on DSC Bajarama.
    I love this mod.
     
    #7 Godzilla!, Jul 22, 2014
    Last edited by a moderator: Oct 21, 2015
  8. JAM3SwGAM3S

    JAM3SwGAM3S
    Expand Collapse

    Joined:
    Jul 1, 2013
    Messages:
    380
    Thank you :)
     
  9. Braindead

    Braindead
    Expand Collapse

    Joined:
    Jan 22, 2014
    Messages:
    125
    Something I noticed about this was the effect on top speed (only tested with the 390GTR)
    After using the spoiler the top speed is quite severely lowered. This would make sense due to the added downforce, but the spoiler retracts at high speed which, like you said, should counter this.

    Not that you're obliged to fix, I was just letting you know :)

    -EDIT-
    derp
    I think you may have updated the post after I first downloaded or i just missed it, didn't see that you had pointed this out already.
     
  10. Nikitaman369

    Nikitaman369
    Expand Collapse

    Joined:
    Jan 16, 2014
    Messages:
    68
    idk if this is normal?
    Plz help!
     

    Attached Files:

    • BeamNG.drive 2014-07-23 19-22-42-356.jpg
  11. hummiliation

    hummiliation
    Expand Collapse

    Joined:
    Aug 8, 2013
    Messages:
    15
    Here you go:


    But only because I always wanted to try out screen capturing ;)


    Yes I added that disclaimer a little afterwards ^^ .

    The problem seems to be that when the Triangle is not perfectly flat it produces still drag, or it produces a little drag, even when its not facing the "wind". Also, i went a little overboard with the drag value to see a better effect when it rises. If you really want you could go into super_spoiler.jbeam and search and delete "{"dragCoef":500}," , then the drag for the spoiler uses the default Value.


    No thats not normal but I have no clue what happened there. Nobody else seems to have that problem. Try to delete the folder and copy the complete folder from the archive into vehicles again.
     
  12. Nikitaman369

    Nikitaman369
    Expand Collapse

    Joined:
    Jan 16, 2014
    Messages:
    68
    I've tried this 4 times but it doesn't help:(
     
  13. gabester

    gabester
    Expand Collapse
    Vehicle Director
    BeamNG Team

    Joined:
    Jun 6, 2012
    Messages:
    2,653
    I'm afraid whatever effects you are experiencing are a placebo. I've been debugging downforce with the spoiler on the Sunburst, and thought I would test your spoiler to see if and how it worked. I compared it to the standard Bolide and your spoiler simply does not create any downforce. The standard Bolide has the same amount of downforce/lift at 130 mph as it does stopped, and your spoiler doesn't change that.

    EDIT: There is also no change in downforce in the intermediate speeds, where your spoiler is fully deployed.
     
    #13 gabester, Jul 27, 2014
    Last edited: Jul 27, 2014
  14. Goosah

    Goosah
    Expand Collapse
    Global Moderator
    BeamNG Team

    Joined:
    Aug 30, 2013
    Messages:
    790
    Maybe the drag from behind helps stabilize the car like the fins on a rocket for example. Center of drag behind center of mass = stable.

    Sent from my HTC-X710a using Tapatalk 2
     
  15. hummiliation

    hummiliation
    Expand Collapse

    Joined:
    Aug 8, 2013
    Messages:
    15
    Well, if you bind the hydros to lets say, turnsignal or headlights and extend the spoiler at about 100 kmh or even better at 160 kmh, you can observe that the rear of the car is in fact being pushed down. That for me is an indicator of more downforce, or not? I just testet it again with outLimit 1.07.
    What I cant speak for is the better handling claims, didnt test it to detailed.

    Edit:
    downforce.gif
     
    #15 hummiliation, Jul 27, 2014
    Last edited: Jul 27, 2014
  16. gabester

    gabester
    Expand Collapse
    Vehicle Director
    BeamNG Team

    Joined:
    Jun 6, 2012
    Messages:
    2,653
    Yes, if you force it to have a severe AOA like that at high speed it will generate some downforce, but in its current state it never generates anything significant.
     
  17. hummiliation

    hummiliation
    Expand Collapse

    Joined:
    Aug 8, 2013
    Messages:
    15
    What I posted, is exactly the current state. I only triggert it manually to show you the transition effect. :confused:
    And what you think is significant or worth it, is then up to you really...

    Well, I dont know if we're talking past each other now.

    Edit: here is the lua script that enables you to override the speedcontrolled pull out. Turnsignal left is turn off and turnsignal right is lock it at the regular high downforce position. Just replace the original one.
     

    Attached Files:

    #17 hummiliation, Jul 27, 2014
    Last edited: Jul 27, 2014
  18. gabester

    gabester
    Expand Collapse
    Vehicle Director
    BeamNG Team

    Joined:
    Jun 6, 2012
    Messages:
    2,653
    My point is that the normal logic the spoiler uses to extend/retract never really gives you enough downforce to notice. If you go fast enough for it to really press the rear down, it folds back down again to reduce drag. Also, your dragCoef of 500 is absurd; 100 is the upper edge. A wing really has to be massive with a very steep angle of attack to generate meaningful downforce. Setting a dragCoef of 500 is basically cheating the laws of aerodynamics.
     
  19. hummiliation

    hummiliation
    Expand Collapse

    Joined:
    Aug 8, 2013
    Messages:
    15
    Every post another point? If you say so. If you read my original post you notice that I did that on purpose, what you clearly see (<- that was my whole point of the mod) at dragCoeff 500 happens less, but happens at a lower dragCoefficient too. Oh and show me where the car rotates so much that the Wing has no more angle of attack... Of course not every car has to have formula one car like down force, just look at the R8 Spoiler, its tiny.
     
  20. CarGuy001

    CarGuy001
    Expand Collapse

    Joined:
    Jul 4, 2016
    Messages:
    4
    Is it possible to keep the spoiler up?
     
  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