Once max item-per-tile limit is reached, a chest is spawned on that tile, which sucks up everything dropped there? Maybe that's too complicated. Idea shamelessly stol inspired by Morrowind's Overflow Loot Bag, a special container that did the same kind of thing.Nash wrote:Just thought of a cheap solution for clickable items. Since the game is tile-based, what I can do is limit the amount of items that are available on the floor to perhaps 2 or 3 items per "tile". Any attempt to drop/spawn an item when the limit is reached will just fail to spawn the item ("you can't drop this here!"). Not sure how I'm going to handle the situation where a killed monster attempts to drop an item on an already fully occupied tile though.
[Abandoned/Source RELz] Oldschool Tile-Based Dungeon Crawler
Re: [VERY WIP/tech demo] Oldschool Tile-Based Dungeon Crawle
Re: [VERY WIP/tech demo] Oldschool Tile-Based Dungeon Crawle
Hmmm. Perhaps what I can do is, I can have 3 item slots per tile, but items are stackable. For example, attempting to drop a 4th item on that tile will drop the new item to slot 1, overlapping whatever item that's on it.
In terms of "click priority", the most recently dropped item will always win, so again, using the above example, clicking on the first item hitbox will make the player pick up item 4 instead of item 1.
Also, another idea I have is, if you currently have an item "grabbed" by your mouse cursor, you can "throw" the item forward to the next tile if you click while the cursor is within the top half of the viewport... but if you click on the bottom half of the viewport, the item will be placed nicely on the ground (respecting the item prioritization rules I explained earlier). Item throwing inspired by Ultima Underworld. :D
In terms of "click priority", the most recently dropped item will always win, so again, using the above example, clicking on the first item hitbox will make the player pick up item 4 instead of item 1.
Also, another idea I have is, if you currently have an item "grabbed" by your mouse cursor, you can "throw" the item forward to the next tile if you click while the cursor is within the top half of the viewport... but if you click on the bottom half of the viewport, the item will be placed nicely on the ground (respecting the item prioritization rules I explained earlier). Item throwing inspired by Ultima Underworld. :D
- TiberiumSoul
- Posts: 1065
- Joined: Fri Jan 20, 2012 11:29 pm
- Graphics Processor: nVidia (Modern GZDoom)
- Location: My Computer...
Re: [Abandoned/Source RELz] Oldschool Tile-Based Dungeon Cra
nice. with this people could do a remake of waxworks
Re: [Abandoned/Source RELz] Oldschool Tile-Based Dungeon Cra
I'm sorry I never figured out the framework for monster movement as well as item picking up... which is also part of the reason I why I abandoned this project. Oh well, hopefully the tile-based movement (and by extension, the trick I used to detect collision detetcion) will be of educational use for modders who want to do other things that may involve a similar technique.
- Ozymandias81
- Posts: 2063
- Joined: Thu Jul 04, 2013 8:01 am
- Graphics Processor: nVidia with Vulkan support
- Location: Mount Olympus, Mars
- Contact:
Re: [Abandoned/Source RELz] Oldschool Tile-Based Dungeon Cra
Spotted only now this one. This will be surely of some Ultima use.
EDIT: While I still didn't try this precious, is it tweakable for GZDoom now?
EDIT: While I still didn't try this precious, is it tweakable for GZDoom now?
Re: [Abandoned/Source RELz] Oldschool Tile-Based Dungeon Cra
Is that... Eye of The Beholder!?
Now I feel old, thanks for that... lol
Now I feel old, thanks for that... lol
Re: [Abandoned/Source RELz] Oldschool Tile-Based Dungeon Cra
I'd love to see something like a Doom RPG remake out of this