Jump to content

R&D Inventory, Items & Weapons Overhaul


anUser

Recommended Posts

Very nice. :woot:

 

But it might be helpful to inform us what display resolution you are using, so people will know if they should report a different one is working correctly, or perhaps have some idea what is off by how much.

 

-Dubious-

Link to comment
Share on other sites

  • Replies 129
  • Created
  • Last Reply

Top Posters In This Topic

Alright, made a bit of progress in getting small item slots displayed in a grid layout. The buttons are essentially scaled down and moved around a bit, hover/selection functionality is working perfectly as far as I can tell :smile: See image below for a unit sporting a whopping eight possible small item slots:

 

http://i.imgur.com/NDB53Ka.jpg

 

Some things of note: The positions are fine-tuned to my display resolution (using hard-coded x/y offsets), I don't know whether the grid will appear the same for everybody else, so if some of you would like to try this out for yourself and something appears off, let me know :smile:

Furthermore, the little horizontal selection indicator to the right of the selected item appears a little misaligned for the small item slots, but I've already tracked down where the positions are calculated - I'll see if I can squeeze in a fix for that.

 

So far hex changes are limited to the InventoryListItem class of the SolderLoadout flash file inside command1.upk. I haven't looked into what changes introduced by recompiling via JPEXS are actually essential (there seem to be some junk changes, as far as I can tell), so I'll simply post the new hex values for the whole class:

 

start offset:

0x02D8C955

 

end offset (inclusive):

0x02D8DBD7

 

length:

4739 Bytes (0x1283 Bytes)

 

data:

