Blog Archives

[TIP] Creating your custom definitions for your UE4 games


Some developers might require their game to be different based on specific builds. For example you make a game and you want to release a demo but don’t want to include certain features. This is actually very easy to achieve. Like literally…very easy. πŸ™‚

Open your MyProject.Build.cs file and modify it like this:

/* True if this should compile as a demo build */
const bool bIsDemoBuildΒ = true;

/* Add a new definition called IS_DEMO_BUILD. This will be 1 (true) if bIsDemoBuild is true. Else it will be false (0) */
Definitions.Add(string.Format(“IS_DEMO_BUILD={0}”, (bIsDemoBuild ? “1” : “0”)));

Close your project solution file, right click on your *.uproject file and select Generate Visual Studio project files.

Generate Visual Studio project files.

That’s it! In your header/source files you can now use like this:

#if IS_DEMO_BUILD
UE_LOG(LogTemp, Log, TEXT(“This is a demo build”))
#else
UE_LOG(LogTemp, Log, TEXT(“This is releaseΒ build”))
#endif

The good thing about this approach is its not just a simple if else condition. The compiler is actually removing the entire code inside that macro based on the condition. πŸ™‚

Advertisements

Unreal Nexus Launched! :)


Hey everyone,
I am happy to announce that Unreal Nexus has been launched! You can post projects, hire freelancers and share your portfolio and more. We are still adding a lot more features like User Blogs, Nexus Store, Nexus Learning Centre and more.

See you on Nexus πŸ™‚

[Download] Batman Inspired HUD Information


Recently I was playing Batman Arkham Knight and I was thinking about how to do the information stuff they show when you activate Detective Mode. I was able to do it using UMG :). So here is the video and below that you can find the download link.Β πŸ™‚

Download Project (4.12 or higher):Β http://bit.ly/HUDInfo

[Download] Forced Perspective Gameplay in UE4


Hi all,

Few months ago i saw this amazing tech demo from Pillow Castle that uses Forced Perspective and i wanted to try this in . Anyway, I’ll let the video speak.

Please let me know what you think. And for those who wonder…this is all voodoo Blueprint magic πŸ˜› πŸ˜‰

Watch In HD:

Requires Unreal Engine 4.5.1 or higher

Download Project:Β https://www.dropbox.com/s/huune5jvt980let/ForcedPerspective_WithTag.zip?dl=0

Extended Third Person Template


I created this Extended TPS Template in my free-time. Please check it out. πŸ™‚

Watch in HD

Requires Unreal Engine 4.5.0 Preview or higher

Download Project (105 MB)

My models for RTS Community Project


Some of my models i created for my RTS Community Project. They are not textured though. I’d greatly appreciate if someone is willing to texture these. πŸ™‚

Barrack

Livestock farm

House

Defense Tower

Large Dock

Stable

RTS Community Project: FayCliff Map


I updated the textures on FayCliff map. There is no landscape painting. In Material Editor i used Lerps with various Masks generated by World Machine.

FayCliff_1 FayCliff_2 FayCliff_3 FayCliff_4

%d bloggers like this: