(39) 's Extra Blueprint Nodes for You as a Plugin, No C++ Required!

Two HTMl5 Game Nodes For You! Show/Hide Cursor (Reliably) and IsHtml5!

Dear Community,

I’ve spent most of my spare for past 2 days researching a particular related to HTML5 developmenti n UE4, which is the that it is very hard to show/hide the mouse cursor at will when playing a UE4 game within a web browser!

My fundamental was being able to show hide the cursor when switching between UMG and regular gameplay, and the node I am giving you today does !

I’ve finally generated a BP node that makes it easy for you to properly and definitively show/hide the mouse cursor at any of your choosing, during runtime within a HTML5 game!


**Non-HTML5 Games**

Note: I've made a separate C++ File for my HTML5 nodes, please note  code will not clutter your game if you are not making an HTML5 game. 

**The HTML5 includes and code are not even compiled** if your game is not packaged for HTML5!

~~

**HTML5 Games**

The SetCursorVisible node will show up in-Editor but will not do anything unless your game is packaged for HTML5. 

See my picture for the event you can write using my BP Library to show/hide the cursor for HTML5 OR regular UE4 games!

Is HTML5

I’ve written a C++ boolean check that you can easily make into a switch macro to perform unique BP Logic based on whether your game is currently running on an HTML5 build or is an editor/console build!

allows you to use different Particle / Lighting Settings / Quality Settings, or any other custom BP logic you want, based on whether the game is an HTML5 build or not!

Yay!

Happy Holidays!

Enjoy!

:heart:


**Latest plugin download on the UE4 Wiki: (7.16 mb) **
https://wiki.unrealengine.com/File:VictoryPlugin.zip

Not using the latest engine version? Check out my wiki section on which plugin release dates go with which engine version!

**Plugin Release Dates and UE4 Engine Versions**
https://wiki.unrealengine.com/%27s_Vertex_Snap_Editor_Plugin#Plugin_Release_Dates_and_UE4_Engine_Versions

Victory Plugin Binaries for Packaged Games


**Victory Plugin on Media Fire**

**If your browser is not updating the Wiki download page** to the most recent version, you can use my alternative Media Fire download link!

Please note the mediafire version includes both the editor and packaged game binaries in the same file ♥ 

https://www.mediafire.com/?ieovbd5l9d7yub2

Donations

Donations can be sent to me via:

Dear Community,

node lets you spawn sublevels easily to dynamically generate worlds!

I’ve presented a solution for ensuring you can spawn multiple instances of the same UE4 level, by giving you an “Instance Number” that you should increment each you spawn an instance of a level.

allows me to enable you to easily create as many uniquely translated and rotated instances of a level as you want!

is ideal for Dynamic Level Generation!


