View Single Post
Old 07-30-11, 12:48 PM   #3
Heretic
Commodore
 
Join Date: Mar 2005
Location: Nebraska
Posts: 617
Downloads: 240
Uploads: 2


Default

If I understand correctly, you'd like the watch officer to have that cap and face.

This can be set using the ai crew scripts in data/Scripts/AI/Crew. The Watch officer scripts are in file Crew_Idle_Actions_QR1.aix. If you're using my crew mod, there's a commented section where you can change the clothing and body parts for a crewman. If you're not using my mod, you can still use it as a reference.

In Crew_Idle_Actions_QR1.aix, look for QRF_WATCH_SURFACED and QRF_WATCH_SUBMERGED. These scripts controls what the watch officer does while the sub is surfaced and submerged. It'll need be be changed in both places. What you're looking for is this bit:

Quote:
############## Uncomment for alternate head #######################
Wp:SetBodyPartVisibility("D_Head12", 0);
Wp:SetBodyPartVisibility("D_EyeL12", 0);
Wp:SetBodyPartVisibility("D_EyeR12", 0);
Wp:SetBodyPartVisibility("D_Head16", 1);
Wp:SetBodyPartVisibility("D_EyeL16", 1);
Wp:SetBodyPartVisibility("D_EyeR16", 1);
Wp:SetBodyPartVisibility("D_Torso03", 0);
Wp:SetBodyPartVisibility("D_Torso01", 1);
This is where I'm changing the default look of the watch officer. The first 3 lines are removing the default head and the next few are adding the new one. If you want to change his head, you'll need to change D_Head16, D_EyeL16, and D_EyeR16 to match whichever new head you want. Unless you know how to view the various part with the Goblin editor (I've since forgotten), you'll have to use trial and error. Just change the number portion to something else and see how it goes.

Hats are set the same way.
Quote:
Wp:SetBodyPartVisibility("D_Hat02", 1); - hat on
Wp:SetBodyPartVisibility("D_Hat02", 0); - hat off
Here's what I have from my notes:
Quote:
A_Head01
A_Head02
A_Head03
B_Head02 older man
B_Head03 not bad
B_Head05 partial head for helmet
B_Head06 weatherbeaten beard scar
D_Head01x chief
D_Head02x bosun
D_Head03------------
D_Head04x cook
D_Head05x
D_Head06x motor officer
D_Head07x gunner
D_Head08-----------------
D_Head09x nav
D_Head10x XO
D_Head11x good choice for nav
D_Head12x watch
D_Head13x Captain Rahn
D_Head14x radio
D_Head15x sonar
D_Head16x new WO
D_Head17x torp off
D_Head18x bunker officer 1
D_Head19x new chief
D_Head20x welding goggles

A_Hat01 side cap , right black
B_Hat01 billed cap , black petty offficer
B_Hat02 billed cap , white officer
B_Hat05 helmet
B_Hat06 stocking cap
D_Hat02 billed cap , Black officer
D_Hat04 side cap, left white

A_Torso01 - Grey engine leather
A_Torso03 - short sleeves
A_Torso05 - Grey deck leather with scarf
A_Torso07 - long sleeve pullover w/striped undershirt
A_Torso06 - grey deck leather upturned collar
B_Torso02 - Officer Dress coat single breasted bunker CO
B_Torso02 - bare arms at elbow
B_Torso04 - Officer Dress coat dbl breasted
B_Torso05 - infantry coat
B_Torso06 - short sleeves, suspenders
B_Torso06 - Red checked shirt, suspenders
D_Torso01 - Leather jacket zipped - chief
D_Torso02 - Bosun
D_Torso03 - leather jacket open, binocs WO
D_Torso04 - cook
D_Torso05 - SO
D_Torso06 - short sleeve , rag in pocket Motor off
D_Torso07 - infantry coat gunner
D_Torso09 - Nav
D_Torso20 - coat w/gloves

A_Pants01 - grey leather
A_Pants02 - shorts
B_Pants02 -
B_Pants03 - overalls
B_Pants04 -
B_Pants05 - infantry pants, jackboots
B_Pants06 -
B_Pants07 - pants, short sleeve, suspenders
B_Pants08 - coverall, short sleeve, suspenders
D_Pants01 -
D_Pants02 -
D_Pants04 - cooks pants w/apron
D_Pants05 -
D_Pants06 -
D_Pants07 -

Beards
object1_Beard_CAP04 - chin and mustache
object1_Barba_Cap18 - full
object1_Barba_CAP13 - chin and mustache
object2_Barba_Cap09 - mustache - nav
object1_Barba_Cap06 - full
Heretic is offline   Reply With Quote