23 05 6d 00 31 32 33 34 35 36 00 5f 78 00 5f 79 00 5f 69 6e 64 65 78 00 5f 67 6c 6f 62 61 6c 00 49 6e 76 65 6e 74 6f 72 79 4c 69 73 74 49 74 65 6d 00 62 53 6b 69 70 4d 6f 75 73 65 42 69 6e 64 69 6e 67 00 58 43 6f 6d 4c 69 73 74 49 74 65 6d 42 61 73 65 00 70 72 6f 74 6f 74 79 70 65 00 49 43 6f 6e 74 61 69 6e 65 72 49 74 65 6d 00 6f 6e 4c 6f 61 64 00 74 69 74 6c 65 00 66 6f 6e 74 53 69 7a 65 00 46 4f 4e 54 5f 53 49 5a 45 5f 33 44 00 5f 69 6e 76 65 6e 74 6f 72 79 49 74 65 6d 48 65 6c 70 00 72 65 6d 6f 76 65 49 74 65 6d 42 74 6e 48 65 6c 70 00 67 6f 74 6f 41 6e 64 53 74 6f 70 00 69 74 65 6d 54 79 70 65 00 69 6e 69 74 49 74 65 6d 54 79 70 65 00 69 6e 69 74 49 74 65 6d 49 6d 67 00 68 6f 76 65 72 4d 43 00 68 6f 76 65 72 00 5f 76 69 73 69 62 6c 65 00 74 68 65 42 75 74 74 6f 6e 00 68 69 74 41 72 65 61 4d 43 00 6f 6e 52 6f 6c 6c 4f 76 65 72 00 68 6f 76 65 72 49 6e 00 6d 78 00 75 74 69 6c 73 00 44 65 6c 65 67 61 74 65 00 63 72 65 61 74 65 00 6f 6e 52 6f 6c 6c 4f 75 74 00 68 6f 76 65 72 4f 75 74 00 42 69 6e 64 00 6d 6f 75 73 65 00 69 6e 66 6f 4d 6f 75 73 65 49 6e 00 69 6e 66 6f 4d 6f 75 73 65 4f 75 74 00 63 6c 69 63 6b 61 62 6c 65 42 75 74 74 6f 6e 30 00 65 71 75 69 70 4d 6f 75 73 65 49 6e 00 65 71 75 69 70 4d 6f 75 73 65 4f 75 74 00 63 6c 69 63 6b 61 62 6c 65 42 75 74 74 6f 6e 31 00 52 65 66 72 65 73 68 44 61 74 61 00 49 6e 76 65 6e 74 6f 72 79 4c 69 73 74 00 49 54 45 4d 5f 54 59 50 45 5f 53 4d 41 4c 4c 5f 49 54 45 4d 00 6e 75 6d 53 6d 61 6c 6c 49 74 65 6d 73 00 69 6e 69 74 4e 75 6d 49 74 65 6d 73 00 48 69 64 65 41 6c 6c 49 6d 61 67 65 43 6f 6e 74 61 69 6e 65 72 73 00 69 74 65 6d 31 00 5f 78 73 63 61 6c 65 00 49 54 45 4d 53 5f 49 4d 47 5f 53 43 41 4c 45 00 5f 79 73 63 61 6c 65 00 69 6d 61 67 65 00 69 74 65 6d 00 77 74 61 32 69 00 49 54 45 4d 5f 54 59 50 45 5f 41 52 4d 4f 52 00 57 45 41 50 4f 4e 5f 49 4d 47 5f 53 43 41 4c 45 00 41 52 4d 4f 52 5f 49 4d 47 5f 53 43 41 4c 45 00 4d 41 58 5f 4e 55 4d 5f 53 4d 41 4c 4c 5f 49 54 45 4d 53 00 69 73 46 6f 63 75 73 65 64 00 43 6f 6c 6f 72 73 00 4e 4f 52 4d 41 4c 5f 48 54 4d 4c 00 48 49 4c 49 54 45 5f 48 54 4d 4c 00 68 74 6d 6c 54 65 78 74 00 69 74 65 6d 54 65 78 74 00 77 72 61 70 49 6e 48 74 6d 6c 00 45 6e 76 69 72 6f 6e 6d 65 6e 74 00 69 6e 73 74 61 6e 63 65 00 49 73 4d 6f 75 73 65 41 63 74 69 76 65 00 58 43 6f 6d 4c 69 73 74 00 5f 63 6f 6e 74 61 69 6e 65 72 00 67 65 74 53 65 6c 65 63 74 65 64 49 6e 64 65 78 00 67 65 74 49 6e 64 65 78 00 4c 6f 63 6b 65 72 4c 69 73 74 00 49 54 45 4d 5f 43 41 52 44 5f 42 54 4e 5f 48 45 4c 50 5f 47 41 4d 45 50 41 44 5f 49 43 4f 4e 00 62 74 6e 49 63 6f 6e 30 00 61 63 74 69 6f 6e 49 63 6f 6e 30 00 6f 77 6e 65 72 53 63 72 65 65 6e 00 73 74 72 52 65 6d 6f 76 65 49 6e 76 65 6e 74 6f 72 79 53 6c 6f 74 42 75 74 74 6f 6e 48 65 6c 70 49 63 6f 6e 00 62 74 6e 49 63 6f 6e 31 00 61 63 74 69 6f 6e 49 63 6f 6e 31 00 5f 72 65 6d 6f 76 65 00 65 71 75 69 70 49 63 6f 6e 00 62 74 6e 48 65 6c 70 00 5f 79 00 67 65 74 48 65 69 67 68 74 00 49 54 45 4d 5f 54 59 50 45 5f 57 45 41 50 4f 4e 00 67 65 74 49 64 00 6f 6e 52 65 63 65 69 76 65 46 6f 63 75 73 00 69 73 4c 6f 63 6b 65 64 46 6f 72 4c 6f 63 6b 65 72 53 65 6c 65 63 74 69 6f 6e 00 5f 53 65 6c 65 63 74 65 64 55 6e 66 6f 63 75 73 65 64 00 5f 53 65 6c 65 63 74 65 64 00 49 43 4f 4e 5f 41 5f 58 00 67 61 6d 65 70 61 64 49 63 6f 6e 00 67 6f 74 6f 41 6e 64 50 6c 61 79 00 5f 55 70 00 6f 6e 4c 6f 73 65 46 6f 63 75 73 00 53 6f 6c 64 69 65 72 4c 6f 61 64 6f 75 74 00 5f 70 61 72 65 6e 74 00 48 69 67 68 6c 69 67 68 74 49 6e 76 65 6e 74 6f 72 79 4c 69 73 74 00 49 6e 76 65 6e 74 6f 72 79 4d 6f 75 73 65 53 65 6c 65 63 74 69 6f 6e 43 68 61 6e 67 65 64 00 46 6c 61 73 68 52 61 69 73 65 43 6f 6d 6d 61 6e 64 00 66 6c 61 73 68 00 65 78 74 65 72 6e 61 6c 00 45 78 74 65 72 6e 61 6c 49 6e 74 65 72 66 61 63 65 00 63 61 6c 6c 00 5f 68 6f 76 65 72 00 5f 6e 6f 72 6d 61 6c 00 50 43 5f 53 45 4c 45 43 54 5f 41 52 52 4f 57 5f 57 49 54 48 5f 42 55 54 54 4f 4e 5f 48 45 4c 50 5f 59 00 41 53 53 65 74 50 72 6f 70 46 6c 61 67 73 00 96 02 00 08 04 1c 96 02 00 08 05 4e 12 12 9d 02 00 4c 0d 96 02 00 08 04 1c 96 02 00 08 05 8e 08 00 00 00 00 03 19 00 1b 00 96 0c 00 06 00 00 00 00 00 00 00 00 04 02 03 52 17 96 06 00 04 01 08 06 05 01 4f 87 01 00 01 4f 96 02 00 08 04 1c 96 02 00 08 05 4e 96 02 00 08 07 1c 69 96 04 00 04 01 08 08 4e 87 01 00 02 17 96 02 00 08 04 1c 96 02 00 08 09 4e 96 07 00 07 01 00 00 00 08 04 1c 96 02 00 08 05 4e 2c 96 04 00 04 02 08 0a 8e 08 00 00 00 00 0d 19 00 90 04 96 0d 00 06 00 00 00 00 00 00 00 00 04 02 08 0a 52 17 96 04 00 04 01 08 0b 4e 96 04 00 08 0c 08 07 1c 96 02 00 08 0d 4e 4f 96 0b 00 08 0e 07 01 00 00 00 04 01 08 0f 4e 96 02 00 08 10 52 17 96 08 00 04 01 08 11 04 01 08 12 4e 4f 96 04 00 04 01 08 13 4e 87 01 00 0b 17 96 08 00 04 01 08 14 04 01 08 15 4e 4f 96 04 00 04 01 08 14 4e 96 04 00 08 16 05 00 4f 96 06 00 08 19 04 01 08 1a 4e 96 09 00 04 01 07 02 00 00 00 08 1b 1c 96 02 00 08 1c 4e 96 02 00 08 1d 4e 96 02 00 08 1e 52 96 06 00 08 1f 04 01 08 20 4e 96 09 00 04 01 07 02 00 00 00 08 1b 1c 96 02 00 08 1c 4e 96 02 00 08 1d 4e 96 02 00 08 1e 52 96 05 00 07 02 00 00 00 43 96 04 00 04 01 08 18 4e 96 07 00 07 02 00 00 00 08 21 1c 96 02 00 08 22 52 17 96 06 00 08 19 04 01 08 23 4e 96 09 00 04 01 07 02 00 00 00 08 1b 1c 96 02 00 08 1c 4e 96 02 00 08 1d 4e 96 02 00 08 1e 52 96 06 00 08 1f 04 01 08 24 4e 96 09 00 04 01 07 02 00 00 00 08 1b 1c 96 02 00 08 1c 4e 96 02 00 08 1d 4e 96 02 00 08 1e 52 96 05 00 07 02 00 00 00 43 96 04 00 04 01 08 0f 4e 96 02 00 08 25 4e 96 07 00 07 02 00 00 00 08 21 1c 96 02 00 08 22 52 17 96 06 00 08 19 04 01 08 26 4e 96 09 00 04 01 07 02 00 00 00 08 1b 1c 96 02 00 08 1c 4e 96 02 00 08 1d 4e 96 02 00 08 1e 52 96 06 00 08 1f 04 01 08 27 4e 96 09 00 04 01 07 02 00 00 00 08 1b 1c 96 02 00 08 1c 4e 96 02 00 08 1d 4e 96 02 00 08 1e 52 96 05 00 07 02 00 00 00 43 96 04 00 04 01 08 0f 4e 96 02 00 08 28 4e 96 07 00 07 02 00 00 00 08 21 1c 96 02 00 08 22 52 17 96 0d 00 06 00 00 00 00 00 00 00 00 04 01 08 29 52 17 96 04 00 04 01 08 11 4e 96 02 00 08 2a 1c 96 02 00 08 2b 4e 49 12 9d 02 00 f6 01 96 09 00 04 01 08 30 07 30 00 00 00 4f 96 09 00 04 01 08 32 07 30 00 00 00 4f 96 08 00 04 01 08 01 04 01 08 03 4e 96 05 00 07 01 00 00 00 0a 96 05 00 07 02 00 00 00 3f 96 05 00 07 7f 00 00 00 0c 96 05 00 07 16 00 00 00 0b 4f 96 08 00 04 01 08 2c 04 01 08 2d 4e 4f 96 0d 00 06 00 00 00 00 00 00 00 00 04 01 08 2e 52 17 96 04 00 04 01 08 13 4e 96 02 00 00 00 49 4c 9d 02 00 0e 00 17 96 04 00 04 01 08 13 4e 96 01 00 03 49 12 9d 02 00 00 00 96 04 00 04 01 08 2c 4e 96 05 00 07 01 00 00 00 49 12 9d 02 00 75 00 96 04 00 04 01 08 2f 4b 4e 87 01 00 06 17 96 09 00 08 30 07 64 00 00 00 08 05 1c 96 02 00 08 31 4e 0c 96 09 00 08 32 07 64 00 00 00 08 05 1c 96 02 00 08 31 4e 0c 96 09 00 08 16 05 01 07 03 00 00 00 43 96 04 00 04 01 08 13 4e 96 09 00 04 06 07 03 00 00 00 08 21 1c 96 02 00 08 33 52 17 96 04 00 04 01 08 2f 4b 4e 96 04 00 08 16 05 01 4f 99 02 00 d3 00 96 09 00 06 00 00 00 00 00 00 00 00 87 01 00 03 17 96 06 00 04 03 04 01 08 2c 4e 48 12 9d 02 00 b1 00 96 02 00 08 34 87 01 00 04 17 96 04 00 04 01 08 2c 4e 96 05 00 07 02 00 00 00 49 12 9d 02 00 0a 00 96 02 00 08 35 87 01 00 04 17 96 06 00 04 01 04 04 04 03 47 4b 4e 87 01 00 06 17 96 09 00 08 30 07 64 00 00 00 08 05 1c 96 02 00 08 31 4e 0c 96 09 00 08 32 07 64 00 00 00 08 05 1c 96 02 00 08 31 4e 0c 96 09 00 08 16 05 01 07 03 00 00 00 43 96 04 00 04 01 08 13 4e 96 09 00 04 06 07 03 00 00 00 08 21 1c 96 02 00 08 33 52 17 96 06 00 04 01 04 04 04 03 47 4b 4e 96 04 00 08 16 05 01 4f 96 02 00 04 03 50 87 01 00 03 17 99 02 00 3e ff 99 02 00 8c 00 96 04 00 04 01 08 11 4e 96 02 00 08 2a 1c 96 02 00 08 36 4e 49 9d 02 00 11 00 96 02 00 08 05 1c 96 02 00 08 37 4e 99 02 00 0c 00 96 02 00 08 05 1c 96 02 00 08 38 4e 87 01 00 05 17 96 04 00 04 01 08 33 4e 87 01 00 06 17 96 09 00 08 30 07 64 00 00 00 04 05 0c 96 09 00 08 32 07 64 00 00 00 04 05 0c 96 09 00 08 16 05 01 07 03 00 00 00 43 96 04 00 04 01 08 13 4e 96 09 00 04 06 07 03 00 00 00 08 21 1c 96 02 00 08 33 52 17 4f 96 04 00 04 02 08 2e 8e 08 00 00 00 00 03 29 00 6f 00 96 09 00 06 00 00 00 00 00 00 00 00 87 01 00 02 17 96 04 00 04 02 08 05 1c 96 02 00 08 39 4e 48 12 9d 02 00 49 00 96 06 00 04 01 08 34 04 02 47 4b 4e 96 04 00 08 16 05 00 4f 96 07 00 04 02 07 02 00 00 00 48 12 9d 02 00 14 00 96 06 00 04 01 08 35 04 02 47 4b 4e 96 04 00 08 16 05 00 4f 96 02 00 04 02 50 87 01 00 02 17 99 02 00 a2 ff 4f 96 04 00 04 02 08 29 8e 08 00 00 00 00 05 29 00 94 02 96 04 00 04 01 08 14 4e 96 02 00 08 16 4e 4c 9d 02 00 12 00 17 96 0d 00 06 00 00 00 00 00 00 00 00 04 01 08 3a 52 9d 02 00 11 00 96 02 00 08 3b 1c 96 02 00 08 3c 4e 99 02 00 0c 00 96 02 00 08 3b 1c 96 02 00 08 3d 4e 87 01 00 04 17 96 04 00 04 01 08 0b 4e 96 08 00 08 3e 04 04 04 01 08 3f 4e 96 07 00 07 02 00 00 00 08 3b 1c 96 02 00 08 40 52 4f 96 04 00 04 01 08 0f 4e 87 01 00 02 17 96 14 00 06 00 00 00 00 00 00 00 00 06 00 00 00 00 00 00 00 00 08 41 1c 96 02 00 08 42 52 96 02 00 08 43 52 87 01 00 03 17 96 04 00 04 01 08 3f 4e 96 01 00 03 49 12 4c 12 9d 02 00 10 00 17 96 04 00 04 01 08 3f 4e 96 02 00 00 00 49 12 4c 12 9d 02 00 1e 00 17 96 0d 00 06 00 00 00 00 00 00 00 00 04 01 08 3a 52 4c 9d 02 00 06 00 17 96 02 00 04 03 4c 12 9d 02 00 31 00 17 96 0b 00 06 00 00 00 00 00 00 00 00 08 44 1c 96 04 00 04 01 08 45 4e 2b 96 02 00 08 46 52 96 0d 00 06 00 00 00 00 00 00 00 00 04 01 08 47 52 49 12 9d 02 00 59 01 96 06 00 04 02 08 16 05 01 4f 96 02 00 08 48 1c 96 02 00 08 49 4e 96 09 00 07 01 00 00 00 04 02 08 4a 4e 96 02 00 08 10 52 17 96 04 00 04 02 08 4a 4e 96 04 00 08 16 04 03 12 4f 96 04 00 04 02 08 4b 4e 96 04 00 08 16 04 03 12 4f 96 04 00 04 02 08 25 4e 96 04 00 08 16 04 03 4f 96 04 00 04 01 08 11 4e 96 02 00 08 2a 1c 96 02 00 08 2b 4e 49 12 9d 02 00 ad 00 96 04 00 04 01 08 4c 4e 96 02 00 08 4d 4e 96 09 00 07 01 00 00 00 04 02 08 4e 4e 96 02 00 08 10 52 17 96 04 00 04 02 08 4e 4e 96 04 00 08 16 04 03 12 4f 96 04 00 04 02 08 4f 4e 96 04 00 08 16 04 03 12 4f 96 0b 00 08 50 07 01 00 00 00 04 02 08 4f 4e 96 02 00 08 10 52 17 96 04 00 04 02 08 28 4e 96 04 00 08 16 04 03 4f 96 0b 00 08 50 07 01 00 00 00 04 02 08 28 4e 96 02 00 08 51 4e 96 02 00 08 10 52 17 96 02 00 04 03 12 9d 02 00 17 00 96 04 00 04 01 08 52 4e 96 0b 00 08 02 06 00 00 00 00 00 00 00 00 4f 99 02 00 30 00 96 04 00 04 02 08 4e 4e 96 04 00 08 16 05 00 4f 96 04 00 04 02 08 4f 4e 96 04 00 08 16 05 00 4f 96 04 00 04 02 08 28 4e 96 04 00 08 16 05 00 4f 99 02 00 0a 00 96 06 00 04 02 08 16 05 00 4f 4f 96 04 00 04 02 08 54 8e 08 00 00 00 00 03 29 00 ab 00 96 04 00 04 01 08 11 4e 87 01 00 00 96 02 00 08 2a 1c 96 02 00 08 36 4e 66 9d 02 00 2d 00 96 04 00 04 00 08 2a 1c 96 02 00 08 55 4e 66 9d 02 00 22 00 96 04 00 04 00 08 2a 1c 96 02 00 08 2b 4e 66 9d 02 00 2f 00 99 02 00 57 00 96 05 00 07 7d 00 00 00 3e 96 09 00 07 69 00 00 00 04 01 08 03 4e 96 05 00 07 02 00 00 00 0e 96 05 00 07 13 00 00 00 0c 0b 3e 96 04 00 04 01 08 03 4e 96 05 00 07 01 00 00 00 0a 96 05 00 07 02 00 00 00 3f 96 05 00 07 35 00 00 00 0c 96 05 00 07 04 00 00 00 0b 3e 96 05 00 07 19 00 00 00 3e 4f 96 04 00 04 02 08 57 8e 08 00 00 00 00 04 19 00 26 01 96 14 00 06 00 00 00 00 00 00 00 00 06 00 00 00 00 00 00 00 00 08 41 1c 96 02 00 08 42 52 96 02 00 08 43 52 87 01 00 03 17 96 0d 00 06 00 00 00 00 00 00 00 00 04 02 08 57 52 17 96 0b 00 06 00 00 00 00 00 00 00 00 08 44 1c 96 04 00 04 01 08 45 4e 2b 96 02 00 08 46 52 96 0d 00 06 00 00 00 00 00 00 00 00 04 01 08 56 52 49 4c 9d 02 00 06 00 17 96 02 00 04 03 12 9d 02 00 87 00 96 04 00 04 01 08 58 4e 4c 9d 02 00 06 00 17 96 02 00 04 03 12 9d 02 00 15 00 96 0b 00 08 59 07 01 00 00 00 04 01 08 10 52 17 99 02 00 10 00 96 0b 00 08 5a 07 01 00 00 00 04 01 08 10 52 17 96 04 00 04 01 08 52 4e 96 04 00 08 16 05 01 4f 96 0b 00 08 5b 07 01 00 00 00 04 01 08 52 4e 96 02 00 08 5c 4e 96 02 00 08 5d 52 17 96 04 00 04 01 08 52 4e 96 02 00 08 5c 4e 96 04 00 08 16 04 03 12 4f 99 02 00 10 00 96 0b 00 08 5e 07 01 00 00 00 04 01 08 10 52 17 96 0d 00 06 00 00 00 00 00 00 00 00 04 01 08 29 52 17 4f 96 04 00 04 02 08 5f 8e 08 00 00 00 00 03 19 00 c1 00 96 0d 00 06 00 00 00 00 00 00 00 00 04 02 08 5f 52 17 96 0b 00 06 00 00 00 00 00 00 00 00 08 44 1c 96 04 00 04 01 08 45 4e 2b 96 02 00 08 46 52 96 0d 00 06 00 00 00 00 00 00 00 00 04 01 08 47 52 49 12 9d 02 00 57 00 96 0b 00 08 59 07 01 00 00 00 04 01 08 10 52 17 96 04 00 04 01 08 52 4e 96 04 00 08 16 05 01 4f 96 0b 00 08 5b 07 01 00 00 00 04 01 08 52 4e 96 02 00 08 5c 4e 96 02 00 08 5d 52 17 96 04 00 04 01 08 52 4e 96 02 00 08 5c 4e 96 04 00 08 16 05 00 4f 99 02 00 10 00 96 0b 00 08 5e 07 01 00 00 00 04 01 08 10 52 17 96 0d 00 06 00 00 00 00 00 00 00 00 04 01 08 29 52 17 4f 96 04 00 04 02 08 1a 8e 08 00 00 00 00 02 29 00 89 00 96 0b 00 06 00 00 00 00 00 00 00 00 08 60 1c 96 04 00 04 01 08 45 4e 96 02 00 08 61 4e 2b 96 02 00 08 62 52 17 96 0d 00 06 00 00 00 00 00 00 00 00 04 01 08 56 52 96 06 00 08 63 04 01 08 45 4e 96 02 00 08 61 4e 4b 96 09 00 08 64 07 04 00 00 00 08 65 1c 96 02 00 08 66 4e 96 02 00 08 67 4e 96 02 00 08 68 52 17 96 04 00 04 01 08 14 4e 96 04 00 08 16 05 01 4f 96 0d 00 06 00 00 00 00 00 00 00 00 04 01 08 29 52 17 4f 96 04 00 04 02 08 20 8e 08 00 00 00 00 02 29 00 22 00 96 04 00 04 01 08 14 4e 96 04 00 08 16 05 00 4f 96 0d 00 06 00 00 00 00 00 00 00 00 04 01 08 29 52 17 4f 96 04 00 04 02 08 23 8e 08 00 00 00 00 02 29 00 1c 00 96 0b 00 08 69 07 01 00 00 00 04 01 08 0f 4e 96 02 00 08 25 4e 96 02 00 08 10 52 17 4f 96 04 00 04 02 08 24 8e 08 00 00 00 00 02 29 00 1c 00 96 0b 00 08 6a 07 01 00 00 00 04 01 08 0f 4e 96 02 00 08 25 4e 96 02 00 08 10 52 17 4f 96 04 00 04 02 08 26 8e 08 00 00 00 00 02 29 00 3e 00 96 0b 00 08 69 07 01 00 00 00 04 01 08 0f 4e 96 02 00 08 28 4e 96 02 00 08 10 52 17 96 0b 00 08 50 07 01 00 00 00 04 01 08 0f 4e 96 02 00 08 28 4e 96 02 00 08 51 4e 96 02 00 08 10 52 17 4f 96 04 00 04 02 08 27 8e 08 00 00 00 00 02 29 00 3e 00 96 0b 00 08 6a 07 01 00 00 00 04 01 08 0f 4e 96 02 00 08 28 4e 96 02 00 08 10 52 17 96 0b 00 08 50 07 01 00 00 00 04 01 08 0f 4e 96 02 00 08 28 4e 96 02 00 08 51 4e 96 02 00 08 10 52 17 4f 96 0d 00 04 01 08 38 06 99 99 e9 3f 9a 99 99 99 4f 96 0d 00 04 01 08 37 06 66 66 e6 3f 66 66 66 66 4f 96 0d 00 04 01 08 31 06 5c 8f e2 3f 8f c2 f5 28 4f 96 09 00 04 01 08 39 07 03 00 00 00 4f 96 09 00 04 01 08 6b 07 1e 00 00 00 4f 96 08 00 07 01 00 00 00 02 08 04 1c 96 02 00 08 05 4e 96 02 00 08 08 4e 96 07 00 07 03 00 00 00 08 6c

 

 

