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

    Originally posted by Rama View Post
    Oh that does sound neat!

    Well if you'd like, you could download my latest plugin version, add the relevant code to the specifications that you know are correct, and then you could pm me when ready!

    Have fun today!

    Rama
    Absolutely I'll get that sorted.

    One other thing that the command can be useful for is to easily create an RTS fog of war (I go over this a bit here).

    I'd love to help sort out raycasting against UVs, especially for skinned characters, as that'd give the ability to do dynamic, location-accurate decals (not Decals as in the object, just updated texture colors) on skinned meshes when combined with the texture update method. That would be great for doing damage from cuts or even projectiles and have them show up in the right spot. If done right you could even update normals or other maps to change how the material looks for those areas that were updated.
    Storyteller - An immersive VR audiobook player

    Dungeon Survival - WIP First person dungeon crawler with a focus on survival and environmental gameplay ala roguelikes

    Comment


      Originally posted by n00854180t View Post
      Absolutely I'll get that sorted.

      One other thing that the command can be useful for is to easily create an RTS fog of war (I go over this a bit here).

      I'd love to help sort out raycasting against UVs, especially for skinned characters, as that'd give the ability to do dynamic, location-accurate decals (not Decals as in the object, just updated texture colors) on skinned meshes when combined with the texture update method. That would be great for doing damage from cuts or even projectiles and have them show up in the right spot. If done right you could even update normals or other maps to change how the material looks for those areas that were updated.
      Okay great, let me know when the BP code is tested and ready to go!

      Regarding the matter of ray casting against UVs , I don't have the time at the moment to look deep into this, so if you find out any leads on this let me know! Might require some engine modifications

      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


        Rama Victory BP Library Nodes

        Get Current Operating System Time

        Get Milliseconds/Seconds/Minutes/Hours Passed Since Previous Recorded Time!


        ~~~

        Real Use Case

        I used these two nodes with a client just last night to help them make a game where they could record the amount of real world time that has passed since someone last played their game!

        So their goal was to know exactly how many hours minutes and seconds have passed since a player logged of their game last!

        It was really easy actually thanks to my Get OS Time nodes!

        Here are the steps:

        1. make a new save object with a simple String variable

        2. when saving the object, use my Get OS Time node and use the return value

        3. When loading, use my Get Time Passed Since Last Recorded Time node!

        That was it!

        Here's a picture for reference!

        Click image for larger version

Name:	OSUpdate.jpg
Views:	2
Size:	257.9 KB
ID:	1057390

        Enjoy!

        Rama
        Last edited by Rama; 10-03-2014, 12:14 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


          Draw Thick Circle With Axis Control

          New node for you!

          With this node you can draw circles!

          And you can control their thickness, as well as how many points make up the circle!

          You can also have axis control!

          So you can draw circles horizontally, vertically, at angles, any way you like, with convenient BP node inputs!

          See pics!

          Click image for larger version

Name:	drawthickcircle3.jpg
Views:	11
Size:	100.4 KB
ID:	1057447

          Click image for larger version

Name:	DrawThickCircle4.jpg
Views:	11
Size:	131.1 KB
ID:	1057446

          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


            Originally posted by Rama View Post
            Yes I can surely do that, but can you be specific about what you want this node for?

            If you just want to store data you should use a BP of the GameInstance class, or you can use the globally accessible Game Data object that I describe in my wiki here, already implemented by Epic for storing data in a UObject format:

            https://wiki.unrealengine.com/Global...During_Runtime!



            Rama
            Sorry for the late reply, i forgot i had commented here

            Thanks for the link, it might be useful in the (near) future.

            I'm currently trying to think of a way to handle 'upgrades' for the player, i want to create a 'upgrade tree'. Since each of the upgrades do different things i figured it would be best to create different BPs when necessary. However because i don't know how many upgrades will have to be created i thought it would be better to use Object as a base class instead of Actor. If you know a better way of doing this please let me know, i'm still not sure if my way is a good way to go

            Comment


              Originally posted by Thommie View Post
              I'm currently trying to think of a way to handle 'upgrades' for the player, i want to create a 'upgrade tree'. Since each of the upgrades do different things i figured it would be best to create different BPs when necessary. However because i don't know how many upgrades will have to be created i thought it would be better to use Object as a base class instead of Actor. If you know a better way of doing this please let me know, i'm still not sure if my way is a good way to go
              What I would do is make a BP Structure asset, and then put the skill tree vars there

              And then you can use a Dynamic Array of your BP Structure type!

              right click->Blueprint->Structure

              So now you have a custom data structure that you can easily copy/paste/replace/break, and yet you can have as many as you want due to the dynamic array!

              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


                New BP Node

                Get Player Unique Net ID

                While working with a client earlier today in Blueprints I came to realize that the essential variable, PlayerID, present in the PlayerState class, is not exposed to Blueprints!

                I've submitted a pull request to have Epic address this, but in the meantime, I've also given you a BP node that gets you this very important variable!

                You can use the PlayerID to uniquely identify players in a networked game using Blueprints!

                This is an essential variable that lets you assign values to each unit to tell each player who owns which unit

                ~~~

                Using it

                In your game mode in the post login, when you receive the player, you can then use my node to obtain that player's Net ID, and assign that unique ID wherever you like as an ID variable.

                Make sure to replicate the variables that are storing the unique Net ID so all players on all machines know who owns which units!

                Click image for larger version

