Coder Social home page Coder Social logo

Comments (5)

Ryvar avatar Ryvar commented on July 1, 2024

Click on your placed BrickGrid blueprint actor in your map, in the "BrickGrid" section, expand "Grid Parameters": "Materials" should be the first array, and by default has 25 entries.

However, which materials are actually used by the terrain generator is pure C++ and can be found in Plugins/BrickTerrainGeneration/Private/BrickTerrainGenerationLibrary.cpp - the function you want is InitRegion, particularly the big for loop at the end where terrain falls into rock/dirt/grass based on a few conditional cases.

If you're interested in expanding BrickGrid, one of the first things I'd suggest doing is moving terrain generation functionality into a dedicated actor or component class, and adding your own InitRegion function with ", BlueprintNativeEvent" after BlueprintCallable in the declaration: this gives you the ability to retain the C++ implementation but override it in Blueprint.

from brickgame.

Noxygen avatar Noxygen commented on July 1, 2024

I was asking myself the same question - probably that's the reason:
unbenannt-1
I'm using UE 4.8 and there is no arrow to expand the Grid parameters.

from brickgame.

Ryvar avatar Ryvar commented on July 1, 2024

My bad, forgotten I'd fixed this in my local version:
In Plugins\BrickGrid\Source\BrickGrid\Classes\BrickGridComponent.h find the FBrickGridParameters struct and change the UPROPERTY of all variables from EditDefaultsOnly to EditAnywhere

from brickgame.

Noxygen avatar Noxygen commented on July 1, 2024

Great, thanks! ;)

from brickgame.

AndrewScheidecker avatar AndrewScheidecker commented on July 1, 2024

Thanks Ryvar. I've just pushed commits that incorporate your EditAnywhere change along with the other changes necessary for UE4.8.

from brickgame.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.