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

    Does anyone know why "capture component 2d save image" keeps failing?
    I have tried many paths including "c:\"

    Click image for larger version

Name:	New Bitmap Image (4).jpg
Views:	1
Size:	122.3 KB
ID:	1121892

    Comment


      Originally posted by Rama View Post
      What is CustomLibraryPlugin ?!

      Do you have 2 copies of my victory plugin in your project?

      Maybe one at engine level and one at project level?

      I never heard of CustomLibraryPlugin yet EJoyImageFormats is obviously mine.

      Find me more info about CustomLibraryPlugin, what and where it is on your comp, and then I can help more

      Rama
      Not the same guy, but I'm running into the same problem. CustomLibraryPlugin is the Options Menu Kit. It seems to implement that aspect of the Victory plugin on its own which is causing compile issues when you try to compile Victory after. I just discovered this and I don't have a solution beyond don't use both at the same time I guess.
      Last edited by swolf; 01-24-2017, 05:56 PM.

      Comment


        Originally posted by swolf View Post
        Not the same guy, but I'm running into the same problem. CustomLibraryPlugin is the Options Menu Kit. It seems to implement that aspect of the Victory plugin on its own which is causing compile issues when you try to compile Victory after. I just discovered this and I don't have a solution beyond don't use both at the same time I guess.
        Both plugins offer rebinding of action keys from my guess the CustomLibraryPlugin probably rips of code from the victory plugin lol, i would recommend changing the blueprint functions to use Rama's plugin and simply deleting the CustomLibraryPlugin as its not needed.


        [MENTION=552]Rama[/MENTION] can we please get a update for 4.15p1 i can't seem to recompile it in VS without errors thanks.

        Comment


          Is there any options in this for choosing player starts between levels for easier switching between levels?

          Comment


            Hi Rama,
            I DL'd and started trying 4.15.0 preview 2, specifically looking for some specific engine updates that I was waiting on in 4.15. The updates are working. I would like to move my game from 4.14.3 to 4.15.0 but I'm getting a "Plugin missing or incompatable, Missing or incompatable modules in VictoryPlugin plugin - would you like to disable it."

            What I did was
            I just wanted the victory plugins not the editor.
            I put the Victory Plugin folder at "\4.15\Engine\Plugins\VictoryPlugin".
            The engine loaded but showed the plugin was disabled.
            I hit the checkbox to enable it.
            Restarted 4.15.0 preview 2
            And it brought up the error.

            Did I miss a step or does the plugin not work with 4.15 yet?

            Thanks for any help
            Russ.

            P.S. LOVE the plugins.

            Comment


              Originally posted by swolf View Post
              Not the same guy, but I'm running into the same problem. CustomLibraryPlugin is the Options Menu Kit. It seems to implement that aspect of the Victory plugin on its own which is causing compile issues when you try to compile Victory after. I just discovered this and I don't have a solution beyond don't use both at the same time I guess.
              oooooh!

              Thanks for explaining that swolf!

              If any of you see something named joy anything it is quite possibly something I wrote hee hee!

              The solution would have to involve C++ modification by the person who wrote the options menu kit to rename the types he uses from my Victory Plugin to avoid name compile issues, please contact the author of that plugin

              Rama

              ~~~

              Originally posted by OverRated_AU View Post
              Both plugins offer rebinding of action keys from my guess the CustomLibraryPlugin probably rips of code from the victory plugin lol, i would recommend changing the blueprint functions to use Rama's plugin and simply deleting the CustomLibraryPlugin as its not needed.


              [MENTION=552]Rama[/MENTION] can we please get a update for 4.15p1 i can't seem to recompile it in VS without errors thanks.
              Ahh good point, I will download 4.15 preview soon

              Rama

              ~~~

              Originally posted by Rstenberg View Post
              Hi Rama,
              I DL'd and started trying 4.15.0 preview 2, specifically looking for some specific engine updates that I was waiting on in 4.15. The updates are working. I would like to move my game from 4.14.3 to 4.15.0 but I'm getting a "Plugin missing or incompatable, Missing or incompatable modules in VictoryPlugin plugin - would you like to disable it."
              Thanks for any help
              Russ.

              P.S. LOVE the plugins.
              Yes it wont work till I upgrade it cause of C++ changes, will do so soon!

              Nice to hear from you!

              Rama
              Last edited by Rama; 02-01-2017, 09:09 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


                Load Texture 2D From File!

                JPG, PNG, BMP, ICO, EXR, and ICNS are Supported File Formats !


                With this node you can load a Texture 2D from a file during runtime!

                I output for you the width and height of the loaded image!

                Now you can easily create Texture 2D's from image files in Blueprints, during runtime!


                Special Note!

                Tim Sweeney liked this node!

                Click image for larger version

