Questions tagged [unreal-4]

Unreal Engine 4 is a professional suite of tools and technologies used for building high-quality games across a range of platforms.

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

How to use CreateGridMesh in RuntimeMeshComponent

I don't know to pass on the 5th parameter. I'm still new with C++ so if someone could help me with the pointer ...
0
votes
0answers
17 views

ue4editor.exe GPU selection

Even though I set ue4editor.exe to use integrated graphics on my laptop, it somehow ends up using the discrete nvidia gpu; is there a way to set the preferred gpu with the unreal suite?
0
votes
0answers
11 views

Unreal: Where should I place a DLL so it will copied when packaged or zipped?

I'm currently using the FPaths::ProjectPluginsDir() directory to store a custom DLL for Unreal. However, when I build or zip the project, I need to manually create ...
0
votes
2answers
36 views

In Unreal Engine 4, how do I get the component's “game object” via C++?

I have an ACharacter instance with a weapons component that inherits from UActorComponentattached to it. I'm currently writing ...
0
votes
0answers
18 views

Keyframe animation workflow

Been digging through the animation tools in Unreal, trying to find a direct way to set keyframes and edit animation curves on a skeletal mesh. It seems far more complicated than I expected, generally ...
0
votes
1answer
34 views

how to make the capsule move during anims

I'm trying to make a cartwheel/ dodge to the side in ue4 but when the animation plays it moves out of the capsule and slides back. Is there a way to make the capsule move with the character in the ...
0
votes
0answers
25 views

Lighting closed off map in UE4

How would you tune your lighting setup on a big closed off map without day-night cycle or any changes in lighting scenario during gameplay. Level can have some kind of foliage moving in the wind.
0
votes
1answer
35 views

How to make my character walk by clicking and holding the mouse button?

I created an Action Mapping using the right mouse button as a reference. The Action Map is called "Andar" (walk in english). In the character code, I call this Action Mapping and in it I make the ...
0
votes
1answer
77 views

Why do i get this error in VS2017 but game compiles and works as expected?

I have this error, yet the game works and that variable ActorThatOpens get assigned correctly. In my header the includes are: ...
0
votes
1answer
45 views

Confuddled with learning C++ / UE4 . Why can't I access this AActors properties?

Hello all I decided to punish myself further by now adding C++ to my list of things i know a little bit about. Some of it looks familiar having dealt with C# quite a bit, but i am getting caught out ...
2
votes
0answers
26 views

How can I spread my texture evenly across a cylinder in Unreal Engine 4?

How can I spread my texture evenly across a cylinder in Unreal Engine 4? Specifically, in the image below, I would like have texture on cylinder (on the left) match the one on the box (on the right). ...
0
votes
0answers
23 views

Why is not the projectile going toward the target?

I have a project where I can shoot (with a simple projectile). Character Blueprint (generate projectile): However I would like to be able to make the projectile go towards a specific target. ...
1
vote
1answer
26 views

Nonsense error when increasing LightSource angle?