![65784d2e1f959b9e9b4ea8e4d04f78a466d2e655.jpeg|2500x960](upload://etDY5PoTOTGDt1kztxp5EnB6wp7.jpeg)

![LoadLevelInst_BPNode.jpg|1280x960](upload://eYkmDTa1zneQsdBlRoVY7LDd06i.jpeg)

Can Include Landscapes and Other Fancy Level Features!

In my demo I included a landscape in my level “tile.”


**Level Scripting / Level Blueprint**

You can also include level scripting that will run uniquely per level isntance!

Victory Load Level Instance


**Latest plugin download on the UE4 Wiki: (7.16 mb) **
https://wiki.unrealengine.com/File:VictoryPlugin.zip

Not using the latest engine version? Check out my wiki section on which plugin release dates go with which engine version!

**Plugin Release Dates and UE4 Engine Versions**
https://wiki.unrealengine.com/%27s_Vertex_Snap_Editor_Plugin#Plugin_Release_Dates_and_UE4_Engine_Versions

Victory Plugin Binaries for Packaged Games


**Victory Plugin on Media Fire**

**If your browser is not updating the Wiki download page** to the most recent version, you can use my alternative Media Fire download link!

Please note the mediafire version includes both the editor and packaged game binaries in the same file ♥ 

https://www.mediafire.com/?ieovbd5l9d7yub2

Donations

Donations can be sent to me via:

You make me want to quit schoool and learn the entire UE4 api.

I remmeber something about procedural meshes, I have to skim through the pages I’m looking to make meshes that “grow” that dont need collission but arnt just cubes as the proedural mesh component allows.

Hee hee!

I wish more schools used UE4 to help people learn C++, it would be so much more interesting to visually see your coding unfold, and provides an inspiration to want to code more so you can make more game happen!

:slight_smile:

**Improved Get Vertex Locations of Static Mesh

Now works in Packaged Games**

My C++ Code For You

See my PhysX wiki for the basic build.cs setup:

Here is the code I wrote to get of the transformed vertex positions using the Body Instance and PhysX code!

I am doing many safety checks to ensure the Body Instance data is valid before utilizing it, and the result is that now you can get accurate vertex locations in packaged games!



//~~~ PhysX ~~~
#include "PhysXIncludes.h"
#include "PhysicsPublic.h"		//For the ptou conversions
//~~~~~~~~~~~

//Get Transformed Vertex positions of any static mesh! -
bool UVictoryBPFunctionLibrary::GetStaticMeshVertexLocations(UStaticMeshComponent* Comp, TArray<FVector>& VertexPositions)
{
	
	if(!Comp || !Comp->IsValidLowLevel()) 
	{
		return false;
	}
	//~~~~~~~~~~~~~~~~~~~~~~~
	
	//Component Transform
	FTransform RV_Transform = Comp->GetComponentTransform(); 
	
	//Body Setup valid?
	UBodySetup* BodySetup = Comp->GetBodySetup();
	
	if(!BodySetup || !BodySetup->IsValidLowLevel())
	{
		return false;
	}  
	
	//Get the Px Mesh!
	PxTriangleMesh* TriMesh = BodySetup->TriMesh;
	 
	if(!TriMesh) 
	{
		return false;
	}
	//~~~~~~~~~~~~~~~~
	
	//Number of vertices
	PxU32 VertexCount = TriMesh->getNbVertices();
	
	//Vertex array
	const PxVec3* Vertices = TriMesh->getVertices();
	
	//For each vertex, transform the position to match the component Transform 
	for(PxU32 v = 0; v < VertexCount; v++)
	{ 
		VertexPositions.Add(RV_Transform.TransformPosition(P2UVector(Vertices[v])));
	}
	
	return true;
} 



**Latest plugin download on the UE4 Wiki: (7.16 mb) **
https://wiki.unrealengine.com/File:VictoryPlugin.zip

Enjoy!

:)

There’s no way to know which engine version plugin is meant for on download page?
I need version that supports 4.8

I would like to request a function to get the total cost of a navmesh path and then return the vector of a point X cost along that path. I hope that made sense. Thanks for everything you are doing.

alright so idea is for the Dynamic Level Generation, Right? so you don’t run into everything and get stuck. If so, may I use ?

I list more recent engine version update times here:

Plugin Release Dates and UE4 Engine Versions
https://wiki.unrealengine.com/'s_Vertex_Snap_Editor_Plugin#Plugin_Release_Dates_and_UE4_Engine_Versions

For 4.8 try going back a ways

You should consider upgrading btw, lots of great stuff in 4.9 :slight_smile:

Okay I"ve written down :slight_smile:

Not sure I understand how your question relates to displaying verticies, and yes you are welcome to use my plugin, just please credit me somewhere appropriate

:slight_smile:

UPDATE ~ More Victory BP Nodes accepted into the Engine!

Dear Community,

I am happy to say that the 3 nodes below were accepted into the Engine, and will hopefully be in 4.11 !


**Two-Way Conversion Now!**

I've added 3 new nodes to my Victory BP library that enable you to convert Vectors, Rotators, and Colors **back from string data** into the original primitive variable types!

String Data Validity Check

I supply a bool to let you know if the string data was solid or not and was able to be converted properly.

Like on Twitter:

Github Submission to the Engine
/EpicGames/UnrealEngine/pull/1795


**Latest plugin download on the UE4 Wiki: (7.16 mb) **
https://wiki.unrealengine.com/File:VictoryPlugin.zip

Not using the latest engine version? Check out my wiki section on which plugin release dates go with which engine version!

**Plugin Release Dates and UE4 Engine Versions**
https://wiki.unrealengine.com/%27s_Vertex_Snap_Editor_Plugin#Plugin_Release_Dates_and_UE4_Engine_Versions

Victory Plugin Binaries for Packaged Games


**Victory Plugin on Media Fire**

**If your browser is not updating the Wiki download page** to the most recent version, you can use my alternative Media Fire download link!

Please note the mediafire version includes both the editor and packaged game binaries in the same file ♥ 

https://www.mediafire.com/?ieovbd5l9d7yub2

Donations

Donations can be sent to me via:

Enjoy!

:slight_smile:

PS: Please note my mediafire link has changed, please use above link to get most recent version :slight_smile:

My main engine version is the newest, but some of my old projects are on older versions and I can’t open them without correct plugin.

Hey, have you thought about adding support for android/iOs interstitial ads?

Thanks for the idea! You are finding the current ad nodes in UE4 are not sufficient?

Destroy Individual Destructible Mesh pieces After Fracture!

Dear Community,

node is sufficiently cutting-edge that I decided to make a video of it!

node allows you to destroy individual pieces of a destructible mesh after it has been fractured!

Enjoy the video!

https://www./T6eQtoius1E

**Latest plugin download on the UE4 Wiki: (7.16 mb) **

Not using the latest engine version? Check out my wiki section on which plugin release dates go with which engine version!

Plugin Release Dates and UE4 Engine Versions


**Victory Plugin Binaries for Packaged Games**

https://wiki.unrealengine.com/File:VictoryPluginPackaged.zip

Victory Plugin on Media Fire

If your browser is not updating the Wiki download page to the most recent version, you can use my alternative Media Fire download link!

Please note the mediafire version includes both the editor and packaged game binaries in the same file :heart:


**Donations**

Donations can be sent to me via:
http://lightningfitness.org/donate/

Enjoy!

:)

