Inventory Modification

The Man In Black

Administrator
Staff member
Administrator
Moderator
RiP
Joined
Jul 9, 2006
Messages
6,904
Reaction score
71
Way to much work for coders and scripters with so little pay-off. Update the wiki.
 

CrazyMonkeyDude

New Adventurer
MSC Developer
RiP
Joined
Jun 29, 2007
Messages
2,619
Reaction score
2
Age
35
Not to mention the pain in the ass it'd be to scroll through your inventory to get to something at the bottom
 

The Man In Black

Administrator
Staff member
Administrator
Moderator
RiP
Joined
Jul 9, 2006
Messages
6,904
Reaction score
71
Potions can't be stacked as is because of how the multi-drink works.
 

FER

New Adventurer
MSC Developer
RiP
Joined
Sep 16, 2006
Messages
2,758
Reaction score
0
Age
37
Location
on Belser's army
I personally think item icons should be smaller

Seriously, icons are way too big for no reason, plus most of them look the same.

Potions can't be stacked as is because of how the multi-drink works.

Why not make all of them 1 use only, boost their effectiveness a little to compensate and add a quickslot to instantly use health/mana pots only? (like key 4 for using health pots and key 5 for mana pots)
 

J-M v2.5.5

BANNED
BANNED
Joined
Feb 26, 2005
Messages
5,675
Reaction score
1
Age
35
Location
Nijmegen, the Netherlands.
The Man In Black said:
Potions can't be stacked as is because of how the multi-drink works.
Only four of the currently existing twenty potions (mana pot, weak health pot, medium health pot and the apple) have multiple uses.
So why not make the other sixteen stackable :mrgreen: ?
 

Age

Adventurer
Socialist Guild
Alpha Tester
MSR Developer
Joined
Jun 15, 2008
Messages
503
Reaction score
10
Location
Somewhere over the rainbow.
FER said:
Why not make all of them 1 use only, boost their effectiveness a little to compensate and add a quickslot to instantly use health/mana pots only? (like key 4 for using health pots and key 5 for mana pots)
I like it.
 

zeus9860

Active Adventurer
The True Followers of the Lost
Crusaders
Blades of Urdual
Alpha Tester
Joined
Feb 28, 2008
Messages
2,581
Reaction score
37
Age
32
Location
lolwut
Stoned said:
HEY GUYS IM STONED AND I LIKE MAULS.

J-M v2.5.5 said:
The Man In Black said:
Potions can't be stacked as is because of how the multi-drink works.
Only four of the currently existing twenty potions (mana pot, weak health pot, medium health pot and the apple) have multiple uses.
So why not make the other sixteen stackable :mrgreen: ?

You forgot the ale ;) Also i would agree with FER, if that was possible to pull it out without much of a pain.
 

The Man In Black

Administrator
Staff member
Administrator
Moderator
RiP
Joined
Jul 9, 2006
Messages
6,904
Reaction score
71
J-M: Because doing so would be hacky and take awhile
FER: Because people want the patch tomorrow and it would imbalance potions

Potion stacking also has several other large semantic flaws that we can't decide what to do with, yet.
 

Thothie

Administrator
Staff member
Administrator
Moderator
MSC Archivist
Joined
Apr 8, 2005
Messages
16,342
Reaction score
326
Location
lost
Potions also use a base, and having some potions stack and not others would likely require new bases (not to mention some sort of indicator as to show which are and are not stackable). Then there's the buying things by the stack issue that crops up, that we've still not fixed.

Just to further complicate things, among the new pots: Bravery, Fire Brand, Fire Aura, and Poison Aura, are also all multi-dose. (While the Mana Fountain and Venom Claws are not.)

The icons are large, but the amount of text allowed for the name of the item is determined by the size of the icon, and item names get cropped off quite a bit as it is (Which is why I often put "potion" or "scroll" and so forth, on the end of the name, rather than the beginning, to help compensate.)

I'd personally prefer a text layout, as boring as that would be, but we've no GUI function for that at the moment (much to my annoyance).

I did make a console message giving the weapon/item stats once upon a time, but a nun hit my knuckles with a ruler for the idea, so I undid that.

Stoned said:

I could make an image pop-up like this appear when you hit "View Item Desc" on the context menu, however, we're restricted to TGA's at the moment, which are friggen huge, and there'd be over 100 images to make. (Plus the usual debate as to what you can and cannot put in the description.)

I was going to put the first of our lore books in this patch, but opted out of it, as they'd be 4MB per page under the current format.
 

foggyspider

New Adventurer
Blades of Urdual
Joined
Jul 24, 2006
Messages
21
Reaction score
1
Speaking of the item sprites themselves, I wanted to take a shot at adding more customized sprites for various lacking items.

I believe it would help you find items quicker if they had more detailed sprites, such as the helm of the dead showing as the generic wrapped package.

now, I have been doing my homework and understand they use a custom 256 color palette, I have tried to extract an image from the item sprite and use it's own color but to no avail.

How were the original sprites made?
 

Thothie

Administrator
Staff member
Administrator
Moderator
MSC Archivist
Joined
Apr 8, 2005
Messages
16,342
Reaction score
326
Location
lost
It's a pretty simple process, actually - only reason none of us have done it, is that it is tedious and low priority... Someone was offering to do it, but then they wanted to go off and do their own nutty thing with it, rather than keep it simple, and I think they gave up on it.

