UE 4 blueprints is the most robust visual scripting tool I’ve ever used in a game engine. I’ve prior experience of working with UE3 Kismet, CryEngine flowgraphs and Construct2 visual scripting, the kind of freedom and simplicity that comes with UE4 blueprints is just perfect for anyone who is not a programmer. I’ve seen a lot of programmers using blueprints to build quick and easy prototypes.
In this post, I’ll go over using Color Picker in the Play in Editor Mode. But first things first, the color picker tool first needs to be exposed to blueprints to work with the play in editor mode. I found a great plugin that does that, created by Epic’s forum member Rama. You can find this plugin here on EPIC’s forums.
To install the plugin on your engine, go to your UE4 directory, you can find that in C:\Program Files\Epic Games\4.xx\Engine\Plugins. Just extract the VictoryPlugin folder into the Plugins folder located there. This will allow you to access the custom Blueprint libraries created by Rama.
After extracting, launch Unreal Editor and go to Edit>Plugins>Victory Plugin, and check the “Enabled” box.
Ideally this should get the job done for you, in case that doesn’t work, follow the steps below.
- Close any opened UE4 projects
- You’ll need to install Microsoft Visual Studio 2013 Express or higher
- After installation open the project where you’d like to use this plugin.
- You’ll now see some additional options available that didn’t appear before.
- Then select player controller class, like in the image below
- Name is something like TestPlayerController or CPPPlayerController, so you know this is just the purpose of running the plugin and click on “Create Class”. This will start compiling the code and once compiled, the engine will launch Visual Studio.
- Now, navigate to your engine folder at Epic Games\4.6\Engine\Plugins. Take a backup somewhere of the plugin that is give you problems and then delete that plugin.
- Navigate to your project folder and in the root of your project folder create a folder and name it “Plugins”.
- Copy your downloaded plugin inside “Plugins” folder. So, your directory should look like “MyProject\Plugins\MyCustomPlugin”
- Go back to Visual Studio and navigate to “Build”>Configuration Manager
- A menu with build configuration settings will pop up, change the configuration to “Development_Game” and Platform to “x64” like in the image below. Once done close the dialog box.
- Click on the “Build” menu and choose “Build Solution”. This will create the necessary CPP files to run the plugin. Let it build until you see “Build successful”.
- Close your project and reopen it.
- You will get a message to build, click on “Yes”. Once it’s compiled you are good to go. 🙂
In the next post, I’ll go over the simple application of the Color Picker Wheel in PIE.