My project has a Light Source and a Sky Sphere Blueprint. The rotation on the y axis (Light Source) defines the position of the sun (Sky Sphere Blueprint). Character Blueprint (increases by 10 ...
1
vote
1answer
39 views

Problem making shooting follows an actor/object

At first I created an actor to be a projectile, he acts with a simple projectile. When generated it goes straight, anyway... To do this, I added the Projectile Movement component. It turns out that ...
0
votes
1answer
36 views

How to make a texture appear the same way in a cube?

My problem seems so simple, that before asking the question here I did a search on google and this site: https://forums.unrealengine.com/development-discussion/content-creation/33665-applying-and-...
0
votes
0answers
22 views

Game runs in UE4Editor but not standalone

I have just completed these instructions to build and run UE4Editor for Linux. I created a new C++ project and in the editor I hit the Launch button and after a while it compiled and ran successfully....
1
vote
1answer
66 views

How can you create a side-scrolling beat-em-up perspective in Unreal Engine?

How can I achieve Streets of Rage type of perspective in UE4? By that, I mean having a 2D character that walks "into" the screen, but the character doesn't get smaller or angled in any way. Is there ...
-1
votes
1answer
48 views

How are 3D game levels built?

I am wondering what is the best / most common practice in 3D games (mostly shooters) like Quake or Doom. How are the levels built? With larger, open spaces the answer is probably some kind of terrain ...
0
votes
0answers
17 views

Error calling a Action Map

I tried calling the event Set Destination, simply to make an impression on the game screen: I did not succeed. I modified the 3 options displayed on the right (consume input / execute when paused / ...
0
votes
2answers
34 views

Problem with action mapping

Summarizing my problem well, I need a single button (right mouse button) to do two things. In my project (TopDown) I defined that instead of the left mouse button, the character moves with the right ...
0
votes
1answer
21 views

Problem with progress bar visibility

I have a code with several elements. One of these elements I would like you to initiate hidden. So I did, set for the progress bar to start hidden. It started to go wrong when and I was calling its ...
0
votes
2answers
45 views

How to improve the look/aspect/resolution of a Text Render in my game?

In my game there are warriors who walk the map following a path. Above their heads is shown their life (text render). It turns out that unlike when I'm simulating the game (I'm not possessing the ...
0
votes
0answers
31 views

How to make a Multicast Delegates in Blueprint?

I used the Set Timer by Event, but I could not use the delegate in more than one event: I've been researching about and it's possible, but I've only found results in c ++: https://docs.unrealengine....
2
votes
2answers
245 views

How game engines generate single executable games?

I was taking a look at Cryengine's and Unreal's code and when built both engines generates lots of dlls. Inside Cryengine's System code I could see that it calls LoadLibrary to load the dlls and ...
1
vote
2answers
81 views

How to decrease the size of a distance?

I made a code for the character to be teleported to the place where the mouse cursor is, if the distance is less than or equal to 350. Blueprint: I happen to wish that if the distance were greater, ...
0
votes
1answer
26 views

Where is the part of the code of the mouse click in the TopDownCharacter blueprint?

I have a project where by pressing the B key, the character after a time interval is teleported to a point on the map. I can do this. It turns out that I imposed conditions so that at the end of the ...
-2
votes
1answer
82 views

How to set the delay based on the number of attacks performed in 1 second?

I would like the delay that defines the interval in which the warrior deals damage to an enemy, was calculated based on a number of attacks per second and not a delay. Explaining best, I'd like to ...
1
vote
0answers
28 views

Using MCTS in Unreal Engine

I have been making a turn-based board game in UE4 and have come to the point of making a first pass on the AI. I planned to use Monte Carlo Tree Search but this requires you to make (at least) one ...
0
votes
2answers
158 views

How can a variable have two values at the same time?

Just to clarify, I do not want to know how to make a variable display 2 values ​​at the same time. I want to know how this is happening in my project. In the Level Blueprint I have a timer that ...
2
votes
0answers
69 views

How can I make a tendril flame like aura visual effect?

I am a bit new to UE4 and I'm trying to get a tendril flame like aura like the picture below. Does anyone know how I would go about this? Should I use post processing or particles?
0
votes
1answer
35 views

Way to store object reference?

I have a project where a minion overlaps the tower. Needless to say, the problem occurs when more than one minion overlaps the tower at the same time. It turns out I've figured out how to go through ...
0
votes
0answers
12 views

UE4 - images not appearing in Web build

I created a game with a lot of sprites and flipbooks - it works very well in a windows build, however in web build - some don't appear at all, some appear as a white square instead of a regular image ...
0
votes
0answers
19 views

How can I reduce memory use when implementing an animation in UE4?

We've already made a tank's track spline animation but it's using a lot of memory because it's implemented inside a tick function. So, it needs to check every second but as you may know it requires a ...
1
vote
0answers
61 views

How to make a sprite above my character appear on the minimap attached to the floor?

I have a project where I made 2 minimaps. One of minimaps is linked to the character of my project and the other to the floor: As I already said in the title of the question, my character has a ...
1
vote
3answers
93 views

How to make TEXT RENDER stand facing the camera of my character and also for the camera of simulation?

I have an actor (Minion) with a Text Render just above it mesh: As you have seen, I defined your rotation as absolute, so the text does not rotate along with the actor. In the game the rotation ...
1
vote
0answers
16 views

Elements of a widget blueprint do not appear if I click on simulate

I made a widget that contains 2 minimaps and 2 texts related to a character's variables. When I click the play button (Selected Viewport) everything happens fine: Focus where I circled in pink. It ...
1
vote
0answers
20 views

Change text of bus destination sign at runtime

I have rigged a bus in blender and imported it into Unreal. Now I want to change the text of the destination sign at run time. How can i do this?
0
votes
0answers
25 views

Why is my project overlapping being canceled / deactivated / unconfirmed?

I finally discovered out what the problem has been haunting me for some time, which made me ask these 3 questions: How to make overlap detection more accurate? Nonsense error in the overlap between ...
0
votes
0answers
22 views

How to spawn objects and control the content in each spawn

I'm using unreal engine and would like to spawn multiple actors and control the text in each spawned actor. How can this be achieved in unreal engine?
0
votes
1answer
104 views

Game area where I can not click?

I created a project based on the Top Down Example. What is happening is that there is an area just above my character where I can not click. Image showing location where the mouse is and soon after, ...
0
votes
2answers
78 views

Overlap detection does not work correctly when there is more than one warrior colliding with the tower

I have a project where warriors are generated and they follow a route. In this route has a tower, when a warrior overlaps that tower, it takes 5 of it life, and he does it every 1 second. Code of the ...
0
votes
2answers
68 views

Nonsense error in the overlap between 2 warriors and a tower

I have a project where 1 warrior is generated every 5 seconds. This warrior as it is generated tries to follow a path that contains 4 target points. Between the target point 1 and the target point 2 ...
0
votes
0answers
48 views

How to make overlap detection more accurate?

I have a project where there are two types of warrior, red and blue. When they overlap, both are destroyed, or at least that is what should happen. Red Warrior Blueprint (code of destruction): This ...
0
votes
1answer
26 views

Error detecting collision with another instance of the same actor?

I have a project where after a certain time interval 2 NPCs are generated in different locations on the map. Each of them collides with a collision box that defines its "class" (red or blue): When 2 ...
0
votes
1answer
43 views

How to change the speed of an NPC?

I created a blueprint. I added several components to the blueprint. I made it follow a target point and it does it correctly. I'd like to make the NPC make this way to the target point faster, but I ...
0
votes
1answer
29 views

How to call an event of level blueprint from NPC blueprint?

I have the following situation: 1 NPC that follows a path containing 3 parts. Target Point 1, Tower and Target Point 2. It turns out that the first NPC that passes through the tower destroys it. ...
0
votes
1answer
31 views

Actor does not perform action when spawned?

In the level blueprint I made a code so that after 5 seconds an NPC was spawned, it happens that it does nothing. Only the NPC I added by the level editor acts correctly. Image of what happens: ...
0
votes
1answer
41 views

How to change the value of variable from actor Y by the blueprint of actor X?

I have a project, and it has: 1 NPC (actor X), 2 target points and 1 tower (actor Y). Image of components in level: These rose arrows demonstrate part of the NPCs path. I added a Event Begin ...
0
votes
1answer
33 views

How do I make a blueprint run keyboard key commands?

I created a project based on the Top Down Example. In the project comes a character that I can move by clicking on the terrain that already comes by default. Image of gameplay: In the character's ...
2
votes
1answer
28 views

How to add material to a blueprint created?

My project has a cube and a capsule. Below you can see an inserted cube of the modes tab. Beside a capsule inserted from a blueprint created by me: I can drag the material I created and use it in ...