World Editor News

Discussion in 'World Editor' started by nekitu, Feb 16, 2019.

Thread Status:
Not open for further replies.
  1. KyotoBlissard

    KyotoBlissard
    Expand Collapse

    Joined:
    Oct 16, 2020
    Messages:
    213
    Thank you, great information!

    I have an unrelated question; is it possible to combine assets from 2 different maps ? Asking in case there's an easy way in the World Editor 2.
    I would like to add the ruined piers from Dry Rock island to the new Jungle Rock.
     
    • Like Like x 1
  2. ltntai

    ltntai
    Expand Collapse

    Joined:
    Mar 18, 2017
    Messages:
    656
    I know this is not a how-to-thread, but we are still waiting for the official promise of "Importing assets from other maps will be covered in a different tutorial eventually" to be fulfilled.

    The basic principle to get an asset is to copy its model .dae, its materials from .json, and all its .dds textures to your map's art folder. Here's a BBQ in ECUSA.
    screenshot_2020-12-27_23-51-22.jpg screenshot_2020-12-28_01-12-42.jpg
    On the Inspector window you can see it's located in art/shapes/buildings and on the Material editor that it's made of four materials, each having a few textures. Except lod_vertcol. No one knows what the hell that is, better just ignore it. Copy the .dae and .dds files to your map's art/shapes/buildings folder and merge the .json material "data blocks" to your .json file, rename the paths, and if luck was on your side you're done.

    There's many things to go wrong and it's easier to just copy the whole folder and not worry about the individual materials - just copy and rename all the paths in .json. But that method will fatten your map to gigabyte -class pretty fast.

    In KyotoBlissard's case the ruined pier is six objects and it's in old .cs format so it might be justified to copy the whole buildings folder (only 33.8 Mb). Place it in art/shapes after renaming it e.g. "buildings_dri". Rename the paths in material.cs. Use or delete the extra assets that came as a bonus. But converting it to .json format and copying only what you need would be the right way.

    If there's an easier way, please let me know. It is hideous amount of work just to get:
    screenshot_2020-12-29_00-24-10.jpg
    BBQ at the ruined pier, JRI
     
    • Like Like x 5
  3. KyotoBlissard

    KyotoBlissard
    Expand Collapse

    Joined:
    Oct 16, 2020
    Messages:
    213
    Thank you very much Itntai ! I didn't know there was merge option for JSON files, I tried to copy and paste the Ruiner Pier section in the file but everything else got No Texture so I probably did something wrong. I will try again today.
     
  4. ltntai

    ltntai
    Expand Collapse

    Joined:
    Mar 18, 2017
    Messages:
    656
    By merging I meant opening the files side by side and manually copy-pasting the bits you need. I'll drop the converted .json in your Nature Preserve thread to not clutter this one anymore.
     
    • Like Like x 1
  5. DuneWulff

    DuneWulff
    Expand Collapse

    Joined:
    Apr 25, 2016
    Messages:
    1,034
    I have perhaps the dumbest question I've ever asked on this forum.

    With the new World Editor, how do I... put the decal on the... decalroad? :T
    upload_2020-12-30_22-18-17.png
    I don't see that in the documentation, maybe its there and I'm just blind ¯\_(ツ)_/¯

    ----
    I found it lol
    Perhaps having an option to make the "inspector" window open by default when the editor opens would be helpful for people of lesser intelligence such as I :j
     
  6. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,056
    It is on the default layout. But the problem is that for some reason the "default layout" is not default. No idea why but it's dumb.
     
  7. DuneWulff

    DuneWulff
    Expand Collapse

    Joined:
    Apr 25, 2016
    Messages:
    1,034
    So here's another question.
    Is there a way to, say, make an "object" unselectable in the world (ie can only be selected in the scenetree)
    I ask because despite having the "lock" icon on my terrain block, I still find myself accidentally selecting it and suddenly I've duplicated my entire terrain block...

    Also, I'm I just daft or does "ctrl x" to cut an object... not actually cut the object?
     
  8. nekitu

    nekitu
    Expand Collapse
    BeamNG Team

    Joined:
    Jan 18, 2018
    Messages:
    87
    You can make classes of objects unselectable, by going to View->Visualization Settings... -> Selectable tab, uncheck Terrain.
    Or you can set the TerrainBlock's property isSelectionEnabled in the Inspector to false/unchecked.
    isSelectionEnabled - the object can be selected if checked
    locked - the object can be selected but cannot be move/scaled/rotated
    It is a bit weird, we might change these in the future.
    Ctrl+X will cut the selection, but still leave it until Ctrl+V is pressed to paste it, in the case of objects selection it doesnt do anything, it is usually used for other cut/paste operations, depending on the context of the editing mode.
    Cut doesn't refer to the actual literal cutting/slicing of an object, if that is what you meant.
     
  9. DuneWulff

    DuneWulff
    Expand Collapse

    Joined:
    Apr 25, 2016
    Messages:
    1,034
    o_O
    Neat as that would be - no thats not what I meant. I've just kinda gotten used to working around copy/paste and just using the duplicate-at-camera instead.

    Anywho, I've sent a couple bug reports out but figured I'd write here. Something with clicking the mesh road editor tab causes the game to lock up and crash. I couldn't tell you how to trigger it beyond that it simply... does, sometimes. ¯\_(ツ)_/¯
    I have noticed though - I think - that it tends to happen more often after changing from the forest editor.
     
  10. ltntai

    ltntai
    Expand Collapse

    Joined:
    Mar 18, 2017
    Messages:
    656
    Would it be possible to add some kind of "AI speed" road node property? You could mark the nodes where AI needs to speed up or slow down. Mostly for oneway race tracks and offroad trails.
    screenshot_2021-02-10_23-49-23.jpg
    Here AI gets stuck in sand in traffic mode. If there were a couple of "Floor it!"-nodes before and on the slope it would make it to the top (it does in flee mode). If there is already some inclination detection speed control, it's not working well enough.
     
    • Agree Agree x 6
    • Like Like x 1
  11. beamhole

    beamhole
    Expand Collapse

    Joined:
    Feb 9, 2021
    Messages:
    36
    OK, it is helping to lead me in the right direction, but the trouble for me is that I don't know how to get the object's info to get it into the map that I want it to be in.
     
  12. ltntai

    ltntai
    Expand Collapse

    Joined:
    Mar 18, 2017
    Messages:
    656
    Is there a way to turn off the decal road auto-width-assumption thing?
    Tonight I was placing many short, decorative (non-AI) dirt and mud road bits in a forest. When I set the default road width to 4.0 I know that want to make 4 m wide road all the way. But the computer knows better and changes road node widths depending on (my guess) the terrain and surrounding objects... badly.
    And when starting a new road, the default 4.0 I set a moment ago is now something random between 0.001 to 10.

    Then the pop-up road material selector. Always pops up half out of screen, needs to be dragged every time to do a search or a selection. Resetting to default layout doesn't help. Also it should remember the recently used roads. Searching back and forth dirt_road and mud_tracks gets old pretty fast.

    edit: had to check the "Only AI Roads" box to get the road width stay fixed :oops:. Shouldn't the checkbox be "Not AI Roads"?
     
    #152 ltntai, Mar 4, 2021
    Last edited: Mar 4, 2021
  13. nekitu

    nekitu
    Expand Collapse
    BeamNG Team

    Joined:
    Jan 18, 2018
    Messages:
    87
    I will make this a task for us, we will analyze and fix, thanks.
    The popup might not be linked to the docking system, we will make it so it retains its size and position.
     
    • Like Like x 3
  14. ltntai

    ltntai
    Expand Collapse

    Joined:
    Mar 18, 2017
    Messages:
    656
    Figured out that the road drivability also affects the AI speed or aggression. Splitting the road and tuning the values on difficult terrain spots (partly) helps the thing I was suggesting in my post #150.

    Is there a way to set a short dividing road so that AI chooses equally between them? I tested this in JRI Peninsula spawn bus stop and could divert the traffic to take the bus stop route or the main road, but not both 50/50 (they are both 0.8 roads).
    It's like AI sees the short road loop ahead and always chooses the easier way, even if the loop is slightly higher in drivability (about 0.2 higher). Above that AI drives through the bus stop like it's the law. Splitting and separating the main and bus road trying to force the decision doesn't work. On longer routes the equal/random decision making seems to work.

    Then various annoyances:

    - Decal road mouse hover detection shuts down sometimes and roads must be selected as objects and then click the decal road editor to get the nodes visible.
    - Terrain editor should remember the last set painter (usually high) and shaping pressures (low). Low pressures are hard to set with slider, numeric input would be faster.
    - Closing the editor after saving and then reloading the map usually crashes the game.
     
  15. KCHARRO

    KCHARRO
    Expand Collapse

    Joined:
    Sep 1, 2018
    Messages:
    36
    Hi guys, I have a problem since v0.21.2.0, and it is that the vehicles do not keep the height position when we reset and even if we save a stage so that one vehicle comes out on top of the other, they come out on the ground one inside the other , (It happens to me with the boxes on top of the vehicles too, and with the trains the wheels appear inside the rails), is this just me or someone else? Any way to fix it?
     
  16. Mopman93

    Mopman93
    Expand Collapse
    BeamNG Team

    Joined:
    Jun 24, 2017
    Messages:
    125
    There is a setting called "Drag Width", which let's you change the width of a node after placing it by dragging the cursor away after clicking. After some feedback that people were changing the width of nodes by accident, this setting will be disabled by default starting with the next update.
    The "Only AI Roads" setting makes it so you can only hover and select roads with drivability bigger than 0, so only the roads that are relevant for the AI.
     
    • Like Like x 1
  17. ltntai

    ltntai
    Expand Collapse

    Joined:
    Mar 18, 2017
    Messages:
    656
    Ah the hovering makes sense now, thanks.
     
  18. geobeck

    geobeck
    Expand Collapse

    Joined:
    May 1, 2014
    Messages:
    218
    Minor matter: When you save a copy of a level, the default "Save As..." folder is levels folder in C:\...\BeamNG.drive, rather than the levels folder in My Documents\BeamNG.drive.

    Is there a reason it defaults to the system folder, or can it be re-mapped?
     
  19. ltntai

    ltntai
    Expand Collapse

    Joined:
    Mar 18, 2017
    Messages:
    656
    Is there some trick to change the wave magnitude or visual flow speed when creating a new river? Only old rivers seem to accept wave changes (not visual flow speed though). Importing an old waterfall from another map to ETK Center was the only way I could have a fast flowing wavy river there (but not a cubemap for it, the selector won't apply anything). Physical flow changes work in real time in both new and old rivers as they should. -edit- nevermind, just found the drop menus under waves and ripples.-sigh-
     
    #159 ltntai, Mar 27, 2021
    Last edited: Apr 4, 2021
  20. KevinMcClean

    KevinMcClean
    Expand Collapse

    Joined:
    Dec 29, 2020
    Messages:
    1
    Hi there! I liked the Torque 3D Engine when it started coming out in the BeamNG Drive Torque 3D Engine. I would then use Torque 3D software. But over time, Torque 3D isn’t as good as I thought, for example, a road tool or build package. But there is something much better in the World Editor that belongs to the BeamNg Drive game (e.g. v0.15). So I wanted to use the BeamNG Drive World Editor for my game, but since it was modified, the maps didn’t fit into Torque 3D. So I want to ask for the BeamNG Drive game World Editor source code. CAN YOU GIVE IT IF POSSIBLE?
    --- Post updated ---
    Would you like to return to CryEngine again?
     
Thread Status:
Not open for further replies.
  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