Start the prop and gear fit pass: hand-gear measurement, top-edge clipboard, carried role props, 15-piece gear set
This commit is contained in:
1 parent
cba00facf5
commit
219588bf8a
17 files changed
+127
-73
No files matched your search
@@ -187,7 +187,7 @@ const GEAR_OFFSETS := {
|
||||
## item forward into the open palm.
|
||||
const HAND_ITEM_FORWARD := Vector3(0, 0, 0.04)
|
||||
const GEAR_ATTACH := {
|
||||
"cap": "head", "hood": "head", "sunglasses": "head",
|
||||
"sunglasses": "head",
|
||||
"firefighter_helmet": "head",
|
||||
"backpack": "back", "shoulder_bag": "back", "scba_tank": "back",
|
||||
"lanyard": "chest",
|
||||
@@ -952,7 +952,10 @@ func _add_props(npc_type: int) -> void:
|
||||
_photo_flash = _add_box_prop(_rig, Vector3(0.05, 0.05, 0.06), Vector3(0.34, chest_y + 0.06, 0.30), Color(0.4, 0.7, 1.0))
|
||||
_photo_flash.visible = false
|
||||
Rules.NpcType.DELIVERY:
|
||||
_add_box_prop(_rig, Vector3(0.34, 0.26, 0.28), Vector3(0.0, 1.02, 0.3), Color(0.55, 0.4, 0.25))
|
||||
# A carried parcel: it hangs off the hand so it follows the arm, and it
|
||||
# is small enough that the torso and the role tint still read.
|
||||
_add_box_prop(_hand_for(1), Vector3(0.26, 0.19, 0.24),
|
||||
HAND_PROP_OFFSET + Vector3(0, -0.09, 0.07), Color(0.55, 0.4, 0.25))
|
||||
Rules.NpcType.PERFORMER:
|
||||
# No cone on the head: the performer plays the sidewalk with a board in
|
||||
# one hand and a baton in the other, so the face stays readable.
|
||||
@@ -978,7 +981,9 @@ func _add_props(npc_type: int) -> void:
|
||||
_photo_prop.visible = false
|
||||
_photo_prop_base_y = _photo_prop.position.y
|
||||
Rules.NpcType.CONFUSED_VISITOR:
|
||||
_add_box_prop(_rig, Vector3(0.3, 0.05, 0.34), Vector3(0, 0.92, 0.06), Color(0.9, 0.88, 0.8))
|
||||
# A fold-out map carried in one hand rather than a tray floating at the hip.
|
||||
_add_box_prop(_hand_for(0), Vector3(0.22, 0.03, 0.16),
|
||||
HAND_PROP_OFFSET + Vector3(0, -0.02, 0.06), Color(0.9, 0.88, 0.8))
|
||||
|
||||
## Carried role props ride the hand proxy so they follow the arm. The offset is
|
||||
## in the hand's local space: the grip sits ~4 cm in front of the wrist origin,
|
||||
|
||||
Reference in new issue
Block a user