8.69 AI - Timers and Fatigue System [UE4 - RTS Tutorial]

Опубликовано: 01 Октябрь 2024
на канале: TwoNeurons
960
45

Welcome to the 69th video of this #UE4 RTS #tutorial series. In this video, we will set up our timers and the fatigue gain/loss functions.

The background and font for the credits/supporters is a trial for this video. I will try another style in the next video.

I forgot to set the hunger timers to loop (I don't catch this until the next video). ALSO the clamps are mostly because our floats range 0-1.0 and we don't want to go above that. But also due to how game speed can change the math. I cover this in more detail in the next video.

Fix: Exposing blackboard Key - 0:30
Step 1: Setting up Behavior Tree - 1:20
Step 2: Setting up the Set Status event -5:09
Step 3: Setting up Fatigue Timers -7:47
Step 4: Setting up Hunger Timers - 11:20
Step 5: Increasing/Decreasing Fatigue - 15:56

Meshes for section 7: New resource icon: http://bit.ly/RTSResourceIcon2
Irons for section 7: http://bit.ly/RTSUnitAssets (copyright notices located with the invidual files)
Animation pack for section 7: https://www.unrealengine.com/marketpl...
Meshes for section 5: http://bit.ly/BuildingMeshes
Unit Portraits for section 4 here: http://bit.ly/UnitPortraits
Meshes (tree and rock) and icons for section 3 here: 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 8: Unit/NPC Behaviour
Video 66: AI Prep
Video 67: AI - Find housing (part 1)
Video 68: AI - Find housing (part 2)
Video 69: AI - Timers & Fatigue
Video 70: Status UI & Hunger
Video 71: AI - Status check

---------
The plan for this series is roughly:
1. Movement
2. Time and HUD
3. Resources (basic)
4. Units/NPCs (basic)
5. Construction (basic)
6. Combining Units and Construction (basic)
7. Resources, Units, and buildings
8. AI (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.

---------
Support this channel:   / twoneurons  

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