Announcement

Collapse
No announcement yet.

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

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Dear Community,

    This 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 time you spawn an instance of a level.

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

    This is ideal for Dynamic Level Generation!

    ~~~

    Click image for larger version

Name:	LoadLevelInst_BeforeAfter.jpg
Views:	6
Size:	340.5 KB
ID:	1097687

    Click image for larger version

Name:	LoadLevelInst_BPNode.jpg
Views:	5
Size:	269.2 KB
ID:	1097688

    ~~~

    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

    Click image for larger version

Name:	LoadLevelInst_Graph.jpg
Views:	3
Size:	291.1 KB
ID:	1097689

    ~~~

    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/Rama%2...ngine_Versions

    ~~~

    Victory Plugin Binaries for Packaged Games

    https://wiki.unrealengine.com/File:V...inPackaged.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 ♥ Rama

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

    ~~~

    Donations

    Donations can be sent to me via:
    http://lightningfitness.org/donate/
    100+ UE4 C++ Tutorials on the UE4 Code Wiki, including UE4 Multi-Threading!

    UE4 Marketplace: Melee Weapon Plugin & Compressed Binary Save System Plugin | Rama's C++ AI Jumping Videos | Vertex Snap Editor Plugin

    Visit www.ue4code.com to see lots of videos about my C++ Creations! ♥ Rama

    Comment


      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.
      Tek LLC a personal Candaian Company running BlenderTek & UnrealTek is currently looking for help to bring back submarine simulator gaming with a new genre of sub sims: Cold War! (1945-1991) Operation: Trident SubSim Dev Diary Thread - Donations

      Comment


        Originally posted by Nsomnia View Post
        You make me want to quit schoool and learn the entire UE4 api.
        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!



        Rama
        100+ UE4 C++ Tutorials on the UE4 Code Wiki, including UE4 Multi-Threading!

        UE4 Marketplace: Melee Weapon Plugin & Compressed Binary Save System Plugin | Rama's C++ AI Jumping Videos | Vertex Snap Editor Plugin

        Visit www.ue4code.com to see lots of videos about my C++ Creations! ♥ Rama

        Comment


          Improved Get Vertex Locations of Static Mesh

          Now works in Packaged Games


          Click image for larger version

Name:	vertex.jpg
Views:	15
Size:	176.5 KB
ID:	1097930

          Click image for larger version

Name:	vertex2.jpg
Views:	4
Size:	187.3 KB
ID:	1097931

          My C++ Code For You

          See my PhysX wiki for the basic build.cs setup:
          https://wiki.unrealengine.com/PhysX,...o_Your_Project

          Here is the code I wrote to get all 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!

          Code:
          //~~~ PhysX ~~~
          #include "PhysXIncludes.h"
          #include "PhysicsPublic.h"		//For the ptou conversions
          //~~~~~~~~~~~
          
          //Get Transformed Vertex positions of any static mesh! -Rama
          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!



          Rama
          100+ UE4 C++ Tutorials on the UE4 Code Wiki, including UE4 Multi-Threading!

          UE4 Marketplace: Melee Weapon Plugin & Compressed Binary Save System Plugin | Rama's C++ AI Jumping Videos | Vertex Snap Editor Plugin

          Visit www.ue4code.com to see lots of videos about my C++ Creations! ♥ Rama

          Comment


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

            Comment


              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.

              Comment


                Originally posted by Rama View Post

                [ATTACH=CONFIG]72427[/ATTACH]

                [ATTACH=CONFIG]72428[/ATTACH]
                alright so this idea is for the Dynamic Level Generation, Right? so you don't run into everything and get stuck. If so, may I use this?
                Thank you,
                Articuno032

                MY WEBSITE

                Comment


                  Originally posted by SinineSiil View Post
                  There's no way to know which engine version plugin is meant for on download page?
                  I need version that supports 4.8
                  I list more recent engine version update times here:

                  Plugin Release Dates and UE4 Engine Versions
                  https://wiki.unrealengine.com/Rama%2...ngine_Versions

                  For 4.8 try going back a ways

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

                  Rama

                  Originally posted by CampingCarl View Post
                  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.
                  Okay I"ve written this down

                  Originally posted by Articuno032 View Post
                  alright so this idea is for the Dynamic Level Generation, Right? so you don't run into everything and get stuck. If so, may I use this?
                  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



                  Rama
                  Last edited by Rama; 01-09-2016, 12:58 PM.
                  100+ UE4 C++ Tutorials on the UE4 Code Wiki, including UE4 Multi-Threading!

                  UE4 Marketplace: Melee Weapon Plugin & Compressed Binary Save System Plugin | Rama's C++ AI Jumping Videos | Vertex Snap Editor Plugin

                  Visit www.ue4code.com to see lots of videos about my C++ Creations! ♥ Rama

                  Comment


                    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:
                    https://twitter.com/ue4code/status/668845668518264832


                    Github Submission to the Engine
                    https://github.com/EpicGames/UnrealEngine/pull/1795

                    Click image for larger version

