Hey there. Brand new to blueprint, after having UE4 for months and only messing around with level design.
I have big ambitions for my current personal project, and I decided to start with blueprint, then advance to C++ later if I need to. However, the first thing I want to try in blueprint is proving to be very difficult. I have never done coding/visual scripting in a 3D engine before, unless you count GameMaker as a ‘3D’ engine, and the small goals that I have set myself don’t seem too advanced, yet I’m having difficulty with them.
My first goal is to have a self-illuminating surface. I have created a very large hexagonal arena level where the floor is made up of tessellating 2-metre-wide hexagonal prisms to act as tiles for the floor. I’m going for a cyber-esque atmosphere, so I’ve given the tiles a dark material but I want them to light up when any ‘player’ or ‘3rd-person character’ stands on them.
I’ve looked at blending materials, texture effects (it took me 3 hours last night to realise that the material editor was not the same as the event graph, and so far I cannot see how they are able to directly interact), and emissive materials (which went straight over my head at the time). None of the answers I’ve found have come close to solving my particular problem.
Specifically, the effect is supposed to have several steps. The player steps on a floor tile. The tile gradually lights up over 5 seconds, as if the entire tile were one giant LED panel. This light is intended to cause shadows and have all other effects that a real light should. When the panel reaches half of maximum luminescence, the adjacent panels begin to light up in a similar way, but only reaching half of the luminescence of the ‘primary’ tile and also taking 5 seconds, as if the primary tile were ‘bleeding’ light into the others around it.
When the player steps onto another tile, the effect plays in reverse, with the exception being that if the new primary tile was adjacent to the last primary tile, then the tile takes less time to reach max-lum since it’s already ‘half-full’.
I would later on add other layers to the effect, such as different colours of light for different players or teams, and some sort of blending light effect where two players are touching a tile, but I could progress to that once I actually have multiplayer, networking and separate teams.
Please explain any blueprint examples/solutions in great detail as I’m still trying to figure things out.