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, can't find a single HUD tutorial :D



Basically, imagine Sonic. You collect rings; they show on the HUD. That's all I want.

This is in a dm- map.
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

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=70539