As for the gameplay implications of that many small items, I'd suggest introducing items, that effectively take up multiple slots (e.g. by removing surplus empty slots). That probably would need some re-coding of the inventory system to ensure there are enough slots available when trying to equip a multi-slot item and forcing the player to always use the first open slot lest items occupying slots further down get consumed as the slots are removed. Just some food for thought :smile:

 

Don't want this to get buried... this is truly excellent work.

 

I'm super glad that I'm not the only person doing actionscript UI edits now -- much less pressure! ^_^

 

A couple of questions :

  • Is it possible to unequip small items or is it only possible to equip a different small item (like a frag grenade?)
  • If there are fewer than 8 small item slots, what order are the small item slots displayed? And are the unusable small item UI boxes kept invisible?

------------------------------

 

As to small items taking multiple slots.... *muses*

 

Currently the only item that can change the number of small item slots is armor. Equipping armor is actually quite an involved process code-wise, much longer and more complex than equipping a weapon or small item.

 

To equip armor, the following steps are taken:

  1. Unequip current armor -- this causes all current large and small items to be unequipped. Which items were equipped is stored temporarily.
  2. Equip Current Armor
  3. Equip saved large items
  4. Equip saved small items

This is necessary because the number of large or small item slots could change. If 2 small items are equipped and a new piece of armor is equipped with only 1 small slot, during the unequip process both small items were removed. Upon re-equipping the small items with the new armor, since there is only 1 small item slot now, the 2nd small item simply isn't equipped. Graphically it looks like the 2nd small item was removed, but there really isn't special logic for that.

 

There is a function that determines the number of small item slots in XGFacility_Lockers:

 

 

function int GetSmallInventorySlots(XGStrategySoldier kSoldier, int iArmor)
{
    local TArmor kArmor;
    local TInventory kInv;
    local int iSmallSlots;

    kInv = kSoldier.GetInventory();
    kArmor = TACTICAL().GetTArmor(kInv.iArmor);
    iSmallSlots = kArmor.iSmallItems;
    iSmallSlots += kSoldier.m_kChar.aUpgrades[53];
    if(TACTICAL().GetPrimaryWeapon(kInv) != 0)
    {
        if((kSoldier.m_kChar.eClass != 2) && TACTICAL().WeaponHasProperty(TACTICAL().GetPrimaryWeapon(kInv), 15))
        {
            iSmallSlots -= 1;
        }
    }
    return iSmallSlots;
    //return ReturnValue;    
} 

 

 

 

Currently it simply adds up the number of small items from armor plus any extra from the Deep Pockets perk. Then there is some unused code that reduces the number of small item slots if the primary weapon has the 'Encumber' weapon property.

 

This function could be reworked to adjust the number of small item slots based on small items equipped.

 

Then, upon equipping a new small item, the current armor would be un-equipped and then re-equipped, which would update the number of small item slots. The function above would have to consult the saved inventory somehow, to see how many small item slots there should be.

 

There could be a bit of a race condition if an item requiring 2 slots is put in the last slot, though. Say there were 4 item slots and 3 were filled, and the player tries to put an item using 2 slots into the last slot. It's put into inventory temporarily, then the armor is unequipped, the new small item slots are computed (which computes 3), and the items are re-equipped.

 

