#75 merge new configobj settings

Merged
shuvit merged 11 commits from shuvit:configobj_config_file into dev 5 years ago
shuvit commented 5 years ago
There is no content yet.
shuvit commented 5 years ago
Owner

current config.ini looking like this:

#shuvit settings configuration file

#debug
######

#show framerate
framerate = 0
#show profile
profile = 0
#----------

#resolution
###########

resx = 1920
resy = 1080
fullscreen_on = 1
music_player = 1
#----------

#level
######
level = lot
#------------

#replay recorder
###############

recorder_on = 1
#--------------

#camera 
#######
cam_height = -0.4
focal_length = 10
cam_min = 1.4
cam_max = 2.0
cch_targetHeight = 0.5


#character settings
###################

character = ralph

shirt_logo = 1

shirt_color_r = 0.52
shirt_color_g = 0.35
shirt_color_b = 0.0

shoe_color_r = 0.23
shoe_color_g = 0
shoe_color_b = 0
#-----------------

#deck settings
##############
deck_index = 9
deck_color_r = 0.64
deck_color_g = 0.03
deck_color_b = 0.03
trucks_r = 1.0
trucks_g = 1.0
trucks_b = 1.0

wheel1_r = 1.0
wheel1_g = 1.0
wheel1_b = 1.0
wheel2_r = 1.0
wheel2_g = 1.0
wheel2_b = 1.0
wheel3_r = 1.0
wheel3_g = 1.0
wheel3_b = 1.0
wheel4_r = 1.0
wheel4_g = 1.0
wheel4_b = 1.0
#-------------------

#2d filter settings
###################

#brightness / contrast
bc = 1
BC_BRIGHTNESS = 1.3
BC_CONTRAST = 1.0

#HDR
hdr = 1
avgL = 0.7
HDRamount = 0.65

#Ambient Occlusion
ao = 1
onlyAO = 0
aowidth = 1.0
aoradius = 16

#Depth of Field
dof_on = 1

#Bloom
bloom_on = 1

#FXAA
fxaa = 1
FXAA_SPAN_MAX = 8.0
#-------------------

#sun settings
#############
sun_strength = 0.9
ambient_strength = 0.25
sun_rot_x = 0.05
sun_rot_y = -0.05
shadow_on = 0
#------------

#physics
########
JUMPHEIGHT = 800
MAX_VEL = 6.7
SPEEDUP = .055
SPEEDPUMP = .14 #.09
SPEEDPUMPFAST = .16 #.13
PUMP_SPEED_SENS = .4
PUMP_SENS = .98
ACCEL = 10
CRUISE = 9
COUNTDOWN = 20 #pump and speed stuff
pump_downforce = -.1

man_sens_l = .03
man_sens_r = .08
man_sens_side = 0.035
turn_rotation = 0.2
turn_addx = .004
turn_air_rotation = 0.07
grass_mult = 0.98
ylimt = 0.84
antibounce = -10.0
current config.ini looking like this: ``` #shuvit settings configuration file #debug ###### #show framerate framerate = 0 #show profile profile = 0 #---------- #resolution ########### resx = 1920 resy = 1080 fullscreen_on = 1 music_player = 1 #---------- #level ###### level = lot #------------ #replay recorder ############### recorder_on = 1 #-------------- #camera ####### cam_height = -0.4 focal_length = 10 cam_min = 1.4 cam_max = 2.0 cch_targetHeight = 0.5 #character settings ################### character = ralph shirt_logo = 1 shirt_color_r = 0.52 shirt_color_g = 0.35 shirt_color_b = 0.0 shoe_color_r = 0.23 shoe_color_g = 0 shoe_color_b = 0 #----------------- #deck settings ############## deck_index = 9 deck_color_r = 0.64 deck_color_g = 0.03 deck_color_b = 0.03 trucks_r = 1.0 trucks_g = 1.0 trucks_b = 1.0 wheel1_r = 1.0 wheel1_g = 1.0 wheel1_b = 1.0 wheel2_r = 1.0 wheel2_g = 1.0 wheel2_b = 1.0 wheel3_r = 1.0 wheel3_g = 1.0 wheel3_b = 1.0 wheel4_r = 1.0 wheel4_g = 1.0 wheel4_b = 1.0 #------------------- #2d filter settings ################### #brightness / contrast bc = 1 BC_BRIGHTNESS = 1.3 BC_CONTRAST = 1.0 #HDR hdr = 1 avgL = 0.7 HDRamount = 0.65 #Ambient Occlusion ao = 1 onlyAO = 0 aowidth = 1.0 aoradius = 16 #Depth of Field dof_on = 1 #Bloom bloom_on = 1 #FXAA fxaa = 1 FXAA_SPAN_MAX = 8.0 #------------------- #sun settings ############# sun_strength = 0.9 ambient_strength = 0.25 sun_rot_x = 0.05 sun_rot_y = -0.05 shadow_on = 0 #------------ #physics ######## JUMPHEIGHT = 800 MAX_VEL = 6.7 SPEEDUP = .055 SPEEDPUMP = .14 #.09 SPEEDPUMPFAST = .16 #.13 PUMP_SPEED_SENS = .4 PUMP_SENS = .98 ACCEL = 10 CRUISE = 9 COUNTDOWN = 20 #pump and speed stuff pump_downforce = -.1 man_sens_l = .03 man_sens_r = .08 man_sens_side = 0.035 turn_rotation = 0.2 turn_addx = .004 turn_air_rotation = 0.07 grass_mult = 0.98 ylimt = 0.84 antibounce = -10.0 ```
shuvit commented 5 years ago
Owner

may need a new blend file for this to work, at the very least it needs the sample config copied to the root dir and renamed.

may need a new blend file for this to work, at the very least it needs the sample config copied to the root dir and renamed.
The pull request has been merged.
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Due Date

No due date set.

Dependencies

This pull request currently doesn't have any dependencies.

Loading…
Cancel
Save
There is no content yet.