Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Chest
#1
Decided to add a simple chest to my game:

[Image: chestxh1.png]
http://img238.imageshack.us/img238/2552/chestxh1.png
Reply
#2
so how many different chests can you have on one map and how do you open a chest ?
Reply
#3
i am so looking at your chest right now........... :mrgreen: looks good
Reply
#4
So do you carry the chest in your inventory? or is it like in a bank? either way, nice job.
Reply
#5
Why did I hope to see boobs when I clicked this?

I don't quite see where the chest is. By chest, you mean like a personal storage / deposit box dealie? Or a chest like "You opened the chest and found a Sword of Awesome"?
Reply
#6
Spodi Wrote:Why did I hope to see boobs when I clicked this?

I don't quite see where the chest is. By chest, you mean like a personal storage / deposit box dealie? Or a chest like "You opened the chest and found a Sword of Awesome"?

It says deposit and withdraw >
Reply
#7
I've seen quite a few games that allow you to put stuff in public chests as well as take out from them, so I didn't want to jump to conclusions.
Reply
#8
theres pros and cons really to the whole chest idea. you can either do it by the map, which is pretty lazy and means only 1 chest per map, or you can make them based on an x and y position so you could have all sorts of containers on one map, for instance.
Your in a weapons shop and there is 3 barrels in the corner, you would be able to put the item in any of the 3 barrels without them conflicting with the item.
Reply
#9
So how did you set a chest system up? I created mine based on on each purchase or creation, the bag creates a file with its own identifier number so it can retain the items when traded and dropped.
Reply
#10
I made the chest map based, so you can only open it on that map.

If Getplayermap(index) = 295 then
'chest
end if

It's a very simple system, but hey, a chest is very easy to make.
Reply
#11
be cool if you could do it by map x & y for barrels. Tongue
Reply
#12
getplayerx and getplayery, takes 2 minutes to do. All I need to do is login and get the location. But I don't want people blocking the chest so I made it for that whole map.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)