Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Unreal - treasure collecting

Hmm. I am really not sure the best way to go about this.

What I want is a series of collectable items in my map, which you touch to collect, and then it's displayed in a hud.

I think I can work out how to do the hud from tutorials, but I don't even know where to begin with the collectable items.

I tried using kismet but haven't got a clue. My thought was:

- trigger touched -> add 1 to variable

and I got stuck even there. How would I be able to duplicate the items and have kismet for all of them without having to type it out each time? And where even is the "add 1 to variable" command -.-
 
Ok, I *think* I have worked out how to make a trigger raise a variable.

I don't know how to display it though. *Apparently* there is a "draw text" in kismet but I can't find it anywhere :|
 
I've made 20 seperate objects and linked them all to a kismet block to show a message. I just need something to trail off that to raise a variable; and some way of showing that variable. Hmm.
 
:p there is a video on youtube of a guy showing how to setup an inventory with a HUD. :)

I suggest you have a look at 3Dbuzz video tutorial ( free :) ) on UI scenes (that's the term in UDK)

The only drawback of using kismet, is that it only applies for the current map like an event in RPG Maker. so you'd have to do it over and over again if you make several maps.

The thing would be to do that in unrealScript which is way more complicated...

I also suggest you subscribe on the UDK community forum :p
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top