| Mirage Source http://www.miragesource.net/forums/ |
|
| Chest http://www.miragesource.net/forums/viewtopic.php?f=208&t=3347 |
Page 1 of 1 |
| Author: | William [ Sun Feb 03, 2008 9:09 pm ] |
| Post subject: | Chest |
Decided to add a simple chest to my game: ![]() http://img238.imageshack.us/img238/2552/chestxh1.png |
|
| Author: | Becoming [ Tue Feb 05, 2008 1:28 am ] |
| Post subject: | Re: Chest |
so how many different chests can you have on one map and how do you open a chest ? |
|
| Author: | jasoncannon [ Wed Feb 06, 2008 11:58 pm ] |
| Post subject: | Re: Chest |
i am so looking at your chest right now........... |
|
| Author: | Jestar [ Fri Feb 08, 2008 9:47 pm ] |
| Post subject: | Re: Chest |
So do you carry the chest in your inventory? or is it like in a bank? either way, nice job. |
|
| Author: | Spodi [ Sat Feb 09, 2008 1:11 am ] |
| Post subject: | Re: Chest |
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"? |
|
| Author: | Tony [ Sat Feb 09, 2008 5:53 pm ] |
| Post subject: | Re: Chest |
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 >< |
|
| Author: | Spodi [ Sat Feb 09, 2008 5:58 pm ] |
| Post subject: | Re: Chest |
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. |
|
| Author: | Becoming [ Sat Feb 09, 2008 6:02 pm ] |
| Post subject: | Re: Chest |
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. |
|
| Author: | seraphelic [ Mon Feb 11, 2008 10:36 pm ] |
| Post subject: | Re: Chest |
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. |
|
| Author: | William [ Mon Feb 18, 2008 9:54 am ] |
| Post subject: | Re: Chest |
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. |
|
| Author: | Becoming [ Mon Feb 18, 2008 5:50 pm ] |
| Post subject: | Re: Chest |
be cool if you could do it by map x & y for barrels. |
|
| Author: | William [ Mon Feb 18, 2008 6:32 pm ] |
| Post subject: | Re: Chest |
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. |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|