sims2-4k-ui-patch icon indicating copy to clipboard operation
sims2-4k-ui-patch copied to clipboard

UI: Small pie menu

Open lah7 opened this issue 3 years ago • 1 comments

A pie menu with lots of options causes overlapping, which is even worse.

Some related constants are at group ID 0xa99d8a11, instance ID 0x90617b7.

Small pies

Pie menu graphics
0x856ddbac_0x499db772_0x76000001.tga
0x856ddbac_0x499db772_0x76000002.tga
0x856ddbac_0x499db772_0x76000004.tga
0x856ddbac_0x499db772_0x76000008.tga
0x856ddbac_0x499db772_0x76000010.tga
0x856ddbac_0x499db772_0x76000020.tga
0x856ddbac_0x499db772_0x76000040.tga
0x856ddbac_0x499db772_0x76000080.tga
0x856ddbac_0x499db772_0x76000100.tga
0x856ddbac_0x499db772_0x76000200.tga
0x856ddbac_0x499db772_0x76010000.tga
.
0x856ddbac_0x499db772_0x96000001.tga
0x856ddbac_0x499db772_0x96000002.tga
0x856ddbac_0x499db772_0x96000004.tga
0x856ddbac_0x499db772_0x96000008.tga
0x856ddbac_0x499db772_0x96000010.tga
0x856ddbac_0x499db772_0x96000020.tga
0x856ddbac_0x499db772_0x96000040.tga
0x856ddbac_0x499db772_0x96000080.tga
0x856ddbac_0x499db772_0x96000100.tga
0x856ddbac_0x499db772_0x96000200.tga
0x856ddbac_0x499db772_0x96010000.tga
0x856ddbac_0x499db772_0x96100001.tga
0x856ddbac_0x499db772_0x96100002.tga
0x856ddbac_0x499db772_0x96100004.tga
0x856ddbac_0x499db772_0x96100008.tga
0x856ddbac_0x499db772_0x96100010.tga
0x856ddbac_0x499db772_0x96100020.tga
0x856ddbac_0x499db772_0x96100040.tga
0x856ddbac_0x499db772_0x96100080.tga
.
0x856ddbac_0x499db772_0x98000001.tga
0x856ddbac_0x499db772_0x98000002.tga
0x856ddbac_0x499db772_0x98000004.tga
0x856ddbac_0x499db772_0x98000008.tga
0x856ddbac_0x499db772_0x98000010.tga
0x856ddbac_0x499db772_0x98000020.tga
0x856ddbac_0x499db772_0x98000040.tga
0x856ddbac_0x499db772_0x98000080.tga
0x856ddbac_0x499db772_0x98000100.tga
0x856ddbac_0x499db772_0x98000200.tga
0x856ddbac_0x499db772_0x98010000.tga
0x856ddbac_0x499db772_0x98100001.tga
0x856ddbac_0x499db772_0x98100002.tga
0x856ddbac_0x499db772_0x98100004.tga
0x856ddbac_0x499db772_0x98100008.tga
0x856ddbac_0x499db772_0x98100010.tga
0x856ddbac_0x499db772_0x98100020.tga
0x856ddbac_0x499db772_0x98100040.tga
0x856ddbac_0x499db772_0x98100080.tga

lah7 avatar Mar 03 '22 18:03 lah7

This is tricky, the UI script for 0xa99d8a11 0x90617b7 mainly concerns the Sim 'zombie'. The actual pie options seem to be built up by the game's code, out of bounds for us at the moment. The game might possibly use Lua for UI under the hood, but it's a bit beyond my knowledge at this point.

Any help/tips on how we can patch/mod the game in a way so we can double the radius calculation (X, Y pos) is appreciated.

Screenshot_20250409_151233

For now, I'll hide the Sim (since it's being tricky to position correctly) and lower the 'boundaries' so clicking actions is better. Overlapping may be a concern if there's a lot of options (e.g. testingcheatsenabled SHIFT click Sim)

Spotted a bit of a bug with how the game doesn't use the correct graphic for the third menu (not as a result of this mod):

Second Menu Third Menu
2 3

lah7 avatar Apr 09 '25 15:04 lah7