Name:	PlayerID.jpg
Views:	1
Size:	150.4 KB
ID:	1057504


                Have fun!

                Rama
                Last edited by Rama; 10-06-2014, 01:16 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
                  What I would do is make a BP Structure asset, and then put the skill tree vars there

                  And then you can use a Dynamic Array of your BP Structure type!

                  right click->Blueprint->Structure

                  So now you have a custom data structure that you can easily copy/paste/replace/break, and yet you can have as many as you want due to the dynamic array!

                  Rama
                  That's what i started out with, but i soon realised that most (if not all) upgrades will do different things so using one class + structs would make things really messy. For example, one upgrade might be a short boost in health, while another upgrade will permanently increase health regeneration, yet another one allows faster movement speed in certain areas. What i'm currently doing is spawning an upgrade that receives a notification when bought together with the buying playercontroller so it can do whatever it does.
                  I figured it would be easier to use different BPs for the upgrades so it's easier to keep track of what a certain upgrade does and where things might be going wrong.

                  Comment


                    Originally posted by Thommie View Post
                    I figured it would be easier to use different BPs for the upgrades so it's easier to keep track of what a certain upgrade does and where things might be going wrong.

                    ooooh

                    yea the big complication with my suggestion is that you cant add functions to Structures in BP, but you can in C++

                    So I can do everything I can do in a class in a USTRUCT in c++, but not so in BP, yet, maybe Epic will fix this at some point!


                    Once you can make BPs of UObjects I'd recommend going the Uboject route

                    having an Actor BP for every upgrade is pretty intense

                    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


                      Get Screen Resolutions Now Works in Packaged Game

                      My Get Screen Resolution Nodes works in packaged games now!

                      In 4.3 the core function in C++ was not working in BP, but now it is! Epic fixed it!

                      Enjoy getting the screen resolutions of the end user's hardware in your game now!

                      It is obtained from the user's display adapter directly! No guessing or preset values!



                      Click image for larger version

Name:	Resolutions2BP.jpg
Views:	8
Size:	579.1 KB
ID:	1053539


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

                      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


                        I did not know there is a structure BP until this thread. Good Info.

                        Anyway Rama, a dumb question, I just need overwrite the last plugin with the latest plugin?

                        Will existing Victory nodes (using previous version of your plugin) need reconnecting, or jut work out of the box?

                        I used a few of your plugin like OS clock/Time & some others I forgot.
                        Check my working title: The Locked Room here: https://forums.unrealengine.com/show...he-locked-Room

                        Comment


                          Originally posted by starseeker View Post
                          I did not know there is a structure BP until this thread. Good Info.

                          Anyway Rama, a dumb question, I just need overwrite the last plugin with the latest plugin?

                          Will existing Victory nodes (using previous version of your plugin) need reconnecting, or jut work out of the box?

                          I used a few of your plugin like OS clock/Time & some others I forgot.
                          If you download the latest version of my plugin you will only be getting new nodes and your previous ones will still work!


                          top secret: my latest download already has a get vertices of static mesh node that I"ve not yet *ahem* officially publically announced yet
                          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.

                            Now, we only need a function node that make coffee...
                            Check my working title: The Locked Room here: https://forums.unrealengine.com/show...he-locked-Room

                            Comment


                              Blueprint Node to access Vertex information of static meshes / collision blocks

                              Hi Rama,

                              I am currently working on my graduate thesis on fire propagation. My thesis explores what I have coined "material based fire propagation"; fire reacts and spreads differently when interacting with different surfaces. In the process, I am hoping to build an intelligent fire system. As a first step, I need to be able to access the vertices of a mesh so that i can propagate emitters along those vertices. What I have achieved so far is to be able to propagate along spline meshes. This is because of blueprint nodes available to calculate number of points along a spline, point locations along a spline and so on. But there are no blueprints available to do similar things with other types of meshes (e.g. static meshes). I am aware of other threads where you had posted codes to help people integrate it into their work. One such example, being "https://forums.unrealengine.com/showthread.php?8856-Accessing-Vertex-Positions-of-static-mesh". However, when I tried to do the same with the codes posted, I keep getting compile errors which points to some default unreal api header files. Being primarily a texture artist and designer, I have difficulty trying to get codes to work and I am very rusty with c++. Would it be possible to help me out with blueprint nodes that can calculate and access vertex information of static meshes please? I am sure other artists and designers would benefit from mesh "vertex info access" blueprint nodes.

                              Thanx,
                              CatchPhyre

                              Comment


                                Hey Rama,

                                I think I got your victory plug-in to work. I am gonna play with it to see what it can do . Thanks alot for the plug-in!!!

                                Cheers,
                                CatchPhyre

                                Comment

                                Working...
                                X