Since there are now only three small item slots, the new item isn't equipped, and instead the 4th small item slots disappears. However, re-equipping the armor would revert the number of small item slots back to 4 (since the 2-slot item then isn't equipped). This behavior isn't very intuitive, so could stand some improvement.

 

I'm not sure off the top of my head how to prevent such a situation.

Edited by Amineri
Link to comment
Share on other sites

I think the best way to handle virtually "unlimited" number of small items would be to limit the soldiers number of moves for each carried.

Ideally each item could limit movement more than others, but a linear cost of 1 item = -1 moves wouldn't be that bad either.

 

Basically it would turn Sprint perk into deep pockets and it would allow the option between being a pack rat with heavy armor and almost no mobility or playing as Tarzan with light armor, no items and very high mobility.

 

Edit: I tested the code from XMarksTheSpot. It seems to scale without any issue when switching between different resoultions.

 

However the left and right columns are misalligned if padding value i set to anything else than +5, So I guess manual allignment of the first small item is needed if for some reason someone wanted a different padding to add even more items :)

Edited by Bertilsson
Link to comment
Share on other sites

But it might be helpful to inform us what display resolution you are using [...]

Fair enough :wink: I'm running the game in 1680x1050, but judging from pieces of AS code it seems the game is tailored to a 1280x720 resolution and will scale/clip accordingly, so the offsets I introduced should (in theory) work properly on different resolutions.

 

A couple of questions :
  • Is it possible to unequip small items or is it only possible to equip a different small item (like a frag grenade?)
  • If there are fewer than 8 small item slots, what order are the small item slots displayed? And are the unusable small item UI boxes kept invisible?

The small overlay buttons on top of the selected slot are still there and fully operational, original functionality is fully preserved as far as I can tell. It's just that the buttons are a little less than 25% the size of their vanilla brethren :happy:

The order of the buttons currently goes from top left to bottom right in a

1 2
3 4
...

fashion and the amount of buttons is tied dynamically to the number of small item slots an individual solder possesses. Have another screenshot to illustrate the functionality:

http://i.imgur.com/SAJuCdI.jpg

There you can also see the little selection indicator thingie sticking out like a sore thumb, I suppose I could flip the button order horizontally so that odd-numbered slots appear in the right-hand column to mitigate this, but this order might feel a little unintuitive when navigating using a gamepad/cursor keys.

 

[...] I tested the code from XMarksTheSpot. It seems to scale without any issue when switching between different resoultions.

 

However the left and right columns are misalligned if padding value i set to anything else than +5, So I guess manual allignment of the first small item is needed if for some reason someone wanted a different padding to add even more items :smile:

Glad to hear about the resolutions working properly :smile:

I probably should have referenced the padding variable directly when offsetting the right-hand column buttons instead of using a hard-coded value, that's already on my to-do list, but thanks for reconfirming :cool:

Edited by XMarksTheSpot
Link to comment
Share on other sites

I've finished up an updated version of the grid-like small item layout - changes include better use of the padding parameter, a modified slot order (right-to-left, top-to-bottom), increased font size and proper placement of the selection indicator thingie (that one took a lot longer than anticipated, but that's what you get for being a stickler for such details :geek:).

Hex changes to the command1.upk file noted below:

# class               start offset   end offset     length
InventoryListItem     0x02D8C955     0x02D8DBD7     4739 (0x1283)