Name:	LoadImageFromFile2.jpg
Views:	8
Size:	201.0 KB
ID:	1122411

                Click image for larger version

Name:	LoadImageFromFile.jpg
Views:	8
Size:	238.0 KB
ID:	1122410

                Enjoy!

                Rama

                PS: Make sure to include the file extension when you use this node!



                ~~~

                C++ Code For You

                Here is the core C++ function involved, entire source is in the download! I wrote my own Enum for the file formats.

                Code:
                UTexture2D* UVictoryBPFunctionLibrary::Victory_LoadTexture2D_FromFile(const FString& FullFilePath,EJoyImageFormats ImageFormat, bool& IsValid,int32& Width, int32& Height)
                {
                	IsValid = false;
                	UTexture2D* LoadedT2D = NULL;
                	
                	IImageWrapperModule& ImageWrapperModule = FModuleManager::LoadModuleChecked<IImageWrapperModule>(FName("ImageWrapper"));
                	
                	IImageWrapperPtr ImageWrapper = ImageWrapperModule.CreateImageWrapper(GetJoyImageFormat(ImageFormat));
                 
                	//Load From File
                	TArray<uint8> RawFileData;
                	if (!FFileHelper::LoadFileToArray(RawFileData, * FullFilePath)) 
                	{
                		return NULL;
                	}
                	
                	  
                	//Create T2D!
                	if (ImageWrapper.IsValid() && ImageWrapper->SetCompressed(RawFileData.GetData(), RawFileData.Num()))
                	{ 
                		const TArray<uint8>* UncompressedBGRA = NULL;
                		if (ImageWrapper->GetRaw(ERGBFormat::BGRA, 8, UncompressedBGRA))
                		{
                			LoadedT2D = UTexture2D::CreateTransient(ImageWrapper->GetWidth(), ImageWrapper->GetHeight(), PF_B8G8R8A8);
                			
                			//Valid?
                			if (!LoadedT2D) 
                			{
                				return NULL;
                			}
                			
                			//Out!
                			Width = ImageWrapper->GetWidth();
                			Height = ImageWrapper->GetHeight();
                			 
                			//Copy!
                			void* TextureData = LoadedT2D->PlatformData->Mips[0].BulkData.Lock(LOCK_READ_WRITE);
                			FMemory::Memcpy(TextureData, UncompressedBGRA->GetData(), UncompressedBGRA->Num());
                			LoadedT2D->PlatformData->Mips[0].BulkData.Unlock();
                
                			//Update!
                			LoadedT2D->UpdateResource();
                		}
                	}
                	 
                	// Success!
                	IsValid = true;
                	return LoadedT2D;
                }
                ~~~

                Latest plugin download on the UE4 Wiki: (8 mb)
                https://wiki.unrealengine.com/File:VictoryPlugin.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 clicking this link will not start a download instantly, it will just take you to the Media Fire file description.

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

                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


                  Thanks Rama for all these great nodes, i was thinking the other day the engine lacks nodes that relating to sublevels and a cool node would be getallactorsonlevel, i think it would be great to be able to save sublevels aswell, for example if a empty sublevel is used for client data only it would make for a nice saving and loading system.

                  Comment


                    Victory Plugin 4.15 Released!

                    Dear Community,

                    I've updated my plugin to 4.15 preview 3!



                    Enjoooy!



                    Rama

                    4.15 Build (HTML5, win32, win64, editor, dev packaged, and shipping)
                    https://www.mediafire.com/?ieovbd5l9d7yub2

                    Last 4.14 Build
                    http://www.mediafire.com/file/7915cu...ryPlugin14.zip
                    Last edited by Rama; 02-07-2017, 03:45 AM.
                    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
                      Dear Community,

                      I've updated my plugin to 4.15 preview 3!



                      Enjoooy!



                      Rama

                      4.15 Build (HTML5, win32, win64, editor, dev packaged, and shipping)
                      https://www.mediafire.com/?ieovbd5l9d7yub2

                      Last 4.14 Build
                      https://www.mediafire.com/?ieovbd5l9d7yub2
                      Thanks Rama .

                      Comment


                        Hello,

                        I'm quite new to UE4, and I've been spending a lot of time with it lately trying to learn. I've been trying to install and use the VictoryPlugin for a project I am working on.

                        I have downloaded the plugin at this link:
                        http://www.mediafire.com/file/ieovbd...toryPlugin.zip

                        I have extracted the folder into this location:
                        D:\Epic Games\4.14\Engine\Plugins\Runtime

                        I have verified that in the file named VictoryBPLibrary.uplugin located at
                        D:\Epic Games\4.14\Engine\Plugins\Runtime\VictoryPlugin
                        installed is set to true.

                        I have gone into the project I wish to use this plugin for and enabled use of this plugin.

                        It prompts me to restart the UE4 engine such that I am able to use the plugin.

                        When I try to launch my project any time after, it gives me the message,
                        "Missing or incompatible modules in VictoryBPLibrary plugin - would you like to disable it? You will no longer be able to open any assets created using it."

                        I'd really like to use both this plugin but I keep getting this error. Has anyone else had this issue or does anyone know why this is happening?

                        Comment


                          I have the same problem as Predatoria, but I just put VictoryPlugin folder in My_Project_name\Plugins folder as usual, and I have the same error, "Missing or incompatible modules in VictoryBPLibrary plugin - would you like to disable it? You will no linger be able to open any assets created using it".

                          Downloaded from http://www.mediafire.com/file/ieovbd...toryPlugin.zip (The same link as Predatoria)

                          Best regards, and thanks for a good BP nodes
                          English is not my native language. So yeaaah. :3

                          Comment


                            The v4.14 download has been accidentally replaced with v4.15p3. Use an older version if you have one for now, I messaged Rama about it.

                            Comment


                              Originally posted by Predatoria View Post
                              I'm quite new to UE4, and I've been spending a lot of time with it lately trying to learn. Has anyone else had this issue or does anyone know why this is happening?
                              Originally posted by normal_ST View Post
                              Best regards, and thanks for a good BP nodes
                              Originally posted by KerberusGames View Post
                              The v4.14 download has been accidentally replaced with v4.15p3. Use an older version if you have one for now, I messaged Rama about it.
                              Hi everyone! Sorry about the confusion!

                              Welcome to the UE4 Forums everyone! And congratulations on your first post [MENTION=131019]KerberusGames[/MENTION] !

                              My policy has been that VictoryPlugin main link is always the latest version, and I list prior versions below as separate links

                              Here are 4.15 and 4.14 proper links

                              4.15 Build (HTML5, win32, win64, editor, dev packaged, and shipping)
                              https://www.mediafire.com/?ieovbd5l9d7yub2



                              ♥ Please note I now use the UE4 Marketplace C++ Plugin Standard when packaging Victory plugin for you ♥

                              1. Win64 Development
                              2. Win64 Shipping <~~~~~~ NEW!
                              3. Win32 Development
                              4. Win32 Shipping
                              4. HTML5 Development
                              5. HTML5 Shipping <~~~~~~ NEW!

                              Please see my instructions for Packaging UE4 Plugins With Your Game.

                              ~~~

                              Prior Engine Versions

                              4.12: http://www.mediafire.com/download/g4...ryPlugin12.zip

                              4.11: http://www.mediafire.com/download/jp...ryPlugin11.zip

                              4.13: https://www.mediafire.com/?7kt9fepwa1pgs0y

                              4.14: http://www.mediafire.com/file/7915cu...ryPlugin14.zip

                              ~~~

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



                              Rama
                              Last edited by Rama; 02-07-2017, 03:54 AM.
                              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
                                4.15 Build (HTML5, win32, win64, editor, dev packaged, and shipping)
                                I had to still recompile this still for 4.15 Rama not sure why.

                                Comment

                                Working...
                                X