Explore Cropout, a top-down casual RTS sample project General Announcements

The reason we copy the hierarchy is because this allows us to use the same skeleton for both character and hair. That means we can use the copy pose node to share the animation logic across each of these separate meshes (keeping the hair skeleton in sync with the main character). It also allows us to attach new leaf bones at different points in the bone the hierarchy.

The first 10 minutes of this video on Fortnite character design is a really good example of this.

Interestingā€¦
Yes, Iā€™m using M1 Max, which doesnā€™t support Nanite as far as I knowā€¦
Thanks for your reply Arran.

Hey guys im 100% new here but i wanted to upload a video of what ive done to the cropout template, i have some things id like to learn so pleaseeeeeee give it a watch its just a 2 minute watch.

I must mention i have 0000000% knowledge of blueprints, i almost did everything with a little logic and trial and error lol.

Things ive done:

  • Added new buildings from free assets in the Market Place.
  • Added a max villager cap.
  • Added 2 new resources, water and gold.
  • Each time a housing building is completed we will get gold every x amount of time (5 gold per villager).
  • Sawmills give wood, stone masons give stone, wells give water, tavern gives both food and water and the bakery gives food only, gold mines give gold also every x amount of time.

Things id love to learn how to do to expand this:

I would love to learn how to show icons above the buildings so we know which building is which or collect the resources made from them buildings when tapping or clicking them.

When a Sawmill is built, take all the wood there instead of the townhall
Same for a Stone Mason, if they collect stone, take it there.
Posibility to delete buildings.
Building selection and Tool tips when selecting a building.

APK can be downloaded from google drive, link in the video description.

Please if anyone has time and wants to teach me or team up or show me how its done im always available :slight_smile: Thanks again to all.

2 Likes

This sample project is EXCELLENT! Iā€™ve been working on converting my turn based project over from unity and finally have this hyper relevant example for camera/inputs.

Iā€™ve got some questions about the vocabulary in the files.
In general, I have been following this guide for naming things and folder organization.

So with that in mind, Iā€™ve got some understanding of abbreviations like BP_*

Blueprint/Core/GameMode/BP_GM = ā€œBlueprint Gamemodeā€

Blueprint/Core/GameMode/BP_GI = ā€œBlueprint Game Instance ???ā€

Okay as I was typing this all out, I saw something for the first timeā€¦

So Iā€™ve answered my own questionā€¦ but am gonna post this anyways :nerd_face:

2 Likes

I think thereā€™s a bug in the save load system. When you load the game the number of villagers is set to the correct value, but the variable is not set, so if you build another house the number of villagers counter starts from 0 once more.

You can fix it by adding ā€œSet Villagers Countā€ in BP_GM ā†’ Load Villagers.

I just started learning Unreal, so if thereā€™s a better way to fix it please let me know.

My problem is solved, I found the logic, thank you very much guys, this issue is closed.
I donā€™t know how to mark it as solved, so please ask the admins for help with this, thanks again guys.
Since this is my first time posting on the forum, I confused the difference between ctrl+enter and enter, so my post shows up messy, Iā€™m very sorry, Iā€™ll pay attention to it in the future.

im sure they already figured it out but the bound gap for the pumpkins is set to -1.0 when it should be set to -0.25

Hi all,

Just wondering why I canā€™t download the project. I was able to download it before, but messed up my instance while learning, now I need to download again

Iā€™m currently on V5.3.2

hi @peterhuynh_2904 . This is a common problem where you are not correctly logged in to the Epic Launcher properly. Clear the cache on your browser. Restart your machine and log back in to Epic Games Launcher. Select Marketplace examples and try and download again.

I have the same issue as well, and this method did not solve the problem for me. Is there any other solution available?

hi @Lan_Po,
There appears to be a problem with Epic Servers.

I have therefore made the project available at

CropoutSampleProject53/README.md at main Ā· jimshalo10/CropoutSampleProject53

1 Like

I left the launcher open in the marketplace tab with this open for a while and when i came back it let me create a project

Thank you so much for your help! Your response was really useful for me. Might be my internet is so bad.

Thank you so much for your help! Finally, I can download the project now.

1 Like

Really great project. Thank you Arran and team for creating it!!

Let me preface, Iā€™m new to Unreal but have a decent background in game dev and am picking it up fast.
My question is around the actor selection tool. I noticed that it only wants to function on a 2D plain. Any suggestions on how to make it work in an an environment with height variation or resources that might move me in the right direction?

I have a couple of questions and issues.
First of all I added this project to my own project. So it is not just the Cropout sample.
However Iā€™ve ran into this problems:

  1. At the start it only spawns one rock, why doesnt it spawn more resourcers? It also says my ā€œSpawnRefā€ is garbage, which is weird because its exactly the same as in the Croput sample project.

  2. When the game starts my Villagers arent walking but they are teleporting/flashing around the town center in high speed.

I cant find the problem, please help me out :frowning: !


BP_IconBaker, this blueprint, canā€™t capture the mesh with LOD attribute, only after setting the mesh to Nanite, it can be captured, abnormal.
Copy blueprint, is a new Actor, copy all the logic and components in BP_IconBaker, can capture the LOD attribute of the mesh, normal.
Test blueprint, is a new Actor, add components, add logic, and BP_IconBaker to maintain the same, but all new, can also capture the LOD attribute of the Mesh, normal.

The blueprint of BP_IconBaker copied out, or delete the old camera and create a new SceneCaptureComponent2D camera component, will be abnormal, only the new Actor will be normal.
Is the BP_IconBaker blueprint broken? Thank you!

turn off Is Editor Only Actor in BP_IconBaker,will work怂

:+1:Thank you very much.

HI,
Iā€™ve recently downloaded the Cropout example project and Iā€™m struggling to workout how the placement overlay mesh and material are applied.

Iā€™ve identified the blueprint responsible for attaching the overlay mesh to the chosen builbable item. What I canā€™t figure out is how\when the pulsating green\red material is applied?

Can anyone help me out?