Here's the BMP's, and a custom sprite compiler you'll need in order to actually compile the sprite:
http://www.thothie.com/msc_dev3/allitem_sprites.rar
(Mind ye, you don't actually have to compile the sprite, ye just have to get the images back to us.)

The sprites are created by taking a screenshot of the p_weapon model (msc/models/weapons/p_weaponsX.mdl), with the background set black, then pasting and scaling it into an existing sprite frame. For that bit, you'll need Jed's HLMV, which is available yonder. Cycle through submodels to find the appropriate weapon.

You'll need a graphics editor that can handle palettes of course. I don't really know of a free one. Although the newer version of Irfanview has some palette editing features that might do the trick, personally, I use Photoshop.

The procedure for Photoshop, is to access the palette via Image->Mode->Color Table..., open one of the existing sprite frames and export said color table. Then, when you've put your new sprite frame together do it in RGB color. When completed, revert to 256 colors via Image->Mode->Index Color.., import said palette through the "Custom" option on the resulting interface.

ATM, misc items are blue framed, armor gold, health green, and weapons red. Just keep the frame from an existing sprite frame of the same category.
 

foggyspider

New Adventurer
Blades of Urdual
Joined
Jul 24, 2006
Messages
21
Reaction score
1
Thothie said:
It's a pretty simple process, actually - only reason none of us have done it, is that it is tedious and low priority... Someone was offering to do it, but then they wanted to go off and do their own nutty thing with it, rather than keep it simple, and I think they gave up on it.

Here's the BMP's, and a custom sprite compiler you'll need in order to actually compile the sprite:
http://www.thothie.com/msc_dev3/allitem_sprites.rar
(Mind ye, you don't actually have to compile the sprite, ye just have to get the images back to us.)

The sprites are created by taking a screenshot of the p_weapon model (msc/models/weapons/p_weaponsX.mdl), with the background set black, then pasting and scaling it into an existing sprite frame. For that bit, you'll need Jed's HLMV, which is available yonder. Cycle through submodels to find the appropriate weapon.

You'll need a graphics editor that can handle palettes of course. I don't really know of a free one. Although the newer version of Irfanview has some palette editing features that might do the trick, personally, I use Photoshop.

The procedure for Photoshop, is to access the palette via Image->Mode->Color Table..., open one of the existing sprite frames and export said color table. Then, when you've put your new sprite frame together do it in RGB color. When completed, revert to 256 colors via Image->Mode->Index Color.., import said palette through the "Custom" option on the resulting interface.

ATM, misc items are blue framed, armor gold, health green, and weapons red. Just keep the frame from an existing sprite frame of the same category.

Awesome! thanks so much for the info, I'm going to be using Photoshop for sure. if I finish with any quality sprites I'll definitely zip them up and send them to you in a pm, unless I need to send them to someone else.

If I get the process down I'll attempt to add all existing items.
 

ceriux

Adventurer
Joined
Feb 17, 2005
Messages
2,297
Reaction score
5
Age
36
Location
At my computer :)
could always make them like old style lookin paper. sorta like how oblivion did with its item icons.

similar to these icons.
acrobatics.jpg
 

Hakariaki

New Adventurer
The Dragonknights
Joined
Jul 24, 2009
Messages
156
Reaction score
0
Age
35
I wonder if anyone have ever taken up this, but could you change the name of imunnity to ice/fire potions.
I have allways had the problem that i cant see the full name while they are in inventory. So i dont know if it's a ice or fire imunity i pick up. Suggestion is to move the element to first part of name and not last (Fire imunnity potion/ice imunnity potion), or some totaly new name. could also fix it by changing the image of the potion like somekind of redpotion for fire res and some blue shit for ice.
 

J-M v2.5.5

BANNED
BANNED
Joined
Feb 26, 2005
Messages
5,675
Reaction score
1
Age
35
Location
Nijmegen, the Netherlands.
The only tip I have (for that one): in stores, the cold pots are always more expensive than fire pots.
But yeah, in inventory, you can't see the difference.
 

Thothie

Administrator
Staff member
Administrator
Moderator
MSC Archivist
Joined
Apr 8, 2005
Messages
16,342
Reaction score
326
Location
lost
Hrmm... I went over scripts to make sure that sort of thing was cut down on awhile back, wonder how I missed those.

Granted, I'd probably notice these things if I didn't play at such an odd resolution (960x600x16AA Windowed). They look fine that way, but they are one of the few things that do. ;)

Shall fix.
 

TheOysterHippopotami

Active Adventurer
MSS Developer
DarkTide
Joined
Sep 6, 2009
Messages
1,213
Reaction score
42
Age
36
I wonder if anyone have ever taken up this, but could you change the name of imunnity to ice/fire potions.
I have allways had the problem that i cant see the full name while they are in inventory.
Renaming the Fire potion Efreeti blood might be cool. I think it says something about being 'brewed from the blood of an efreet' in the item description, if i recall. No idea what to call the cold pot, though.
 

KingLemo

New Adventurer
Joined
Aug 15, 2008
Messages
29
Reaction score
0
TheOysterHippopotami said:
I wonder if anyone have ever taken up this, but could you change the name of imunnity to ice/fire potions.
I have allways had the problem that i cant see the full name while they are in inventory.
Renaming the Fire potion Efreeti blood might be cool. I think it says something about being 'brewed from the blood of an efreet' in the item description, if i recall. No idea what to call the cold pot, though.


Litch Blood or Glacial Splooge?
 
Top