Usage: I use this to to place my interface HUD objects in the same space as designed in photoshop on screen and have this auto align and scale to different resolutions.
Parameters:
XPos and YPos
-Start X and Y from Photoshop where the interface object sits.
Width and Height
-The Height and width of the image
Idea Screen Size
-This is the Doc Size of the canvas in photoshop in my case 1920x1080
Usage: This scales the input by the Idea Size and the actual size of the game screen. Also Note that here you can do exact scale or keep the aspect ratio by only only scaling the height and width by the x width ratio.
I would like this to be a collection of useful BP Functions as I clean up the BP code i have I would like to share more so we all can learn and grow. Please share your helpful BP Functions here as well.
Spawning Custom Weapon/Attaching to socket/toggling between attack and sheathed mode/Animation BP setup for both attack and non attack idle blend spaces.
You’re a machine! It’s all I can do to keep up with one engine/community. T3D will always have a special place for me, having used it more extensively than anything else. Looks like it’s coming along really nicely too.
I have a couple of things I can add, from my recent implementation of an inventory system.
I was thinking of adding mine but its all in c++ lol with simple add and remove functions in BP. I’m getting a little burnt out though, sometimes i come home and stare at unreal for like an hour before i start doing anything. Then pass out sleep after 30 minutes. To be woken up by my wife 2 hours later… /sigh
Note that I need to make some kind of adjustment to apply a forced forward movement for dodge if you hit dodge with out the movement direction being pressed. If this happens the player dodges in place… >.> yep…
Thanks got it all setup but it wont show unless I add another Draw Material simple after it in the HUD. I have checked over everything I cant seem to resolve this. Are you using a static image or a scenecapture2d of your map for the MapMaterial?
Not sure if anyone else has tried this. But there may be some details missing. As the screen size and position does not show what the input variables are. I know the colors so I could guess between the text and that. It still is not working I will keep trying to figure out what I missed but perhaps you could start from scratch follow your own example and see if there’s a step or important piece missing when you have time thanks.
Well yes but all material variables are the same color as are of course all class types. Again not sure why its not working I will go thru it with a fine tooth comb again to try to get it to work.
thanks for your response.