0A 05 6C 00 31 32 33 34 35 36 37 38 39 30 31 00 5F 78 00 70 61 64 64 69 6E 67 00 5F 69 6E 64 65 78 00 5F 67 6C 6F 62 61 6C 00 49 6E 76 65 6E 74 6F 72 79 4C 69 73 74 49 74 65 6D 00 62 53 6B 69 70 4D 6F 75 73 65 42 69 6E 64 69 6E 67 00 58 43 6F 6D 4C 69 73 74 49 74 65 6D 42 61 73 65 00 70 72 6F 74 6F 74 79 70 65 00 49 43 6F 6E 74 61 69 6E 65 72 49 74 65 6D 00 6F 6E 4C 6F 61 64 00 74 69 74 6C 65 00 66 6F 6E 74 53 69 7A 65 00 46 4F 4E 54 5F 53 49 5A 45 5F 33 44 00 5F 69 6E 76 65 6E 74 6F 72 79 49 74 65 6D 48 65 6C 70 00 72 65 6D 6F 76 65 49 74 65 6D 42 74 6E 48 65 6C 70 00 67 6F 74 6F 41 6E 64 53 74 6F 70 00 69 74 65 6D 54 79 70 65 00 69 6E 69 74 49 74 65 6D 54 79 70 65 00 69 6E 69 74 49 74 65 6D 49 6D 67 00 68 6F 76 65 72 4D 43 00 68 6F 76 65 72 00 5F 76 69 73 69 62 6C 65 00 74 68 65 42 75 74 74 6F 6E 00 68 69 74 41 72 65 61 4D 43 00 6F 6E 52 6F 6C 6C 4F 76 65 72 00 68 6F 76 65 72 49 6E 00 6D 78 00 75 74 69 6C 73 00 44 65 6C 65 67 61 74 65 00 63 72 65 61 74 65 00 6F 6E 52 6F 6C 6C 4F 75 74 00 68 6F 76 65 72 4F 75 74 00 42 69 6E 64 00 6D 6F 75 73 65 00 69 6E 66 6F 4D 6F 75 73 65 49 6E 00 69 6E 66 6F 4D 6F 75 73 65 4F 75 74 00 63 6C 69 63 6B 61 62 6C 65 42 75 74 74 6F 6E 30 00 65 71 75 69 70 4D 6F 75 73 65 49 6E 00 65 71 75 69 70 4D 6F 75 73 65 4F 75 74 00 63 6C 69 63 6B 61 62 6C 65 42 75 74 74 6F 6E 31 00 52 65 66 72 65 73 68 44 61 74 61 00 49 6E 76 65 6E 74 6F 72 79 4C 69 73 74 00 49 54 45 4D 5F 54 59 50 45 5F 53 4D 41 4C 4C 5F 49 54 45 4D 00 6E 75 6D 53 6D 61 6C 6C 49 74 65 6D 73 00 69 6E 69 74 4E 75 6D 49 74 65 6D 73 00 48 69 64 65 41 6C 6C 49 6D 61 67 65 43 6F 6E 74 61 69 6E 65 72 73 00 69 74 65 6D 31 00 5F 78 73 63 61 6C 65 00 49 54 45 4D 53 5F 49 4D 47 5F 53 43 41 4C 45 00 5F 79 73 63 61 6C 65 00 69 6D 61 67 65 00 69 74 65 6D 00 77 74 61 32 69 00 49 54 45 4D 5F 54 59 50 45 5F 41 52 4D 4F 52 00 57 45 41 50 4F 4E 5F 49 4D 47 5F 53 43 41 4C 45 00 41 52 4D 4F 52 5F 49 4D 47 5F 53 43 41 4C 45 00 4D 41 58 5F 4E 55 4D 5F 53 4D 41 4C 4C 5F 49 54 45 4D 53 00 69 73 46 6F 63 75 73 65 64 00 43 6F 6C 6F 72 73 00 4E 4F 52 4D 41 4C 5F 48 54 4D 4C 00 48 49 4C 49 54 45 5F 48 54 4D 4C 00 68 74 6D 6C 54 65 78 74 00 69 74 65 6D 54 65 78 74 00 77 72 61 70 49 6E 48 74 6D 6C 00 45 6E 76 69 72 6F 6E 6D 65 6E 74 00 69 6E 73 74 61 6E 63 65 00 49 73 4D 6F 75 73 65 41 63 74 69 76 65 00 58 43 6F 6D 4C 69 73 74 00 5F 63 6F 6E 74 61 69 6E 65 72 00 67 65 74 53 65 6C 65 63 74 65 64 49 6E 64 65 78 00 67 65 74 49 6E 64 65 78 00 4C 6F 63 6B 65 72 4C 69 73 74 00 49 54 45 4D 5F 43 41 52 44 5F 42 54 4E 5F 48 45 4C 50 5F 47 41 4D 45 50 41 44 5F 49 43 4F 4E 00 62 74 6E 49 63 6F 6E 30 00 61 63 74 69 6F 6E 49 63 6F 6E 30 00 6F 77 6E 65 72 53 63 72 65 65 6E 00 73 74 72 52 65 6D 6F 76 65 49 6E 76 65 6E 74 6F 72 79 53 6C 6F 74 42 75 74 74 6F 6E 48 65 6C 70 49 63 6F 6E 00 62 74 6E 49 63 6F 6E 31 00 61 63 74 69 6F 6E 49 63 6F 6E 31 00 5F 72 65 6D 6F 76 65 00 65 71 75 69 70 49 63 6F 6E 00 62 74 6E 48 65 6C 70 00 5F 79 00 67 65 74 48 65 69 67 68 74 00 49 54 45 4D 5F 54 59 50 45 5F 57 45 41 50 4F 4E 00 67 65 74 49 64 00 6F 6E 52 65 63 65 69 76 65 46 6F 63 75 73 00 69 73 4C 6F 63 6B 65 64 46 6F 72 4C 6F 63 6B 65 72 53 65 6C 65 63 74 69 6F 6E 00 5F 53 65 6C 65 63 74 65 64 55 6E 66 6F 63 75 73 65 64 00 5F 53 65 6C 65 63 74 65 64 00 49 43 4F 4E 5F 41 5F 58 00 67 61 6D 65 70 61 64 49 63 6F 6E 00 67 6F 74 6F 41 6E 64 50 6C 61 79 00 5F 55 70 00 6F 6E 4C 6F 73 65 46 6F 63 75 73 00 53 6F 6C 64 69 65 72 4C 6F 61 64 6F 75 74 00 5F 70 61 72 65 6E 74 00 48 69 67 68 6C 69 67 68 74 49 6E 76 65 6E 74 6F 72 79 4C 69 73 74 00 49 6E 76 65 6E 74 6F 72 79 4D 6F 75 73 65 53 65 6C 65 63 74 69 6F 6E 43 68 61 6E 67 65 64 00 46 6C 61 73 68 52 61 69 73 65 43 6F 6D 6D 61 6E 64 00 66 6C 61 73 68 00 65 78 74 65 72 6E 61 6C 00 45 78 74 65 72 6E 61 6C 49 6E 74 65 72 66 61 63 65 00 63 61 6C 6C 00 5F 68 6F 76 65 72 00 5F 6E 6F 72 6D 61 6C 00 41 53 53 65 74 50 72 6F 70 46 6C 61 67 73 00 96 02 00 08 04 1C 96 02 00 08 05 4E 12 12 9D 02 00 65 0D 96 02 00 08 04 1C 96 02 00 08 05 8E 08 00 00 00 00 03 19 00 1B 00 96 0C 00 06 00 00 00 00 00 00 00 00 04 02 03 52 17 96 06 00 04 01 08 06 05 01 4F 87 01 00 01 4F 96 02 00 08 04 1C 96 02 00 08 05 4E 96 02 00 08 07 1C 69 96 04 00 04 01 08 08 4E 87 01 00 02 17 96 02 00 08 04 1C 96 02 00 08 09 4E 96 07 00 07 01 00 00 00 08 04 1C 96 02 00 08 05 4E 2C 96 04 00 04 02 08 0A 8E 08 00 00 00 00 0D 19 00 B4 04 96 0D 00 06 00 00 00 00 00 00 00 00 04 02 08 0A 52 17 96 04 00 04 01 08 0B 4E 96 04 00 08 0C 08 07 1C 96 02 00 08 0D 4E 4F 96 0B 00 08 0E 07 01 00 00 00 04 01 08 0F 4E 96 02 00 08 10 52 17 96 08 00 04 01 08 11 04 01 08 12 4E 4F 96 04 00 04 01 08 13 4E 87 01 00 0B 17 96 08 00 04 01 08 14 04 01 08 15 4E 4F 96 04 00 04 01 08 14 4E 96 04 00 08 16 05 00 4F 96 06 00 08 19 04 01 08 1A 4E 96 09 00 04 01 07 02 00 00 00 08 1B 1C 96 02 00 08 1C 4E 96 02 00 08 1D 4E 96 02 00 08 1E 52 96 06 00 08 1F 04 01 08 20 4E 96 09 00 04 01 07 02 00 00 00 08 1B 1C 96 02 00 08 1C 4E 96 02 00 08 1D 4E 96 02 00 08 1E 52 96 05 00 07 02 00 00 00 43 96 04 00 04 01 08 18 4E 96 07 00 07 02 00 00 00 08 21 1C 96 02 00 08 22 52 17 96 06 00 08 19 04 01 08 23 4E 96 09 00 04 01 07 02 00 00 00 08 1B 1C 96 02 00 08 1C 4E 96 02 00 08 1D 4E 96 02 00 08 1E 52 96 06 00 08 1F 04 01 08 24 4E 96 09 00 04 01 07 02 00 00 00 08 1B 1C 96 02 00 08 1C 4E 96 02 00 08 1D 4E 96 02 00 08 1E 52 96 05 00 07 02 00 00 00 43 96 04 00 04 01 08 0F 4E 96 02 00 08 25 4E 96 07 00 07 02 00 00 00 08 21 1C 96 02 00 08 22 52 17 96 06 00 08 19 04 01 08 26 4E 96 09 00 04 01 07 02 00 00 00 08 1B 1C 96 02 00 08 1C 4E 96 02 00 08 1D 4E 96 02 00 08 1E 52 96 06 00 08 1F 04 01 08 27 4E 96 09 00 04 01 07 02 00 00 00 08 1B 1C 96 02 00 08 1C 4E 96 02 00 08 1D 4E 96 02 00 08 1E 52 96 05 00 07 02 00 00 00 43 96 04 00 04 01 08 0F 4E 96 02 00 08 28 4E 96 07 00 07 02 00 00 00 08 21 1C 96 02 00 08 22 52 17 96 0D 00 06 00 00 00 00 00 00 00 00 04 01 08 29 52 17 96 04 00 04 01 08 11 4E 96 02 00 08 2A 1C 96 02 00 08 2B 4E 49 12 9D 02 00 1A 02 96 09 00 04 01 08 30 07 30 00 00 00 4F 96 09 00 04 01 08 32 07 30 00 00 00 4F 96 08 00 04 01 08 01 04 01 08 03 4E 96 05 00 07 02 00 00 00 3F 96 05 00 07 7F 00 00 00 0C 96 05 00 07 16 00 00 00 0B 4F 96 04 00 04 01 08 0B 4E 96 07 00 08 0C 07 2A 00 00 00 4F 96 04 00 04 01 08 0B 4E 96 0E 00 00 5F 68 65 69 67 68 74 00 07 30 00 00 00 4F 96 08 00 04 01 08 2C 04 01 08 2D 4E 4F 96 0D 00 06 00 00 00 00 00 00 00 00 04 01 08 2E 52 17 96 04 00 04 01 08 13 4E 96 02 00 00 00 49 4C 9D 02 00 0E 00 17 96 04 00 04 01 08 13 4E 96 01 00 03 49 12 9D 02 00 00 00 96 04 00 04 01 08 2C 4E 96 05 00 07 01 00 00 00 49 12 9D 02 00 75 00 96 04 00 04 01 08 2F 4B 4E 87 01 00 06 17 96 09 00 08 30 07 64 00 00 00 08 05 1C 96 02 00 08 31 4E 0C 96 09 00 08 32 07 64 00 00 00 08 05 1C 96 02 00 08 31 4E 0C 96 09 00 08 16 05 01 07 03 00 00 00 43 96 04 00 04 01 08 13 4E 96 09 00 04 06 07 03 00 00 00 08 21 1C 96 02 00 08 33 52 17 96 04 00 04 01 08 2F 4B 4E 96 04 00 08 16 05 01 4F 99 02 00 D3 00 96 09 00 06 00 00 00 00 00 00 00 00 87 01 00 03 17 96 06 00 04 03 04 01 08 2C 4E 48 12 9D 02 00 B1 00 96 02 00 08 34 87 01 00 04 17 96 04 00 04 01 08 2C 4E 96 05 00 07 02 00 00 00 49 12 9D 02 00 0A 00 96 02 00 08 35 87 01 00 04 17 96 06 00 04 01 04 04 04 03 47 4B 4E 87 01 00 06 17 96 09 00 08 30 07 64 00 00 00 08 05 1C 96 02 00 08 31 4E 0C 96 09 00 08 32 07 64 00 00 00 08 05 1C 96 02 00 08 31 4E 0C 96 09 00 08 16 05 01 07 03 00 00 00 43 96 04 00 04 01 08 13 4E 96 09 00 04 06 07 03 00 00 00 08 21 1C 96 02 00 08 33 52 17 96 06 00 04 01 04 04 04 03 47 4B 4E 96 04 00 08 16 05 01 4F 96 02 00 04 03 50 87 01 00 03 17 99 02 00 3E FF 99 02 00 8C 00 96 04 00 04 01 08 11 4E 96 02 00 08 2A 1C 96 02 00 08 36 4E 49 9D 02 00 11 00 96 02 00 08 05 1C 96 02 00 08 37 4E 99 02 00 0C 00 96 02 00 08 05 1C 96 02 00 08 38 4E 87 01 00 05 17 96 04 00 04 01 08 33 4E 87 01 00 06 17 96 09 00 08 30 07 64 00 00 00 04 05 0C 96 09 00 08 32 07 64 00 00 00 04 05 0C 96 09 00 08 16 05 01 07 03 00 00 00 43 96 04 00 04 01 08 13 4E 96 09 00 04 06 07 03 00 00 00 08 21 1C 96 02 00 08 33 52 17 4F 96 04 00 04 02 08 2E 8E 08 00 00 00 00 03 29 00 6F 00 96 09 00 06 00 00 00 00 00 00 00 00 87 01 00 02 17 96 04 00 04 02 08 05 1C 96 02 00 08 39 4E 48 12 9D 02 00 49 00 96 06 00 04 01 08 34 04 02 47 4B 4E 96 04 00 08 16 05 00 4F 96 07 00 04 02 07 02 00 00 00 48 12 9D 02 00 14 00 96 06 00 04 01 08 35 04 02 47 4B 4E 96 04 00 08 16 05 00 4F 96 02 00 04 02 50 87 01 00 02 17 99 02 00 A2 FF 4F 96 04 00 04 02 08 29 8E 08 00 00 00 00 05 29 00 94 02 96 04 00 04 01 08 14 4E 96 02 00 08 16 4E 4C 9D 02 00 12 00 17 96 0D 00 06 00 00 00 00 00 00 00 00 04 01 08 3A 52 9D 02 00 11 00 96 02 00 08 3B 1C 96 02 00 08 3C 4E 99 02 00 0C 00 96 02 00 08 3B 1C 96 02 00 08 3D 4E 87 01 00 04 17 96 04 00 04 01 08 0B 4E 96 08 00 08 3E 04 04 04 01 08 3F 4E 96 07 00 07 02 00 00 00 08 3B 1C 96 02 00 08 40 52 4F 96 04 00 04 01 08 0F 4E 87 01 00 02 17 96 14 00 06 00 00 00 00 00 00 00 00 06 00 00 00 00 00 00 00 00 08 41 1C 96 02 00 08 42 52 96 02 00 08 43 52 87 01 00 03 17 96 04 00 04 01 08 3F 4E 96 01 00 03 49 12 4C 12 9D 02 00 10 00 17 96 04 00 04 01 08 3F 4E 96 02 00 00 00 49 12 4C 12 9D 02 00 1E 00 17 96 0D 00 06 00 00 00 00 00 00 00 00 04 01 08 3A 52 4C 9D 02 00 06 00 17 96 02 00 04 03 4C 12 9D 02 00 31 00 17 96 0B 00 06 00 00 00 00 00 00 00 00 08 44 1C 96 04 00 04 01 08 45 4E 2B 96 02 00 08 46 52 96 0D 00 06 00 00 00 00 00 00 00 00 04 01 08 47 52 49 12 9D 02 00 59 01 96 06 00 04 02 08 16 05 01 4F 96 02 00 08 48 1C 96 02 00 08 49 4E 96 09 00 07 01 00 00 00 04 02 08 4A 4E 96 02 00 08 10 52 17 96 04 00 04 02 08 4A 4E 96 04 00 08 16 04 03 12 4F 96 04 00 04 02 08 4B 4E 96 04 00 08 16 04 03 12 4F 96 04 00 04 02 08 25 4E 96 04 00 08 16 04 03 4F 96 04 00 04 01 08 11 4E 96 02 00 08 2A 1C 96 02 00 08 2B 4E 49 12 9D 02 00 AD 00 96 04 00 04 01 08 4C 4E 96 02 00 08 4D 4E 96 09 00 07 01 00 00 00 04 02 08 4E 4E 96 02 00 08 10 52 17 96 04 00 04 02 08 4E 4E 96 04 00 08 16 04 03 12 4F 96 04 00 04 02 08 4F 4E 96 04 00 08 16 04 03 12 4F 96 0B 00 08 50 07 01 00 00 00 04 02 08 4F 4E 96 02 00 08 10 52 17 96 04 00 04 02 08 28 4E 96 04 00 08 16 04 03 4F 96 0B 00 08 50 07 01 00 00 00 04 02 08 28 4E 96 02 00 08 51 4E 96 02 00 08 10 52 17 96 02 00 04 03 12 9D 02 00 17 00 96 04 00 04 01 08 52 4E 96 0B 00 08 53 06 00 00 00 00 00 00 00 00 4F 99 02 00 30 00 96 04 00 04 02 08 4E 4E 96 04 00 08 16 05 00 4F 96 04 00 04 02 08 4F 4E 96 04 00 08 16 05 00 4F 96 04 00 04 02 08 28 4E 96 04 00 08 16 05 00 4F 99 02 00 0A 00 96 06 00 04 02 08 16 05 00 4F 4F 96 04 00 04 02 08 54 8E 08 00 00 00 00 03 29 00 AD 00 96 04 00 04 01 08 11 4E 87 01 00 00 96 02 00 08 2A 1C 96 02 00 08 36 4E 66 9D 02 00 2D 00 96 04 00 04 00 08 2A 1C 96 02 00 08 55 4E 66 9D 02 00 22 00 96 04 00 04 00 08 2A 1C 96 02 00 08 2B 4E 66 9D 02 00 2F 00 99 02 00 5D 00 96 05 00 07 7D 00 00 00 3E 96 09 00 07 69 00 00 00 04 01 08 03 4E 96 05 00 07 02 00 00 00 0E 96 05 00 07 13 00 00 00 0C 0B 3E 96 04 00 04 01 08 03 4E 96 05 00 07 01 00 00 00 0A 96 05 00 07 02 00 00 00 3F 96 05 00 07 35 00 00 00 0C 96 04 00 04 01 08 45 4E 96 02 00 08 02 4E 0B 3E 96 01 00 03 3E 4F 96 04 00 04 02 08 57 8E 08 00 00 00 00 04 19 00 26 01 96 14 00 06 00 00 00 00 00 00 00 00 06 00 00 00 00 00 00 00 00 08 41 1C 96 02 00 08 42 52 96 02 00 08 43 52 87 01 00 03 17 96 0D 00 06 00 00 00 00 00 00 00 00 04 02 08 57 52 17 96 0B 00 06 00 00 00 00 00 00 00 00 08 44 1C 96 04 00 04 01 08 45 4E 2B 96 02 00 08 46 52 96 0D 00 06 00 00 00 00 00 00 00 00 04 01 08 56 52 49 4C 9D 02 00 06 00 17 96 02 00 04 03 12 9D 02 00 87 00 96 04 00 04 01 08 58 4E 4C 9D 02 00 06 00 17 96 02 00 04 03 12 9D 02 00 15 00 96 0B 00 08 59 07 01 00 00 00 04 01 08 10 52 17 99 02 00 10 00 96 0B 00 08 5A 07 01 00 00 00 04 01 08 10 52 17 96 04 00 04 01 08 52 4E 96 04 00 08 16 05 01 4F 96 0B 00 08 5B 07 01 00 00 00 04 01 08 52 4E 96 02 00 08 5C 4E 96 02 00 08 5D 52 17 96 04 00 04 01 08 52 4E 96 02 00 08 5C 4E 96 04 00 08 16 04 03 12 4F 99 02 00 10 00 96 0B 00 08 5E 07 01 00 00 00 04 01 08 10 52 17 96 0D 00 06 00 00 00 00 00 00 00 00 04 01 08 29 52 17 4F 96 04 00 04 02 08 5F 8E 08 00 00 00 00 03 19 00 C1 00 96 0D 00 06 00 00 00 00 00 00 00 00 04 02 08 5F 52 17 96 0B 00 06 00 00 00 00 00 00 00 00 08 44 1C 96 04 00 04 01 08 45 4E 2B 96 02 00 08 46 52 96 0D 00 06 00 00 00 00 00 00 00 00 04 01 08 47 52 49 12 9D 02 00 57 00 96 0B 00 08 59 07 01 00 00 00 04 01 08 10 52 17 96 04 00 04 01 08 52 4E 96 04 00 08 16 05 01 4F 96 0B 00 08 5B 07 01 00 00 00 04 01 08 52 4E 96 02 00 08 5C 4E 96 02 00 08 5D 52 17 96 04 00 04 01 08 52 4E 96 02 00 08 5C 4E 96 04 00 08 16 05 00 4F 99 02 00 10 00 96 0B 00 08 5E 07 01 00 00 00 04 01 08 10 52 17 96 0D 00 06 00 00 00 00 00 00 00 00 04 01 08 29 52 17 4F 96 04 00 04 02 08 1A 8E 08 00 00 00 00 02 29 00 89 00 96 0B 00 06 00 00 00 00 00 00 00 00 08 60 1C 96 04 00 04 01 08 45 4E 96 02 00 08 61 4E 2B 96 02 00 08 62 52 17 96 0D 00 06 00 00 00 00 00 00 00 00 04 01 08 56 52 96 06 00 08 63 04 01 08 45 4E 96 02 00 08 61 4E 4B 96 09 00 08 64 07 04 00 00 00 08 65 1C 96 02 00 08 66 4E 96 02 00 08 67 4E 96 02 00 08 68 52 17 96 04 00 04 01 08 14 4E 96 04 00 08 16 05 01 4F 96 0D 00 06 00 00 00 00 00 00 00 00 04 01 08 29 52 17 4F 96 04 00 04 02 08 20 8E 08 00 00 00 00 02 29 00 22 00 96 04 00 04 01 08 14 4E 96 04 00 08 16 05 00 4F 96 0D 00 06 00 00 00 00 00 00 00 00 04 01 08 29 52 17 4F 96 04 00 04 02 08 23 8E 08 00 00 00 00 02 29 00 1C 00 96 0B 00 08 69 07 01 00 00 00 04 01 08 0F 4E 96 02 00 08 25 4E 96 02 00 08 10 52 17 4F 96 04 00 04 02 08 24 8E 08 00 00 00 00 02 29 00 1C 00 96 0B 00 08 6A 07 01 00 00 00 04 01 08 0F 4E 96 02 00 08 25 4E 96 02 00 08 10 52 17 4F 96 04 00 04 02 08 26 8E 08 00 00 00 00 02 29 00 3E 00 96 0B 00 08 69 07 01 00 00 00 04 01 08 0F 4E 96 02 00 08 28 4E 96 02 00 08 10 52 17 96 0B 00 08 50 07 01 00 00 00 04 01 08 0F 4E 96 02 00 08 28 4E 96 02 00 08 51 4E 96 02 00 08 10 52 17 4F 96 04 00 04 02 08 27 8E 08 00 00 00 00 02 29 00 3E 00 96 0B 00 08 6A 07 01 00 00 00 04 01 08 0F 4E 96 02 00 08 28 4E 96 02 00 08 10 52 17 96 0B 00 08 50 07 01 00 00 00 04 01 08 0F 4E 96 02 00 08 28 4E 96 02 00 08 51 4E 96 02 00 08 10 52 17 4F 96 0D 00 04 01 08 38 06 99 99 E9 3F 9A 99 99 99 4F 96 0D 00 04 01 08 37 06 66 66 E6 3F 66 66 66 66 4F 96 0D 00 04 01 08 31 06 5C 8F E2 3F 8F C2 F5 28 4F 96 09 00 04 01 08 39 07 03 00 00 00 4F 96 08 00 07 01 00 00 00 02 08 04 1C 96 02 00 08 05 4E 96 02 00 08 08 4E 96 07 00 07 03 00 00 00 08 6B