Hi, i found problem in “Load String Array from file”. Patch cant read string if there is characters inside like āšģķīļūņžē e.c.
Is there any way how to fix that?

https://www./sFyLarNly44

[QUOTE=dabulina;454436]
Hi, i found problem in “Load String Array from file”. Patch cant read string if there is characters inside like āšģķīļūņžē e.c.
Is there any way how to fix that?
=sFyLarNly44[/QUOTE]

Hi there, thanks for the video! Explains the very clearly :slight_smile:

Under the hood I am using Epic’s function:

FFileHelper::LoadANSITextFileToStrings

I presume the characters you are entering are not getting converted correctly within function.

I could try using a different function, which seems like it would support your character set better:



/**
	 * Load a text file to an FString.
	 * Supports  combination of ANSI/Unicode files and platforms.
	 * @param Result string representation of the loaded file
	 * @param Filename name of the file to load
	 * @param VerifyFlags flags controlling the hash verification behavior ( see EHashOptions )
	 */
	static bool LoadFileToString( FString& Result, const TCHAR* Filename, uint32 VerifyFlags=0 );


However it only loads to a single string, I would need to parse the file myself into an array.

I can work on doing at my next availability :slight_smile:

New Nodes for Mathematical Planes! Create Plane, PointDistanceToPlane, and IsPointInPlane!

Dear Community,

I’ve added some new nodes to make working with Planes (math structure) easier in Blueprints!

Using my new Create Plane BP node you will find it very easy to construct planes for use with Draw Debug Plane and Project Point to Plane, etc!

I’ve also given you a very easy coplanarity test via IsPointOnPlane!

Enjoy!


**Latest plugin download on the UE4 Wiki: (7.16 mb) **
https://wiki.unrealengine.com/File:VictoryPlugin.zip

**Plugin Release Dates and UE4 Engine Versions**
https://wiki.unrealengine.com/%27s_Vertex_Snap_Editor_Plugin#Plugin_Release_Dates_and_UE4_Engine_Versions

Victory Plugin Binaries for Packaged Games


**Victory Plugin on Media Fire**
https://www.mediafire.com/?ieovbd5l9d7yub2

Please note the mediafire version includes both the editor and packaged game binaries in the same file ♥ 

Donations

Donations can be sent to me via:

Enjoy!

:slight_smile:

Hey! I love your work. But I have a problem, I’ve gone back to using UE4.7.2, and found that Victory was deleted when I installed new versions of UE4. So I downloaded Victory again to put back into 4.7.2 and activated it, but now the project I was working on won’t open, as the “modules are missing or built with a different engine version” and there is no line in any config file referencing Victory at , I may have used a Victory blueprint node, but no matter what I do I can’t open my project! I’ve looked at the release date for 4.7.2 and downloaded Victory from https://wiki.unrealengine.com/File:VictoryPlugin.zip that matches the date, but it still is wrong.

Welcome to the forums Scruffy!

I would recommend you use 4.10 engine version with my latest plugin release, so that you can open the project, and then find the nodes. Is there a reason you have to stay on 4.7.2 ?

Good luck!

**Get Closest Actor Of Class In Radius of Location

Get Closest Actor of Class In Radius of Actor**

These nodes are great for use with AI calculations!


**Latest plugin download on the UE4 Wiki: (7.91 mb) **
https://wiki.unrealengine.com/File:VictoryPlugin.zip

:)