Picking the head frame for paperdoll helmet

NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Locked
Crowley
Posts: 459
Joined: Thu May 14, 2020 1:34 pm

Picking the head frame for paperdoll helmet

Post by Crowley »

How do I pick which head frame a helmet uses on the paperdoll? For two-handed weapons I can pick that in the "spot frame" box in the paperdoll tab of a shape, but with helmets that is greyed out.
marzo
Site Admin
Posts: 1925
Joined: Thu May 14, 2020 1:34 pm

Re: Picking the head frame for paperdoll helmet

Post by marzo »

This is actually set in the NPC's paperdoll data.
------
Marzo Sette Torres Junior
aka Geometrodynamic Dragon
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
Crowley
Posts: 459
Joined: Thu May 14, 2020 1:34 pm

Re: Picking the head frame for paperdoll helmet

Post by Crowley »

Hmm, we seem to have a misunderstanding here. What I meant to ask is how I can define for each piece of headgear individually whether it uses the full head or the cropped head paperdoll frame. Most helmets use the cropped head, but for instance for crowns you would want to use the full head.
Crowley
Posts: 459
Joined: Thu May 14, 2020 1:34 pm

Re: Picking the head frame for paperdoll helmet

Post by Crowley »

Also, pre-existing helmets in Black Gate and Serpent Isle are set to use spot frame 1, but I cannot set any helmet to that myself.
Wizardry Dragon
Posts: 1241
Joined: Thu May 14, 2020 1:34 pm

Re: Picking the head frame for paperdoll helmet

Post by Wizardry Dragon »

Shapes > Obj Paperdoll is where you're looking, I believe, yes?

Spot Frame is not currently editable in ES to my knowledge, but I may be wrong.

Cheers,
Peter M Dodge
aka Wizardry Dragon
Cheers, Wizardry Dragon
Lead Designer, Ultima VII: The Feudal Lands
www.thefeudallands.ca
Crowley
Posts: 459
Joined: Thu May 14, 2020 1:34 pm

Re: Picking the head frame for paperdoll helmet

Post by Crowley »

You can select Spot Frame for two-handed weapons, as I mentioned above.
Wizardry Dragon
Posts: 1241
Joined: Thu May 14, 2020 1:34 pm

Re: Picking the head frame for paperdoll helmet

Post by Wizardry Dragon »

That's new since I messed with paperdolls then. Does it work for helmets? I'm guessing not?

You can edit the raw item data with a hex editor as a workaround but its a real pain.

Cheers,
Peter M Dodge
aka Wizardry Dragon
Cheers, Wizardry Dragon
Lead Designer, Ultima VII: The Feudal Lands
www.thefeudallands.ca
agentorangeguy
Posts: 565
Joined: Thu May 14, 2020 1:34 pm

Re: Picking the head frame for paperdoll helmet

Post by agentorangeguy »

I've never been able to fully understand the paperdoll stuff. I was trying to put that cloth armor you made for the U6 mod but stuff overlaps and nothing seems to go where I need it to :/ What files do you edit to get your paperdoll stuff to go where it needs to go Crowley?
-------------------------------------------------------------------------------------
Ultima 6 Mod for Exult site: http://www.ultima6.realmofultima.com/
Crowley
Posts: 459
Joined: Thu May 14, 2020 1:34 pm

Re: Picking the head frame for paperdoll helmet

Post by Crowley »

I recently added my mystic armor graphics to my mod, and I've been having trouble with that myself. All other spots seem go all right, but the torso I cannot fathom. When I equip the armor on a male, the female torso section overlaps with the male one. With female at least the torso shows all right, but with neither the arms are nowhere to be seen. I used the Serpent Isle shape settings as a guide: eight frames for body armor, even-numbered for female and odd for male, first two are the chest pieces and the rest are for arms in different positions.
Malignant Manor
Site Admin
Posts: 985
Joined: Thu May 14, 2020 1:34 pm

Re: Picking the head frame for paperdoll helmet

Post by Malignant Manor »

You will need to manually edit spot frame in paperdol.txt. ES only seems to allow you to edit it if the ready slot is both hands. No hex editor is needed.
Malignant Manor
Site Admin
Posts: 985
Joined: Thu May 14, 2020 1:34 pm

Re: Picking the head frame for paperdoll helmet

Post by Malignant Manor »

Spot frame editing for helmets should be working in Exult Studio once Kirben updates the snapshot.
marzo
Site Admin
Posts: 1925
Joined: Thu May 14, 2020 1:34 pm

Re: Picking the head frame for paperdoll helmet

Post by marzo »

Yeah, for some reason, I forgot to enable it in ES; thanks for fixing it, Malignant Manor; I am still configuring my new laptop (old one died) and would be unable to fix it myself.
------
Marzo Sette Torres Junior
aka Geometrodynamic Dragon
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
Malignant Manor
Site Admin
Posts: 985
Joined: Thu May 14, 2020 1:34 pm

Re: Picking the head frame for paperdoll helmet

Post by Malignant Manor »

It was enabled but bugged to use the amulet ready spot. A Change in the ES menu order in the glade file could have screwed up the code. Separators count as slots too.

Here's a sample of what I took out of glade for my use in fixing stuff if you want to look at the diff and understand what got changed.

Code: Select all

shinfo_ready_spot_menu

0	Off hand
1	Main hand
2	Both hands
3	separator12
4	Amulet
5	Cloak
6	Exclusive Neck
7	separator14
8	Ring
9	Gloves (paperdoll)
10	Exclusive Gloves
11	separator15
12	Quiver
13	Earrings (paperdoll)
14	Head
15	Torso
16	Backpack
17	Belt
18	Legs
19	Feet
20	Usecode container
21	Triple crossbow bolts


shinfo_altready1_spot_menu

0	none4
1	separator16
2	Off hand
3	Main hand
4	separator17
5	Exclusive Neck
6	separator19
7	Belt
8	Weapon on back
9	Shield on back
10	Exclusive Stored item
11	separator18
12	Backpack


shinfo_altready2_spot_menu

0	None
1	separatormenuitem3
2	Off hand
3	Main hand
4	separatormenuitem4
5	Exclusive Neck
6	separatormenuitem5
7	Belt
8	Weapon on back
9	Shield on back
10	Exclusive Stored item
11	separatormenuitem6
12	Backpack


shinfo_objpaperdoll_spot_menu

0	Head
1	Back
2	Belt
3	Weapon hand
4	Weapon finger
5	Legs
6	Feet
7	Shield finger
8	Shield hand
9	Torso
10	Neck
11	Quiver
12	Back 2-Handed
13	Back Shield
14	Earrings (SI)
15	Cloak
16	Gloves (SI)
17	Usecode Container
18	Cloak Clasp
Edit by Dominus: thread became a spam target ;(
If anyone has a follow up question, please start a new thread and reference this one...
Locked