# class               start offset   end offset     length
InventoryList         0x02D92041     0x02D92D3E     3326 (0xCFE)

A0 05 44 00 31 32 33 34 35 36 37 38 39 30 31 32 33 34 35 36 37 38 39 30 31 32 33 34 35 36 37 38 39 00 5F 67 6C 6F 62 61 6C 00 49 6E 76 65 6E 74 6F 72 79 4C 69 73 74 00 70 61 64 64 69 6E 67 00 58 43 6F 6D 4C 69 73 74 00 70 72 6F 74 6F 74 79 70 65 00 49 43 6F 6E 74 61 69 6E 65 72 49 74 65 6D 00 6F 6E 4C 6F 61 64 00 41 64 64 49 6E 76 65 6E 74 6F 72 79 49 74 65 6D 00 4F 62 6A 65 63 74 00 49 54 45 4D 5F 54 59 50 45 5F 41 52 4D 4F 52 00 49 54 45 4D 5F 54 59 50 45 5F 57 45 41 50 4F 4E 00 49 54 45 4D 5F 54 59 50 45 5F 53 4D 41 4C 4C 5F 49 54 45 4D 00 6C 69 73 74 49 74 65 6D 49 64 65 6E 74 69 66 69 65 72 00 53 4C 5F 61 72 6D 6F 72 5F 69 6E 76 65 6E 74 6F 72 79 5F 73 6C 6F 74 00 53 4C 5F 77 65 61 70 6F 6E 5F 69 6E 76 65 6E 74 6F 72 79 5F 73 6C 6F 74 00 53 4C 5F 69 74 65 6D 5F 69 6E 76 65 6E 74 6F 72 79 5F 73 6C 6F 74 00 69 6E 69 74 49 74 65 6D 54 79 70 65 00 69 6E 69 74 49 74 65 6D 49 6D 67 00 6F 77 6E 65 72 53 63 72 65 65 6E 00 5F 70 61 72 65 6E 74 00 69 6E 69 74 4E 75 6D 49 74 65 6D 73 00 67 65 74 53 69 7A 65 00 41 64 64 4C 69 73 74 49 74 65 6D 00 6F 6E 49 74 65 6D 4C 6F 61 64 00 6C 65 66 74 54 6F 4C 6F 61 64 43 6F 75 6E 74 00 49 6E 76 65 6E 74 6F 72 79 49 74 65 6D 73 4C 6F 61 64 65 64 00 46 6C 61 73 68 52 61 69 73 65 43 6F 6D 6D 61 6E 64 00 66 6C 61 73 68 00 65 78 74 65 72 6E 61 6C 00 45 78 74 65 72 6E 61 6C 49 6E 74 65 72 66 61 63 65 00 63 61 6C 6C 00 53 6F 6C 64 69 65 72 4C 6F 61 64 6F 75 74 00 49 6E 76 65 6E 74 6F 72 79 4C 69 73 74 46 69 6E 69 73 68 65 64 4C 6F 61 64 69 6E 67 00 6F 6E 4C 6F 73 65 46 6F 63 75 73 00 45 6E 76 69 72 6F 6E 6D 65 6E 74 00 69 6E 73 74 61 6E 63 65 00 49 73 4D 6F 75 73 65 41 63 74 69 76 65 00 67 65 74 53 65 6C 65 63 74 65 64 49 6E 64 65 78 00 49 6E 76 65 6E 74 6F 72 79 4C 69 73 74 49 74 65 6D 00 67 65 74 49 74 65 6D 00 66 6F 63 75 73 00 5F 61 6C 70 68 61 00 69 6E 76 65 6E 74 6F 72 79 4C 61 62 65 6C 00 69 6E 76 65 6E 74 6F 72 79 54 69 74 6C 65 00 6F 6E 52 65 63 65 69 76 65 46 6F 63 75 73 00 70 72 65 76 49 74 65 6D 00 52 65 66 72 65 73 68 53 65 6C 65 63 74 6F 72 49 63 6F 6E 00 6E 65 78 74 49 74 65 6D 00 47 65 74 59 50 6F 73 4F 66 49 74 65 6D 00 67 65 74 48 65 69 67 68 74 00 64 69 73 70 6F 73 65 00 69 6E 70 75 74 00 6F 6E 50 6F 70 75 6C 61 74 65 44 65 62 75 67 44 61 74 61 00 2E 2E 2F 41 73 73 65 74 4C 69 62 72 61 72 69 65 73 2F 53 74 72 61 74 65 67 79 49 6D 61 67 65 73 2F 49 6E 76 65 6E 74 6F 72 79 49 63 6F 6E 73 2F 67 66 78 54 65 73 74 69 6E 67 2F 49 6E 76 5F 4C 76 33 4D 65 64 4D 61 6C 65 5F 41 72 6D 6F 72 2E 64 64 73 00 2E 2E 2F 41 73 73 65 74 4C 69 62 72 61 72 69 65 73 2F 53 74 72 61 74 65 67 79 49 6D 61 67 65 73 2F 49 6E 76 65 6E 74 6F 72 79 49 63 6F 6E 73 2F 67 66 78 54 65 73 74 69 6E 67 2F 49 6E 76 5F 46 72 61 67 47 72 65 6E 61 64 65 2E 64 64 73 00 2E 2E 2F 41 73 73 65 74 4C 69 62 72 61 72 69 65 73 2F 53 74 72 61 74 65 67 79 49 6D 61 67 65 73 2F 49 6E 76 65 6E 74 6F 72 79 49 63 6F 6E 73 2F 67 66 78 54 65 73 74 69 6E 67 2F 49 6E 76 5F 41 73 73 61 75 6C 74 52 69 66 6C 65 4D 6F 64 65 72 6E 2E 64 64 73 00 2E 2E 2F 41 73 73 65 74 4C 69 62 72 61 72 69 65 73 2F 53 74 72 61 74 65 67 79 49 6D 61 67 65 73 2F 49 6E 76 65 6E 74 6F 72 79 49 63 6F 6E 73 2F 67 66 78 54 65 73 74 69 6E 67 2F 49 6E 76 5F 4C 61 73 65 72 50 69 73 74 6F 6C 2E 64 64 73 00 2E 2E 2F 41 73 73 65 74 4C 69 62 72 61 72 69 65 73 2F 53 74 72 61 74 65 67 79 49 6D 61 67 65 73 2F 49 6E 76 65 6E 74 6F 72 79 49 63 6F 6E 73 2F 67 66 78 54 65 73 74 69 6E 67 2F 49 6E 76 5F 4D 65 64 69 4B 69 74 32 2E 64 64 73 00 2E 2E 2F 41 73 73 65 74 4C 69 62 72 61 72 69 65 73 2F 53 74 72 61 74 65 67 79 49 6D 61 67 65 73 2F 49 6E 76 65 6E 74 6F 72 79 49 63 6F 6E 73 2F 67 66 78 54 65 73 74 69 6E 67 2F 49 6E 76 5F 48 65 61 76 79 50 6C 61 73 6D 61 2E 64 64 73 00 2E 2E 2F 41 73 73 65 74 4C 69 62 72 61 72 69 65 73 2F 53 74 72 61 74 65 67 79 49 6D 61 67 65 73 2F 49 6E 76 65 6E 74 6F 72 79 49 63 6F 6E 73 2F 67 66 78 54 65 73 74 69 6E 67 2F 49 6E 76 5F 4C 4D 47 2E 64 64 73 00 49 6E 76 65 6E 74 6F 72 79 4C 69 73 74 20 6F 6E 50 6F 70 75 6C 61 74 65 44 65 62 75 67 00 54 69 74 61 6E 20 41 72 6D 6F 72 20 6F 66 20 44 65 61 74 68 20 61 6E 64 20 44 69 73 70 61 69 72 00 4C 4D 47 00 53 6D 61 6C 6C 20 50 69 73 74 6F 6C 00 50 72 6F 78 69 6D 69 74 79 20 4D 69 6E 65 00 41 64 76 61 6E 63 65 64 20 4D 65 64 69 20 4B 69 74 20 6F 66 20 41 77 65 73 6F 6D 65 73 61 75 63 65 00 41 53 53 65 74 50 72 6F 70 46 6C 61 67 73 00 96 02 00 08 01 1C 96 02 00 08 02 4E 12 12 9D 02 00 4A 07 96 02 00 08 01 1C 96 02 00 08 02 8E 08 00 00 00 00 03 19 00 1E 00 96 0C 00 06 00 00 00 00 00 00 00 00 04 02 03 52 17 96 09 00 04 01 08 03 07 05 00 00 00 4F 87 01 00 01 4F 96 02 00 08 01 1C 96 02 00 08 02 4E 96 02 00 08 04 1C 69 96 04 00 04 01 08 05 4E 87 01 00 02 17 96 02 00 08 01 1C 96 02 00 08 06 4E 96 07 00 07 01 00 00 00 08 01 1C 96 02 00 08 02 4E 2C 96 04 00 04 02 08 07 8E 08 00 00 00 00 02 1A 00 12 00 96 0D 00 06 00 00 00 00 00 00 00 00 04 01 08 07 52 17 4F 96 04 00 04 02 08 08 8E 32 00 00 04 00 08 29 00 03 74 79 70 65 00 05 74 69 74 6C 65 00 06 69 6D 67 4C 61 62 65 6C 00 04 6E 75 6D 45 71 75 69 70 61 62 6C 65 49 74 65 6D 73 00 FE 00 96 0B 00 06 00 00 00 00 00 00 00 00 08 09 40 87 01 00 02 17 96 01 00 03 87 01 00 07 17 96 02 00 04 03 87 01 00 00 96 02 00 08 02 1C 96 02 00 08 0A 4E 66 9D 02 00 2D 00 96 04 00 04 00 08 02 1C 96 02 00 08 0B 4E 66 9D 02 00 28 00 96 04 00 04 00 08 02 1C 96 02 00 08 0C 4E 66 9D 02 00 23 00 99 02 00 2D 00 96 06 00 04 01 08 0D 08 0E 4F 99 02 00 23 00 96 06 00 04 01 08 0D 08 0F 4F 99 02 00 14 00 96 06 00 04 01 08 0D 08 10 4F 99 02 00 05 00 96 01 00 03 3E 96 06 00 04 02 08 11 04 03 4F 96 06 00 04 02 08 12 04 06 4F 96 08 00 04 02 08 13 04 01 08 14 4E 4F 96 04 00 04 03 08 02 1C 96 02 00 08 0C 4E 49 12 9D 02 00 0A 00 96 06 00 04 02 08 15 04 04 4F 96 15 00 04 02 05 00 05 01 04 05 06 00 00 00 00 00 00 00 00 04 01 08 16 52 96 09 00 07 05 00 00 00 04 01 08 17 52 17 4F 96 04 00 04 02 08 18 8E 0E 00 00 01 00 04 19 00 03 69 74 65 6D 00 75 00 96 0B 00 04 03 07 01 00 00 00 04 02 08 18 52 17 96 04 00 04 01 08 19 4E 96 09 00 06 00 00 00 00 00 00 00 00 49 12 9D 02 00 4A 00 96 06 00 08 1A 04 01 08 14 4E 4B 96 09 00 08 1B 07 03 00 00 00 08 1C 1C 96 02 00 08 1D 4E 96 02 00 08 1E 4E 96 02 00 08 1F 52 17 96 0B 00 06 00 00 00 00 00 00 00 00 08 20 1C 96 04 00 04 01 08 14 4E 2B 96 02 00 08 21 52 17 4F 96 04 00 04 02 08 22 8E 08 00 00 00 00 08 19 00 42 01 96 0D 00 06 00 00 00 00 00 00 00 00 04 02 08 22 52 17 96 14 00 06 00 00 00 00 00 00 00 00 06 00 00 00 00 00 00 00 00 08 23 1C 96 02 00 08 24 52 96 02 00 08 25 52 87 01 00 05 17 96 0D 00 06 00 00 00 00 00 00 00 00 04 01 08 16 52 87 01 00 06 17 96 0D 00 06 00 00 00 00 00 00 00 00 04 01 08 26 52 87 01 00 07 17 96 09 00 06 00 00 00 00 00 00 00 00 87 01 00 04 17 96 04 00 04 04 04 06 48 12 9D 02 00 91 00 96 02 00 08 27 1C 96 02 00 04 04 4B 96 09 00 07 01 00 00 00 04 01 08 28 52 2B 87 01 00 03 17 96 0D 00 06 00 00 00 00 00 00 00 00 04 03 08 22 52 17 96 04 00 04 04 04 07 49 12 4C 12 9D 02 00 0D 00 17 96 06 00 04 03 04 01 08 29 4E 49 12 4C 12 9D 02 00 07 00 17 96 02 00 04 05 12 12 9D 02 00 12 00 96 09 00 04 03 08 2A 07 32 00 00 00 4F 99 02 00 0D 00 96 09 00 04 03 08 2A 07 64 00 00 00 4F 96 02 00 04 04 50 87 01 00 04 17 99 02 00 61 FF 96 02 00 04 05 12 12 9D 02 00 1F 00 96 04 00 04 01 08 14 4E 96 02 00 08 2B 4E 96 02 00 08 2C 4E 96 07 00 08 2A 07 28 00 00 00 4F 4F 96 04 00 04 02 08 2D 8E 08 00 00 00 00 05 19 00 94 00 96 0D 00 06 00 00 00 00 00 00 00 00 04 02 08 2D 52 17 96 0D 00 06 00 00 00 00 00 00 00 00 04 01 08 16 52 87 01 00 04 17 96 09 00 06 00 00 00 00 00 00 00 00 87 01 00 03 17 96 04 00 04 03 04 04 48 12 9D 02 00 2E 00 96 02 00 04 03 4B 96 09 00 07 01 00 00 00 04 01 08 28 52 96 07 00 08 2A 07 64 00 00 00 4F 96 02 00 04 03 50 87 01 00 03 17 99 02 00 C4 FF 96 04 00 04 01 08 14 4E 96 02 00 08 2B 4E 96 02 00 08 2C 4E 96 07 00 08 2A 07 64 00 00 00 4F 4F 96 04 00 04 02 08 2E 8E 08 00 00 00 00 03 19 00 31 00 96 0D 00 06 00 00 00 00 00 00 00 00 04 02 08 2E 52 17 96 0B 00 06 00 00 00 00 00 00 00 00 08 20 1C 96 04 00 04 01 08 14 4E 2B 96 02 00 08 2F 52 17 4F 96 04 00 04 02 08 30 8E 08 00 00 00 00 03 19 00 31 00 96 0D 00 06 00 00 00 00 00 00 00 00 04 02 08 30 52 17 96 0B 00 06 00 00 00 00 00 00 00 00 08 20 1C 96 04 00 04 01 08 14 4E 2B 96 02 00 08 2F 52 17 4F 96 04 00 04 02 08 31 8E 0F 00 00 01 00 05 29 00 04 69 6E 64 65 78 00 76 01 96 0B 00 04 04 06 00 00 00 00 00 00 00 00 48 12 4C 12 9D 02 00 16 00 17 96 0F 00 04 04 06 00 00 00 00 00 00 00 00 04 01 08 16 52 67 12 12 9D 02 00 3A 01 96 09 00 06 00 00 00 00 00 00 00 00 87 01 00 03 17 96 05 00 07 01 00 00 00 87 01 00 02 17 96 09 00 04 02 04 04 07 01 00 00 00 47 48 12 9D 02 00 02 01 96 0C 00 07 00 00 00 00 04 02 07 01 00 00 00 0B 4B 96 09 00 07 01 00 00 00 04 01 08 28 52 96 02 00 08 32 52 96 0E 00 07 13 00 00 00 07 02 00 00 00 04 01 08 03 4E 0C 0B 96 07 00 04 02 07 03 00 00 00 0E 0C 47 87 01 00 09 17 96 09 00 04 09 04 02 07 02 00 00 00 67 96 07 00 04 02 07 02 00 00 00 3F 12 10 96 05 00 07 35 00 00 00 0C 0B 87 01 00 09 17 96 07 00 07 00 00 00 00 04 02 4B 96 09 00 07 01 00 00 00 04 01 08 28 52 96 02 00 08 32 52 96 0C 00 07 13 00 00 00 04 02 07 02 00 00 00 0E 0C 47 87 01 00 0A 17 96 09 00 04 0A 04 02 07 02 00 00 00 67 96 07 00 04 02 07 02 00 00 00 3F 10 96 05 00 07 35 00 00 00 0C 47 87 01 00 0A 17 96 06 00 04 03 04 09 04 0A 47 96 05 00 07 02 00 00 00 0D 47 96 04 00 04 01 08 03 4E 47 87 01 00 03 17 96 02 00 04 02 50 87 01 00 02 17 99 02 00 EA FE 96 02 00 04 03 3E 96 05 00 07 9C FF FF FF 3E 4F 96 04 00 04 02 08 33 8E 08 00 00 00 00 03 19 00 1B 00 96 05 00 04 01 08 34 03 4F 96 0D 00 06 00 00 00 00 00 00 00 00 04 02 08 33 52 17 4F 96 04 00 04 02 08 35 8E 08 00 00 00 00 09 29 00 46 00 96 02 00 08 36 87 01 00 03 17 96 02 00 08 37 87 01 00 05 17 96 02 00 08 38 87 01 00 07 17 96 02 00 08 39 87 01 00 04 17 96 02 00 08 3A 87 01 00 08 17 96 02 00 08 3B 87 01 00 06 17 96 02 00 08 3C 87 01 00 02 17 4F 96 09 00 04 01 08 0A 07 01 00 00 00 4F 96 09 00 04 01 08 0B 07 02 00 00 00 4F 96 09 00 04 01 08 0C 07 03 00 00 00 4F 96 08 00 07 01 00 00 00 02 08 01 1C 96 02 00 08 02 4E 96 02 00 08 05 4E 96 07 00 07 03 00 00 00 08 43

