My cars have no parts, My maps that i release, the cars are drivable

Discussion in 'Mod Support' started by themightykasey, Feb 8, 2018.

  1. themightykasey

    themightykasey
    Expand Collapse

    Joined:
    Nov 20, 2013
    Messages:
    423
    as you can see, the cars are stripped, the map is saved. Yet, when i release the map, the cars have all the parts. What is the cause of this since there are some maps where the cars are stripped. i asked someone who made the map with stripped cars and he tried to fix mine to no avail.
     

    Attached Files:

    • BeamNGdriveScreenshot20180208-00164861.png
  2. Deleted member 160369

    Deleted member 160369
    Expand Collapse
    Guest

    I belive you have to spawn a stripped preset instead of spawning a vehicle, stripping it of parts and then save the map.

    You also need to include said presets in your pack.
     
  3. themightykasey

    themightykasey
    Expand Collapse

    Joined:
    Nov 20, 2013
    Messages:
    423
    Where do i include them?
    I use presets.
     
  4. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,697


    Simply specify there the configuration .pc file you want to use, and the game will use that when you load the level.
     
  5. themightykasey

    themightykasey
    Expand Collapse

    Joined:
    Nov 20, 2013
    Messages:
    423
    So i dont need to put anything into my map?
     
  6. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,697
    You place the vehicles on the level, and then make sure that in that part, the correct configuration is specified (if not, insert the path to the .pc file manually).

    That for each vehicle you want to be 'stripped'.
     
  7. themightykasey

    themightykasey
    Expand Collapse

    Joined:
    Nov 20, 2013
    Messages:
    423
    But would other people need that .pc file if they try to use my map?
     
  8. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,697
    Yes, you need to include it in your level, just make sure the path is correct.

    Another way to do that (not recommended as it doesn't always work) is doing your change in the part selector.
    Then, if you check that box you should see stuff similar this:

    Basically, that's the .pc file content, but directly in that box.
    (Equivalent to opening the .pc file, and copy pasting the content in the that textbox in-game)
    Like that, you don't have to include any .pc file, as the configuration is already saved inside the levels file.
     
  9. themightykasey

    themightykasey
    Expand Collapse

    Joined:
    Nov 20, 2013
    Messages:
    423
    it had the right file for the .pc it was vehicles/legran/blue crush.pc should be no spaces?


    edit, one car worked, it had the really long file line, copied and pasted it to the others, all disapeared.

    also, i made new dirt colors, all have their own line and all are the same except for the color. RockyDirt acts like dirt while all the colors act like concrete, any fix?
     

    Attached Files:

    • DesktopScreenshot20180208-19110526.png
    #9 themightykasey, Feb 9, 2018
    Last edited: Feb 9, 2018
  10. themightykasey

    themightykasey
    Expand Collapse

    Joined:
    Nov 20, 2013
    Messages:
    423
    here is my level, my cars wont spawn right and the dirt painted is concrete, yet the dirt which is dirt acts like dirt. help
     

    Attached Files:

  11. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,697
    Correction of my pot #8. That may not work, as the string can get too long and not display entirely in the editor (means if you copy it, you are missing parts. Would cause the vehicle to not load)


    Aside that, some things you should fix in the level:

    This main.level.json file is useless

    Delete it to avoid confusion.
    The game is reading (correctly), the one inside the main/missiongroup folder.


    Method 1 (cleaner)

    In that one, you have these:

    Of course, it doesn't work here as you did not included them in the ZIP (ie. I don't have those .pc files)

    Better but not needed, instead of placing the .pc files in the vehicles folder, you can simply put them in the your level, inside some other folder.
    Example:
    As far you got the correct path in the main.level.json it will work.




    Method 2 (easier)

    Another method, which doesn't require you to use .PC files is doing this:
    • For ease, delete all the other vehicles first.
    • Strip the car using the part selector.
    • Now open the editor, and save the level
    • Reload the vehicle to check if that vehicle loads with the same configuration as when you saved the level. Here it did:
    • Cool, now simply clone the vehicle and place them where you need (hold SHIFT while dragging one axis to clone)
    • Video - Click to Play - Direct Link
    • When done, save the level and it should simply work fine
     
  12. themightykasey

    themightykasey
    Expand Collapse

    Joined:
    Nov 20, 2013
    Messages:
    423
    Thank you, now do you know anything about why my colored dirt drives like concrete?
     
  13. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,697
    Check in the materials.cs in the 'terrains' folder in your level, that your material has the correct 'internalName' ( = groundmodel it uses).
    Full list of groundmodels at gameengine.zip > art > groundmodels.json
     
  14. themightykasey

    themightykasey
    Expand Collapse

    Joined:
    Nov 20, 2013
    Messages:
    423
    so i guess i cant have copys then? So I changed them to Dirt since that was one, but every single one of my colors turned blue.

    Created new groundmodels in the .json. I really dont want to have to tell people to swap them out if they want to use my maps. I found no other way to give all my dirts the model of dirt. Are you all okay with me putting a new .json in my maps and telling people to swap them out. all i did was add to it and not take away.

    Please tell me there is a way where i can keep oringal ground model without copying the dirt model 5 times. I had make dirt1-5 to get my colors to work because they would not work with dirt or rocky dirt without taking default if asphalt
     
    #14 themightykasey, Feb 9, 2018
    Last edited: Feb 10, 2018
  15. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,697
    You need to repaint things.
    Changing the internalName will mess with stuff if you have already painted things.
     
  16. themightykasey

    themightykasey
    Expand Collapse

    Joined:
    Nov 20, 2013
    Messages:
    423

    I had to repaint and I did it worked. The problem is I had to Create NEW internal makes because I could not have 5 things that used dirt. The standard rockydirt drove like dirt, but my copies, which had the internal mame of rockydirt drove like asphalt. My fix was new internal names to get my colored dirt to drive like dirt. The issue is I had to add to the core Gameegine.zip to get this to work. I had a friend try to swap them out and the game flipped out. I told him he would have to copy and paste new files




    Ihad to add text to groundmodel.json for my stuff to work.

    I saw a thread to not mess with those, yet, there is no other way for me to make red dirt act like dirt other than to create a new INTERNALNAME- DIRT2 in the groundmodel.json and then add it to my materials. Thats the only way I have found to have multiple dirts act like dirt correctly unless you havent specified how yet.

    Kinda sucks since I assume you are in the other side if the world lol
     
    #16 themightykasey, Feb 10, 2018
    Last edited: Feb 10, 2018
  17. blaize1105

    blaize1105
    Expand Collapse

    Joined:
    Dec 26, 2017
    Messages:
    198
    hey Themightykasey, remember your video about Gronk at the custom world finals map from post 19 at Maps?
     
  18. themightykasey

    themightykasey
    Expand Collapse

    Joined:
    Nov 20, 2013
    Messages:
    423
    Yea?
     
  19. blaize1105

    blaize1105
    Expand Collapse

    Joined:
    Dec 26, 2017
    Messages:
    198
    how did you customize the map?
     
  20. themightykasey

    themightykasey
    Expand Collapse

    Joined:
    Nov 20, 2013
    Messages:
    423
    If you are talking about wf15, i made the map from blankmap. I have tutorials on my youtube channel
     
  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