PDA

View Full Version : [Tutorial]RPG Inventory



gegebel
01-17-2010, 09:39 AM
I wanted to know if there are enough people wanting a tutorial about how I made a working basic inventory with only UIScene and Kismet.
If there are enough people interested, I'd be glad to help but since it takes some time I need to know there's at least "some" interest.

redfury112
01-17-2010, 10:25 AM
Yes I would be verry gratefull:)

javahawk
01-17-2010, 11:42 AM
So many tutorials to do and so little time! Haha.

Dan911
01-17-2010, 02:28 PM
Would be great, would prefer with Uscript though

gegebel
01-17-2010, 05:26 PM
I know absolutely nothing about Uscript, like many others here, which is why I used UIScene and Kismet.
If you know how to do it with Uscript, I gladly take any hints, but until now I haven't seen anyone doing it else then with "sapitu".

Interius
01-17-2010, 07:52 PM
I just started a rpg project with my team. This is our first project for all of us. This TuT would be epic!

Dan911
01-18-2010, 12:24 PM
if you post this tutorial, i will make one for Uscript :)

Zerav
01-18-2010, 02:10 PM
This tutorial sounds VERY interesting to me : )

gegebel
01-19-2010, 12:59 AM
I'm recording at this very moment, it'll be up on thursday.

nightFlarer
01-19-2010, 01:18 AM
Nice, this will help out alotta people trying to make RPGs.

Ayalaskin
01-19-2010, 10:04 AM
This will help us a lot.

infl1ct1on
01-20-2010, 08:05 PM
Can't wait for the tutorial. Will definitely help me out a ton!

gegebel
01-20-2010, 08:42 PM
The first video is being uploaded.
If you have no sound, it's normal.
I've been sick for a few days now (bronchitis) and no one could understand what I was saying so I just took out the sound.
If you have any questions to the first video, just post them in here.

Link: http://www.youtube.com/watch?v=B3z7x4xMLyI

5hfifty
01-25-2010, 03:40 AM
Thanks for this, it helps me understand how UIScenes can be used. I'm wondering if this can be adapted to a simple hi-score system? Can the variables be transfered from level to level?

lubitel
01-25-2010, 08:19 AM
bring it on:)

rahatropa
01-25-2010, 12:20 PM
in for tut.

DigitalDemolition
02-24-2010, 07:55 AM
thanks i needed this

BloodReyvyn
02-24-2010, 09:28 AM
Since I do plan on creating an Inventory of sorts in the future, having advance knowledge into what is needed to get this running in UDK would be very helpful.

EMPIRE
03-06-2010, 05:58 AM
Any luck with that tutorial gegebel?

gegebel
03-09-2010, 01:54 AM
Kinda busy with work right now but it's still on the plan, soon.
If you check the 1st video though, it works the same way.

3dcamel
08-03-2010, 04:08 PM
please do in uscript

Snufkin
08-06-2010, 11:00 AM
Where is it!?

Wyldhunt
08-07-2010, 01:30 AM
Where is it!?

The first video is being uploaded.
If you have no sound, it's normal.
I've been sick for a few days now (bronchitis) and no one could understand what I was saying so I just took out the sound.
If you have any questions to the first video, just post them in here.

Link: http://www.youtube.com/watch?v=B3z7x4xMLyI

It is right there.

Snufkin
08-08-2010, 07:04 AM
It is right there.

Hah! Just testing ya!

3dcamel
08-10-2010, 01:32 PM
please do a clearer version and in uscript please :P:P thanks xD

3dcamel
08-13-2010, 05:02 PM
please bump this thread as i really need to figure out how to do a inventory system implimentation with scaleform gfx. please somebody help.

also can somebody explain how it would work, like how would you store items such as potions and what not.

thanks guys


x

westclif
08-13-2010, 05:52 PM
yeah im interested in this too, cause i tried myself on a rpg inventory for over 2 months now and it seems like that i havent made steps forward

AdAstra
09-01-2010, 05:45 AM
Dungeon Defense way:
1. Spawn KActors - mana tokens are physx objects which bounce around the level and add mana when picked,
(My extension) add array of random properties from a SQLite table.
Thanks to BlackHornet80 http://forums.epicgames.com/showthread.php?t=726137

2. playerController(or the pawn) periodically scans in a radius for this type of objects and adds impulse, pulling them towards the pawn. When the object gets under certain radius , execute collectItem() function;

3. collectItem - calls create inventory code(4), destroys KActor

My extension:
4. Create inventory item and transfer all the properties from KActor to the inventoryItem.
Check for empty item slots and equip(set bEquiped to true and add to an array) the newly created item

5. Iterate through the array with equipped items and modify character attributes.
TODO: 5.5 display/change corresponding pawn mesh component

6. Display(draw text) equipped items and the modified character attributes - I am using the canvas for prototyping

You can check this thread for some of my inventory code,
where MonsOlympus taught me how to make it more efficient.
http://forums.epicgames.com/showthread.php?p=27619045

Definitely check Dungeon Defense source!
I would not be this far in the development of my game without it.
Its my Unreal Script Bible, it can be yours too :)

This method will work for potions and the likes
http://www.youtube.com/watch?v=PhAbsZY11zs

TorQueMoD
03-20-2011, 07:14 PM
bump... definitely need to make a new version of the tutorial with sound though.

MAX1009
10-07-2011, 12:27 PM
It seems like UDK is best for FPS Role playing .. It seems like , a strategy game like AGE of Empires or Rise of Nations using UDK will be nightmare :( So amy type of tutorial regarding this will help a ton ..

Chosker
10-07-2011, 04:50 PM
why revive an old thread? there's even another working RPG inventory unrealscript tutorial around

LordNelson7
10-19-2011, 10:12 PM
Whats the link to that tutorial please Chosker?

Thanks.