Skip to content

Olrosse/BeamNG-Path-based-Drafting-Mod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

A Path based drafting mod for BeamNG

Works in both single player and multiplayer

This mod Draws a 3d line/path behind each vehicle which applies either wind or forces to cars that are in it, This means it will linger around corners, or in a plane you can fly through your own draft if you turn around quickly enough.

If you follow a car very close, it will also apply up to 20% of the following car's force, giving the lead car a slight push even without contact,

Right now the draft is quite sensitive to how close to the center you are, but it's on my todo list to improve that, for now it's very beneficial to follow the line of the car ahead as closely as possible

The trails are purely a visual effect, they don't show the actual draft strength, they show up if a car is in the draft, and turn off if no car is in it

The performance should be similar to Luuks mod with default settings, but may be worse with a lower decay setting, the code takes about the same time to run, only that it runs on each vehicle instead of in the Game Engine lua, There is still a lot that can be optimized and restructured, But it's not a priority right now

BeamMP Installation

  1. Download the newest version from the release page
  2. Open the zip and put what's in the Client folder into your server's "Recources/Client" folder and Server files into "Recources/Server"

Server Chat Commands

  1. /draftingPath help lists all commands
  2. /draftingPath enable Enables the draft
  3. /draftingPath disable Disables the draft
  4. /draftingPath toggle toggles the draft
  5. /draftingPath multiplier 0.3 : multiplier for the draft force, 0.3 default
  6. /draftingPath stackMul 0.5 : multiplier for how much extra draft car 2 3 etc gets,0 means car 2 and 3 gets the same force as car 1, 1 adds them all up, 0.5 is default, can be unstable outside of 0 and 1
  7. /draftingPath decayMul 1 : multiplier for how quickly the draft decays, 0 makes draft stay forever until the wind node cap is reached, lower values can lower fps
  8. /draftingPath enableTrails Enables visible trails, similar to GTA 5
  9. /draftingPath disableTrails: Disables the Trails
  10. /draftingPath toggleTrails toggles : the Trails
  11. /draftingPath enableArcadeMode : "Enables force mode and disables wind, force doesn't affect down force, wind does
  12. /draftingPath disableArcadeMode : Disables the force mode and enables wind
  13. /draftingPath toggleArcadeMode : toggles the ArcadeMode

Debug commands

  1. /draftingPath enableDrawDebug : shows the path using the debug drawer
  2. /draftingPath disableDrawDebug : Disables the DrawDebug
  3. /draftingPath toggleDrawDebug : toggles the DrawDebug
  4. /draftingPath enableAdvancedDebug : Shows more debug, like the area the wind is applied too
  5. /draftingPath disableAdvancedDebug : Disables the AdvancedDebug
  6. /draftingPath toggleAdvancedDebug : toggles the AdvancedDebug

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages