|
@@ -495,6 +495,17 @@ def endpoint(funct, motion, dict, cont):
|
495
|
495
|
b -= .1
|
496
|
496
|
dict['cam_max'] = round(b,2)
|
497
|
497
|
|
|
498
|
+ if funct == 'target height':
|
|
499
|
+ b = dict['cch_targetHeight']
|
|
500
|
+ if motion == 'inc':
|
|
501
|
+ b += .05
|
|
502
|
+ else:
|
|
503
|
+ b -= .05
|
|
504
|
+ dict['cch_targetHeight'] = round(b,3)
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+#cch_targetHeight
|
|
508
|
+
|
498
|
509
|
if funct == 'recorder on':
|
499
|
510
|
if motion == 'inc':
|
500
|
511
|
cam['recorder_on'] = 1
|
|
@@ -708,7 +719,7 @@ def get_c_list(dict):
|
708
|
719
|
if dict['mlevel'] == 2:
|
709
|
720
|
if dict['lv1_opt'] == 'camera':
|
710
|
721
|
#if opt == 'settings':
|
711
|
|
- dict['current_list'] = ['cam height', 'focal length', 'min dist', 'max dist']
|
|
722
|
+ dict['current_list'] = ['cam height', 'focal length', 'min dist', 'max dist', 'target height']
|
712
|
723
|
|
713
|
724
|
|
714
|
725
|
if dict['mlevel'] == 3:
|
|
@@ -854,7 +865,7 @@ def init(own, dict):
|
854
|
865
|
dict['mlevel'] = 0
|
855
|
866
|
dict['current_opt'] = ''
|
856
|
867
|
dict['pause_menu_text'] = ''
|
857
|
|
- dict['menu_end_points'] = ['exit', 'restart', 'shirt color r', 'shirt color g', 'shirt color b', 'shoe color r', 'shoe color g', 'shoe color b','deck color r', 'deck color g', 'deck color b', 'shirt logo', 'brightness / contrast on', 'brightness value', 'contrast value', 'hdr on', 'avgL', 'hdr strength', 'ao on', 'ao radius', 'ao width', 'ao only', 'dof on', 'sun strength', 'sun rot x', 'sun rot y', 'shadow on', 'ambient strength', 'Demo Scene', 'Empty Lot', 'Park A', 'Training', 'Spine', 'Warehouse', 'Shop', '1920x1080', '1280x720', '1024x768', '800x600', 'fullscreen', 'bloom on', 'cam height', 'focal length', 'min dist', 'max dist', 'enter replay', 'recorder on', 'record length', 'enter replay (press back button)', 'recorder on', 'record length (n/a)', 'physics', 'fxaa on', 'fxaa span max',] + player_list
|
|
868
|
+ dict['menu_end_points'] = ['exit', 'restart', 'shirt color r', 'shirt color g', 'shirt color b', 'shoe color r', 'shoe color g', 'shoe color b','deck color r', 'deck color g', 'deck color b', 'shirt logo', 'brightness / contrast on', 'brightness value', 'contrast value', 'hdr on', 'avgL', 'hdr strength', 'ao on', 'ao radius', 'ao width', 'ao only', 'dof on', 'sun strength', 'sun rot x', 'sun rot y', 'shadow on', 'ambient strength', 'Demo Scene', 'Empty Lot', 'Park A', 'Training', 'Spine', 'Warehouse', 'Shop', '1920x1080', '1280x720', '1024x768', '800x600', 'fullscreen', 'bloom on', 'cam height', 'focal length', 'min dist', 'max dist', 'enter replay', 'recorder on', 'record length', 'enter replay (press back button)', 'recorder on', 'record length (n/a)', 'physics', 'fxaa on', 'fxaa span max', 'target height'] + player_list
|
858
|
869
|
|
859
|
870
|
def output(dict):
|
860
|
871
|
try:
|
|
@@ -965,6 +976,8 @@ def output(dict):
|
965
|
976
|
outp = outp + '(2.4): ' + str(dict['cam_max'])
|
966
|
977
|
if dict['current_opt'] == 'recorder on':
|
967
|
978
|
outp = outp + ': ' + str(dict['recorder_on'])
|
|
979
|
+ if dict['current_opt'] == 'target height':
|
|
980
|
+ outp = outp + ': ' + str(dict['cch_targetHeight'])
|
968
|
981
|
# if dict['current_opt'] == 'character':
|
969
|
982
|
# outp = outp + ': ' + str(dict['character'])
|
970
|
983
|
|