With that I consider this modlet done for now, but I'm open to feedback and suggestions, of course :smile:

 

Well done! I've got a couple more ActionScript challenges to propose to you if you'd like to take them on :smile:

Sure, bring 'em on, can't hurt to at least have a look - though no promises :happy:

Link to comment
Share on other sites

Very cool.

 

Really tempted by the new items modlet now and to throw Battlescanners, Smoke Grenades and Medipaks into the items pool. (Could remove the "only 1 item per player" restriction from Medipaks). The problem would be keeping the different classes distinct with some of their flavour perks removed. . . anyway, lots of options with that and this.

 

If anyone can work out how to give an item (and by that I really mean a weapon) a mobility hit when equipped I'd love to know. Pet peeve of mine is that equipping an LMG type weapon doesn't impede mobility (or carrying capacity!) at all. Could be really nicely implemented with both new items and a change to the small item slots like this.

Edited by Zybertryx
Link to comment
Share on other sites

 

Sure, bring 'em on, can't hurt to at least have a look - though no promises :happy:

 

Well, the biggie, of course, is getting eight soldiers to appear on the dropship equipping screen. That's one of the big stumbling blocks to larger squads. We've got some proposed workarounds that involve selecting and equipping the bonus soldiers in the barracks, but of course just having them on the regular equipping screen would be ideal.

 

