-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add a 'Gender' parameter in /data/humans.ini - Body shape now depends of weight and gender (very basic Body Mass Index use) - Up to 4 assistants instead of 1 per victim - Victim and assistant(s) can now be any of defined human, and not only blue/red and green guys - Documentation updated
- Loading branch information
Showing
15 changed files
with
759 additions
and
268 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,69 +1,214 @@ | ||
# SAR Human Presets | ||
# | ||
# Introduction | ||
# ------------ | ||
# | ||
# Contains a list of preset human values describing height, mass, color, | ||
# and other attributes relating to a defined preset human name. | ||
# | ||
# | ||
# Notes | ||
# ----- | ||
# | ||
# All color values have arguments in the order of rgba. | ||
# | ||
# Height specifies the height of the human from toe to head in meters. | ||
# | ||
|
||
# First entry is always the default, it may be used whenever nothing | ||
# in particular is requested. | ||
PresetAdd = default | ||
Height = 1.9 | ||
Mass = 54.0 | ||
ColorPaletteSelect = Standard | ||
ColorFace = 0.847 0.615 0.447 1.00 | ||
ColorHair = 0.30 0.24 0.19 1.00 | ||
ColorTorso = 0.95 0.22 0.18 1.00 | ||
ColorHips = 0.20 0.20 0.20 1.00 | ||
ColorLegs = 0.80 0.78 0.75 1.00 | ||
ColorFeet = 0.30 0.30 0.30 1.00 | ||
ColorArms = 0.20 0.20 1.00 1.00 | ||
ColorHands = 0.847 0.615 0.447 1.00 | ||
|
||
# Diver (used for drawing at end of hoist rope). | ||
PresetAdd = diver | ||
Height = 1.9 | ||
Mass = 54.0 | ||
ColorPaletteSelect = Standard | ||
ColorFace = 0.847 0.615 0.447 1.00 | ||
ColorHair = 0.10 0.20 0.60 1.00 | ||
ColorTorso = 0.10 0.20 0.60 1.00 | ||
ColorHips = 0.10 0.20 0.60 1.00 | ||
ColorLegs = 0.10 0.20 0.60 1.00 | ||
ColorFeet = 0.10 0.20 0.60 1.00 | ||
ColorArms = 0.10 0.20 0.60 1.00 | ||
ColorHands = 0.847 0.615 0.447 1.00 | ||
|
||
# Victim intended to be on a streatcher with one assisting human. | ||
PresetAdd = victim_streatcher_assisted | ||
Height = 1.9 | ||
Mass = 54.0 | ||
AssistingHumans = 1 | ||
ColorPaletteSelect = Standard | ||
ColorFace = 0.847 0.615 0.447 1.00 | ||
ColorHair = 0.30 0.24 0.19 1.00 | ||
ColorTorso = 0.95 0.22 0.18 1.00 | ||
ColorHips = 0.20 0.20 0.20 1.00 | ||
ColorLegs = 0.80 0.78 0.75 1.00 | ||
ColorFeet = 0.30 0.30 0.30 1.00 | ||
ColorArms = 0.20 0.20 1.00 1.00 | ||
ColorHands = 0.847 0.615 0.447 1.00 | ||
ColorPaletteSelect = AssistingHuman | ||
ColorFace = 0.847 0.615 0.447 1.00 | ||
ColorHair = 0.30 0.24 0.19 1.00 | ||
ColorTorso = 0.21 0.95 0.20 1.00 | ||
ColorHips = 0.70 0.70 0.70 1.00 | ||
ColorLegs = 0.70 0.70 0.70 1.00 | ||
ColorFeet = 0.30 0.30 0.30 1.00 | ||
ColorArms = 0.21 0.95 0.20 1.00 | ||
ColorHands = 0.94 0.92 0.9 1.00 | ||
# SAR Human Presets | ||
# | ||
# Introduction | ||
# ------------ | ||
# | ||
# Contains a list of preset human values describing height, mass, color, | ||
# and other attributes relating to a defined preset human name. | ||
# | ||
# | ||
# Notes | ||
# ----- | ||
# | ||
# All color values have arguments in the order of rgba. | ||
# | ||
# Height specifies the height of the human from toe to head in meters. | ||
# Human drawing "size" is relative to height and mass. Note that drawing | ||
# is -of course- approximative, and sometimes it needs to "cheat" | ||
# on one parameter to obtain better drawing (example: baby_1 mass). | ||
# If not set, default gender is male. If gender is female, a breast | ||
# is drawn on human torso. | ||
# | ||
|
||
# File version number. | ||
Version = 1 1 | ||
|
||
# First entry is always the default, it may be used whenever nothing | ||
# in particular is requested. | ||
PresetAdd = default | ||
Height = 1.9 | ||
Mass = 90.0 | ||
Gender = Male | ||
ColorPaletteSelect = Standard | ||
ColorFace = 0.847 0.615 0.447 1.0 | ||
ColorHair = 0.300 0.240 0.190 1.0 | ||
ColorTorso = 0.950 0.220 0.180 1.0 | ||
ColorHips = 0.200 0.200 0.200 1.0 | ||
ColorLegs = 0.800 0.780 0.750 1.0 | ||
ColorFeet = 0.300 0.300 0.300 1.0 | ||
ColorArms = 0.200 0.200 1.000 1.0 | ||
ColorHands = 0.847 0.615 0.447 1.0 | ||
|
||
# Diver (only for drawing at end of hoist rope). | ||
PresetAdd = diver | ||
# Hard-coded data: | ||
# Height = 1.9 | ||
# Mass = 90.0 | ||
# Gender = Male | ||
ColorPaletteSelect = Standard | ||
ColorFace = 0.847 0.615 0.447 1.0 | ||
ColorHair = 0.100 0.200 0.600 1.0 | ||
ColorTorso = 0.100 0.200 0.600 1.0 | ||
ColorHips = 0.100 0.200 0.600 1.0 | ||
ColorLegs = 0.100 0.200 0.600 1.0 | ||
ColorFeet = 0.100 0.200 0.600 1.0 | ||
ColorArms = 0.100 0.200 0.600 1.0 | ||
ColorHands = 0.847 0.615 0.447 1.0 | ||
|
||
# For backward compatibility : victim intended to be on a stretcher with | ||
# one assisting human. Note that only color can be be modified and will be | ||
# applied to all (1 to 4) assisting humans. | ||
PresetAdd = victim_streatcher_assisted | ||
Height = 1.9 | ||
Mass = 90.0 | ||
AssistingHumans = 1 | ||
ColorPaletteSelect = Standard | ||
ColorFace = 0.847 0.615 0.447 1.0 | ||
ColorHair = 0.300 0.240 0.190 1.0 | ||
ColorTorso = 0.950 0.220 0.180 1.0 | ||
ColorHips = 0.200 0.200 0.200 1.0 | ||
ColorLegs = 0.800 0.780 0.750 1.0 | ||
ColorFeet = 0.300 0.300 0.300 1.0 | ||
ColorArms = 0.200 0.200 1.000 1.0 | ||
ColorHands = 0.847 0.615 0.447 1.0 | ||
ColorPaletteSelect = AssistingHuman | ||
ColorFace = 0.847 0.615 0.447 1.0 | ||
ColorHair = 0.300 0.240 0.190 1.0 | ||
ColorTorso = 0.210 0.950 0.200 1.0 | ||
ColorHips = 0.700 0.700 0.700 1.0 | ||
ColorLegs = 0.700 0.700 0.700 1.0 | ||
ColorFeet = 0.300 0.300 0.300 1.0 | ||
ColorArms = 0.210 0.950 0.200 1.0 | ||
ColorHands = 0.940 0.920 0.900 1.0 | ||
|
||
# Default assisting human. | ||
PresetAdd = assistant_1 | ||
Height = 1.9 | ||
Mass = 90.0 | ||
Gender = Male | ||
ColorPaletteSelect = Standard | ||
ColorFace = 0.847 0.615 0.447 1.0 | ||
ColorHair = 0.300 0.240 0.190 1.0 | ||
ColorTorso = 0.210 0.950 0.200 1.0 | ||
ColorHips = 0.700 0.700 0.700 1.0 | ||
ColorLegs = 0.700 0.700 0.700 1.0 | ||
ColorFeet = 0.300 0.300 0.300 1.0 | ||
ColorArms = 0.210 0.950 0.200 1.0 | ||
ColorHands = 0.940 0.920 0.900 1.0 | ||
|
||
# An old black man, with hairs | ||
PresetAdd = man_1 | ||
Height = 1.75 | ||
Mass = 80.0 | ||
Gender = Male | ||
ColorPaletteSelect = Standard | ||
ColorFace = 0.304 0.206 0.206 1.0 | ||
ColorHair = 0.900 0.900 0.900 1.0 | ||
ColorTorso = 0.900 0.900 0.900 1.0 | ||
ColorHips = 0.950 0.220 0.180 1.0 | ||
ColorLegs = 0.950 0.220 0.180 1.0 | ||
ColorFeet = 0.100 0.100 0.100 1.0 | ||
ColorArms = 0.900 0.900 0.900 1.0 | ||
ColorHands = 0.304 0.206 0.206 1.0 | ||
|
||
# An old white man, without hairs (ColorHair alpha value set to 0.0) | ||
PresetAdd = man_2 | ||
Height = 1.90 | ||
Mass = 90.0 | ||
Gender = Male | ||
ColorPaletteSelect = Standard | ||
ColorFace = 0.847 0.615 0.447 1.0 | ||
ColorHair = 0.900 0.900 0.900 0.0 | ||
ColorTorso = 0.576 0.174 0.724 1.0 | ||
ColorHips = 0.194 0.369 0.723 1.0 | ||
ColorLegs = 0.194 0.369 0.723 1.0 | ||
ColorFeet = 0.315 0.157 0.157 1.0 | ||
ColorArms = 0.576 0.174 0.724 1.0 | ||
ColorHands = 0.847 0.615 0.447 1.0 | ||
|
||
# A 10 years old white girl | ||
# Note that if gender had been defined and set to Female, girl would have breast. | ||
PresetAdd = girl_1 | ||
Height = 1.33 | ||
Mass = 28.0 | ||
ColorPaletteSelect = Standard | ||
ColorFace = 0.847 0.615 0.447 1.0 | ||
ColorHair = 0.932 0.938 0.548 1.0 | ||
ColorTorso = 0.900 0.900 0.900 1.0 | ||
ColorHips = 0.951 0.670 0.969 1.0 | ||
ColorLegs = 0.847 0.615 0.447 1.0 | ||
ColorFeet = 0.951 0.670 0.969 1.0 | ||
ColorArms = 0.847 0.615 0.447 1.0 | ||
ColorHands = 0.847 0.615 0.447 1.0 | ||
|
||
# A 10 years old black boy | ||
PresetAdd = boy_1 | ||
Height = 1.33 | ||
Mass = 28.0 | ||
ColorPaletteSelect = Standard | ||
ColorFace = 0.304 0.206 0.206 1.0 | ||
ColorHair = 0.123 0.123 0.123 1.0 | ||
ColorTorso = 1.000 0.554 0.000 1.0 | ||
ColorHips = 0.194 0.369 0.723 1.0 | ||
ColorLegs = 0.194 0.369 0.723 1.0 | ||
ColorFeet = 0.900 0.900 0.900 1.0 | ||
ColorArms = 1.000 0.554 0.000 1.0 | ||
ColorHands = 0.304 0.206 0.206 1.0 | ||
|
||
# A black woman | ||
PresetAdd = woman_1 | ||
Height = 1.70 | ||
Mass = 60.0 | ||
Gender = Female | ||
ColorPaletteSelect = Standard | ||
ColorFace = 0.304 0.206 0.206 1.0 | ||
ColorHair = 0.123 0.123 0.123 1.0 | ||
ColorTorso = 0.900 0.900 0.900 1.0 | ||
ColorHips = 0.900 0.900 0.900 1.0 | ||
ColorLegs = 0.900 0.900 0.900 1.0 | ||
ColorFeet = 0.950 0.220 0.180 1.0 | ||
ColorArms = 0.304 0.206 0.206 1.0 | ||
ColorHands = 0.304 0.206 0.206 1.0 | ||
|
||
# A white woman | ||
PresetAdd = woman_2 | ||
Height = 1.65 | ||
Mass = 56.0 | ||
Gender = Female | ||
ColorPaletteSelect = Standard | ||
ColorFace = 0.847 0.615 0.447 1.0 | ||
ColorHair = 0.919 0.292 0.191 1.0 | ||
ColorTorso = 0.335 0.198 0.210 1.0 | ||
ColorHips = 0.335 0.198 0.210 1.0 | ||
ColorLegs = 0.847 0.615 0.447 1.0 | ||
ColorFeet = 0.335 0.198 0.210 1.0 | ||
ColorArms = 0.847 0.615 0.447 1.0 | ||
ColorHands = 0.847 0.615 0.447 1.0 | ||
|
||
# A white baby | ||
PresetAdd = baby_1 | ||
Height = 0.50 | ||
Mass = 7.0 | ||
ColorPaletteSelect = Standard | ||
ColorFace = 0.980 0.820 0.733 1.0 | ||
ColorHair = 0.304 0.206 0.206 1.0 | ||
ColorTorso = 0.460 0.773 0.796 1.0 | ||
ColorHips = 0.460 0.773 0.796 1.0 | ||
ColorLegs = 0.460 0.773 0.796 1.0 | ||
ColorFeet = 0.980 0.820 0.733 1.0 | ||
ColorArms = 0.460 0.773 0.796 1.0 | ||
ColorHands = 0.980 0.820 0.733 1.0 | ||
|
||
# A fat boy with a turquoise cap and yellow gloves | ||
PresetAdd = Boy_2 | ||
Height = 1.20 | ||
Mass = 60.0 | ||
ColorPaletteSelect = Standard | ||
ColorFace = 0.992 0.859 0.706 1.0 | ||
ColorHair = 0.294 0.710 0.749 1.0 | ||
ColorTorso = 0.843 0.125 0.250 1.0 | ||
ColorHips = 0.843 0.125 0.250 1.0 | ||
ColorLegs = 0.470 0.278 0.227 1.0 | ||
ColorFeet = 0.192 0.188 0.208 1.0 | ||
ColorArms = 0.843 0.125 0.250 1.0 | ||
ColorHands = 0.969 0.882 0.039 1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.