#
Make your own demo 🔥

Now that you’ve learned how the demo works, it’s time to make your own version!

We can’t wait to see the amazing demos you’re going to make 🔥.

You can:

- Share your demo on LinkedIn and X, and tag us @cubzh_ @gigax @huggingface we’ll repost it 🤗.

- But also share it on the Hugging Face Discord server in the #ml-4-games-i-made-this channel.

##
Teach your NPC new skills

For this part of the unit, it’s Tristan, the founder of Gigax, that made a video tutorial where you’re going to teach a NPC new skills 🔥.

The name of the Space changed, it’s not ai-npc anymore but NPC-Playground.

##
Bonus: find a funny hat

In addition to being able to teach your NPCs new skills, you can customize the assets you want to use in your demo thanks to a free library of 25k assets.

For instance, I want the NPC to give me a hat. For now, they give me a party hat when I ask them if they have a party hat for me.

But there’s so many more funny hats to try.

To do that, I selected 6 funny hats you can replace with:

- pratamacam.chicken_hat: Chicken Hat
- claire.sombrero: Sombrero
- exoticwilper.hat: Bear hat
- creativitial.cap: Child cap
- claire.napoleon_hat: Napoleon Hat
- claire.cowboy_hat: Cowboy hat

It’s quite simple, the skill we want to customize is GIVEHAT skill.

You need to go to Files and click on cubzh.lua

Then, we go to the `GIVEHAT` skill, here you can see what object is loaded, for now it’s a party hat. The name of an object in Cubzh is `creator_name.item_name`.

You can replace it with one of the 6 hats we provided.

Now, you just need to save, go back to your demo and talk to an NPC, ask them to put you a hat in your head and voila!

##
Challenge: create new skills

You can check the documentation to learn more on how to tweak NPC behavior and teach NPCs new skills.

< > Update on GitHub