Name:	ConvertStringToVectorRotColor.jpg
Views:	3
Size:	329.8 KB
ID:	1098280

                    ~~~

                    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/Rama%2...ngine_Versions

                    ~~~

                    Victory Plugin Binaries for Packaged Games

                    https://wiki.unrealengine.com/File:V...inPackaged.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 ♥ Rama

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

                    ~~~

                    Donations

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

                    Enjoy!



                    Rama

                    PS: Please note my mediafire link has changed, please use above link to get most recent version
                    100+ UE4 C++ Tutorials on the UE4 Code Wiki, including UE4 Multi-Threading!

                    UE4 Marketplace: Melee Weapon Plugin & Compressed Binary Save System Plugin | Rama's C++ AI Jumping Videos | Vertex Snap Editor Plugin

                    Visit www.ue4code.com to see lots of videos about my C++ Creations! ♥ Rama

                    Comment


                      Originally posted by Rama View Post
                      I list more recent engine version update times here:

                      Plugin Release Dates and UE4 Engine Versions
                      https://wiki.unrealengine.com/Rama%2...ngine_Versions

                      For 4.8 try going back a ways
                      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.

                      Comment


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

                        Comment


                          Originally posted by SenanYT View Post
                          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?

                          Rama
                          100+ UE4 C++ Tutorials on the UE4 Code Wiki, including UE4 Multi-Threading!

                          UE4 Marketplace: Melee Weapon Plugin & Compressed Binary Save System Plugin | Rama's C++ AI Jumping Videos | Vertex Snap Editor Plugin

                          Visit www.ue4code.com to see lots of videos about my C++ Creations! ♥ Rama

                          Comment


                            Destroy Individual Destructible Mesh pieces After Fracture!

                            Dear Community,

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

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

                            Enjoy the video!

                            Rama



                            Click image for larger version

Name:	DestructibleIndividualChunksApex.jpg
Views:	5
Size:	195.2 KB
ID:	1098519

                            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/Rama%2...ngine_Versions

                            ~~~

                            Victory Plugin Binaries for Packaged Games

                            https://wiki.unrealengine.com/File:V...inPackaged.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 ♥ Rama

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

                            ~~~

                            Donations

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

                            Enjoy!



                            Rama
                            100+ UE4 C++ Tutorials on the UE4 Code Wiki, including UE4 Multi-Threading!

                            UE4 Marketplace: Melee Weapon Plugin & Compressed Binary Save System Plugin | Rama's C++ AI Jumping Videos | Vertex Snap Editor Plugin

                            Visit www.ue4code.com to see lots of videos about my C++ Creations! ♥ Rama

                            Comment


                              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.youtube.com/watch?v=sFyLarNly44

                              Comment


                                Originally posted by dabulina View Post
                                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.youtube.com/watch?v=sFyLarNly44
                                Hi there, thanks for the video! Explains the issue very clearly

                                Under the hood I am using Epic's function:

                                FFileHelper::LoadANSITextFileToStrings

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

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

                                Code:
                                /**
                                	 * Load a text file to an FString.
                                	 * Supports all 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 this at my next availability

                                Rama
                                Last edited by Rama; 01-15-2016, 12:12 PM.
                                100+ UE4 C++ Tutorials on the UE4 Code Wiki, including UE4 Multi-Threading!

                                UE4 Marketplace: Melee Weapon Plugin & Compressed Binary Save System Plugin | Rama's C++ AI Jumping Videos | Vertex Snap Editor Plugin

                                Visit www.ue4code.com to see lots of videos about my C++ Creations! ♥ Rama

                                Comment

                                Working...
                                X