1. Intel iGPU (6xx series) crashes
    Fixed drivers available!
    Instructions here

    Dismiss Notice

Released Temporary Discussion Thread for Spaced Out: Wheel Spacers 22

Universal wheel spacer system. Fix your stance.

  1. torsion

    torsion
    Expand Collapse

    Joined:
    May 31, 2015
    Messages:
    1,619
    Thanks!

    You're right, the current parts system does not allow for recursive parts (eg self-referencing / infinite recursion). The way this mod works is actually slight-of-hand. I wrote a Lua script for automatically modifying parts. For any given wheel/tire slot that it works with Spaced Out generates one or more evil twin slots. For example, if the slot is 'wheel_abc' then the mod will generate a slot called 'torsion_wheel_abc_offset+60' for the 60mm offset parts. It also creates modified copies of all the parts that fit into this slot. If you look at your log or console you should see some output related to that process. This mod was created 3 years ago, before the recent jbeam variable upgrades (eg math and conditional expressions). I'll likely be making some changes to accommodate the new jbeam variable capabilities.

    :-| Given the above, it's definitely not stackable. It's possible that 'spacer skins' might one day give the appearance of stacked spacers (as well as colored / anodized aluminum spacers).
     
  2. AX53

    AX53
    Expand Collapse

    Joined:
    Aug 6, 2013
    Messages:
    349
    Ah that's an interesting strategy for sure. And I assume it removes the part afterwards so it doesn't hoard up evil clones over time? Just in case some wheel mods gets updated or removed. Creative method non the less :)
     
  3. torsion

    torsion
    Expand Collapse

    Joined:
    May 31, 2015
    Messages:
    1,619
    Yes, there are a few related strategies here:
    1. The script generates new parts again on a regular basis: every time a mod is enabled or disabled as well as every time the game launches.
    2. Temporary files are frequently deleted. Every time the script runs, it deletes the existing files before generating new ones. Temporary files are also deleted when the game is closed, as well as if the mod thinks that it's been disabled using the mods manager.
    3. We pull parts from 3 virtual filesystem paths: \vehicles\common\wheels, \vehicles\common\tires, and \vehicles\common\hubcaps. Since those are virtual filesystem paths the real files could be in any of the locations that the game merges (packed or unpacked mods, official content locations, and also the traditional unpacked paths in the user documents / "My Documents" beamng.drive folder. The parts generated by the mod are stored in a path like "Documents\BeamNG.drive\vehicles\common\torsion\spacedout" - you'll note that while this is in \common, it does not actually overlap with any of the paths used to ingest parts. Even in the case of a glitch there should be no recursion because the mod won't read in files from \vehicles\common\torsion.
    4. The "Documents\BeamNG.drive\vehicles" path is also one which gets cleared as part of a "clear cache" operation from the launcher.
     
    • Like Like x 1
  4. torsion

    torsion
    Expand Collapse

    Joined:
    May 31, 2015
    Messages:
    1,619
    • Like Like x 1
  5. 711GAMING

    711GAMING
    Expand Collapse

    Joined:
    Aug 21, 2015
    Messages:
    14
    • Like Like x 1
  6. Jared Gavin Besanceney

    Jared Gavin Besanceney
    Expand Collapse

    Joined:
    Oct 6, 2019
    Messages:
    6
    Hi, I don't know if I'm just stupid, but I cant seem to find the spacers, or implement them into the game. I have looked everywhere and still haven't found anything. Help would be greatly appreciated. Thanks
     
  7. torsion

    torsion
    Expand Collapse

    Joined:
    May 31, 2015
    Messages:
    1,619
    Post your beamng.log and we'll take a look. It's inside your Documents\BeamNG.drive\ directory.
     
  8. Jared Gavin Besanceney

    Jared Gavin Besanceney
    Expand Collapse

    Joined:
    Oct 6, 2019
    Messages:
    6
    Sorry for the late reply :)
     

    Attached Files:

  9. torsion

    torsion
    Expand Collapse

    Joined:
    May 31, 2015
    Messages:
    1,619
    Thanks for posting the log. I think that your problem is this mod. If you'd like you can temporarily use the file which I posted here until @ItsYourBoi has a chance to work on that mod again. Are you running the latest version of Spaced Out?
     
  10. Jared Gavin Besanceney

    Jared Gavin Besanceney
    Expand Collapse

    Joined:
    Oct 6, 2019
    Messages:
    6
    Thanks for the feedback, I appreciate your help man, great mod's btw (D-Up, and Spaced Out)
     
    • Like Like x 1
  11. ItsYourBoi

    ItsYourBoi
    Expand Collapse

    Joined:
    Mar 8, 2015
    Messages:
    400
    Do you know what's doing the conflict? I will repair it next update.
     
  12. torsion

    torsion
    Expand Collapse

    Joined:
    May 31, 2015
    Messages:
    1,619
    Yes, it's the location of some of the parts. You probably didn't realize it when you were working on the mod, but putting parts in different paths is for more than just keeping organized. See what I wrote in the quote below:

    After thinking about it some more it might actually make more sense to put the special non-tire parts like the stickies option in something unique like \common\tireparts\ rather than in \common\tires\. That's not a huge deal at the moment... I'd focus on getting tires into vehicles\common\tires, wheels into vehicles\common\wheels, and hopper parts into vehicles\hopper for now. Getting those into the appropriate places should make Spaced out play 100% nice with your mod right away.
     

    Attached Files:

  13. I_Like_Trophy_Trucks

    I_Like_Trophy_Trucks
    Expand Collapse

    Joined:
    Aug 26, 2019
    Messages:
    768
    Cant find the spacers or my log. at the bottom of the beamng file there is beamng, beamng.2, and beamng.3. im not sure which one my log is
     

    Attached Files:

  14. torsion

    torsion
    Expand Collapse

    Joined:
    May 31, 2015
    Messages:
    1,619
    The one without a number is the log from your most recent run of the game. The one with the "2" suffix is from the second most recent time you played, and the one with the "3" suffix is from the 3rd most recent time you played.

    1. In your oldest log, the Spaced Out mod is never loaded at all.
    2. In your 2nd oldest log, the Spaced Out mod is never loaded at all.
    3. In your most recent log ("beamng.log"), it looks like you downloaded the Spaced Out mod from the repo. The mod never loads or runs though. You may just need to restart BeamNG once.

    If that doesn't fix it: make sure that the mod is enabled in the in game mod manager, restart the game again, and then post "beamng.log".
     
  15. xXGameGlitchXx

    xXGameGlitchXx
    Expand Collapse

    Joined:
    Apr 4, 2015
    Messages:
    21
    So none of the spacers work in the rear on the d series with the wheels that come with the game
     
  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