3.16 RTS Spawning Resources at GameTime [UE4 - RTS Tutorial]

Опубликовано: 12 Октябрь 2024
на канале: TwoNeurons
3,430
196

Welcome to the 16th lesson in creating a Real Time Stragety game in #UnrealEngine.

This video will address how to tie our resource spawner (from lesson 14;    • 3.14 RTS Resource Spawner [UE4 - RTS ...  ) to our GameTime (from lesson 8;    • 2.8 RTS Setting up Game Clock [UE4 - ...  ). This approach uses an enum to allow the developer to decide from four options how they want the spwaner to interact with the GameTime. Another approach might be to use an interface similar to the GameTime HUD set up in the end of section 2. Another approach might be to pass the GameClock itself into the spawner (as we did with our day and night cycle). There are benefits and costs associated with each approach.

Try the different approaches (I may come back and do a follow up video on how to do this). See which approach works best for you, and which you find has the least overhead cost in #UE4.

The next video, we will polish up some of the work we have done on this #RTS. Following that I will put up a review video of section 3 and a preview of section 4. Then next Friday (April 05, 2019) we will begin creating units.

Download the meshes (tree and rock) and icons for section 3 there: http://bit.ly/RTSREsources


If you have any suggestions for content or topics you want to see covered, please let me know below, on twitter @TwoNeuronstream, or on Reddit.

---------
Section 3: Resources (basic/set-up)
Lesson 12 - importing meshes and textures for resources
Lesson 13 - creating Master BP and two children
Lesson 14 - Spawning in resources
Lesson 15 - Resources HUD
Lesson 16 - Connecting resource spawn to game time (section 2)

---------
The plan for this series is roughly:
1. Movement
2. Time and HUD
3. Resources (basic)
4. Units/NPCs (basic)
5. Construction (basic)
6. HUD/UMG
7. Combining Units and Construction (basic)
8. Resources and Construction
9. Unit/NPC behaviour

There will be more topics that will be covered, than what is listed above.

The order of presentation may change based on your feedback. Additionally, I may drop the intros if you guys do not find them useful.

---------
Follow me at:
Twitter:   / twoneuronstream  
Twitch:   / twoneurons  
Discord:   / discord