Perhaps simpler:

 

There's some residual code for another interceptor weapon, the Stingray Missile (eshipweapon #2), which you might recall from vanilla. I'd like it to be workable as an alternative to Avalanches at the beginning of the game. I've kludged it into working on the unrealscript side, where it has stats and you can equip it to interceptors (although this isn't in Long War; I need to do more work to get it working seamlessly.) But in an actual interception, the weapon doesn't fire and there's no animation.

 

The animation for the battles is not handled in command1.upk, but instead in gfxInterception.upk. I've broken out the AS for it in the Long War miscellaneous files section (separate from the massive command1 AS download). It looks like the weapon firing animation is handled in scripts >> doInitaction 533. I basically would like the Stringray missile launch to use the same animation as the Avalanche missile.

Link to comment
Share on other sites

Since he was able to figure out how to scale down the small item boxes (which I'm quite impressed by!), the simplest solution that presents itself would be to reduce the size of the SquadSelectUI boxes.

There appears to be two different sprites, 1 that is used for non-selected units, and 1 that is used for the selected unit (similar to how it works for the Interceptor Launch Screen). If only the non-selected unit UI sprite was reduced it would allow room for more sprites to be fit on the screen, but still allow for the full functionality and visibility of the enlarged sprite for the currently selected soldier.

Link to comment
Share on other sites

I have been banging my head against a wall trying to add a scroll bar to the Inventory list with no luck good going on shrinking the items.

 

How would this work with resizing the non backpack items to use the backpack size or just the armor to use the weapon size like this.

 

EDIT: tested resizing of other items and it works with the armor the size of the weapons except for selection indicator minor misalignment but with everything set for small item size the weapons work but the armor appears as one small item on the top.

 

I was able to fit 10 items with no problems without resizing the other items so have given up on the scrollbar.

 

EDIT 2: works great with the armor full size and weapons small item size and could even fit way more items with only bug being an even smaller indicator misalignment on items other than on the main weapon.

 

Edit 3: Attached Screenshot of 13-14 small items and small weapons working

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...