Somebody has any idea to which file these commands write to ? Didn't see any output when I place them in a vehicle javascript and try to write something into the (which?) "log". Do i need to enable something specific in eng.cfg ?
When I set loglevel = "debug" I in eng.cfg I get additional info in eng.log for instance on mouse presses , soundfile plays etc..but not any text that i tried to write with this.log_dbg or this.log_inf.
this.log_dbg("text" + data );
this.log_inf("text"+ data );
below are my eng.cfg settings
num_jobproc_threads = 1,
renderer_config = {
screen_width = 2560,
screen_height = 1080,
fullscreen = true,
swap_interval = 1,
msaa = 1,
debug_opengl = false,
debug_async = true,
refresh_rate = 60,
disable_composition = false
},
videos_dir = "I:/outerra-videos\videos",
screenshots_dir = "C:/Users/novelchip/Outerra\screenshots",
terrain_shadows = true,
tree_shadows = true,
wnd_x_pos = 0,
wnd_y_pos = 0,
wnd_hide_titlebar = true,
mouse_exclusive = false,
sim_mode = false,
fov = 82.5,
fov_v_separate = 0.0,
proj = 0,
enable_hid_logging = false,
enable_jsbsim_logging = false,
mouse_sensitivity = 1.0,
joy_sensitivity = 1.0,
mouse_invert = false,
flightmode_invert = true,
pause_in_sandbox = true,
debug_keys = true,
cfg-version = 9891,
bloom_power = 0.03,
bloom_threshold = 1.0,
min_obj_size = 2.8,
sound = {
global = 1.0,
ambient = 1.0,
vehicle = 0.11,
effect = 0.31,
music = 0.18,
hrtf = true
},
use_hmd = true,
video = 1,
ssao_quality = 2,
shadow_quality = 2,
stereo = {
eye_separation = 0.064,
convergence = 0.1,
reduce_grass = false,
force_hrtf = true,
stereo_type = 0,
swap_sides = false
},
controller = {
pan_min_angle = {
x = -1.570796,
y = -0.785398
},
pan_max_angle = {
x = 1.570796,
y = 0.785398
},
panning_speed = {
x = 0.01,
y = 0.01
},
view_min_angle = {
x = -1.570796,
y = -0.785398
},
view_max_angle = {
x = 1.570796,
y = 0.785398
},
view_delay = 0.1,
fm_roll_coef = 0.4,
fm_turn_coef = 1.25,
fm_turn_delay = 4.0,
fm_filter_delay = 0.5,
um_filter_delay = 0.02,
hmd_turn_coef = 1.0,
hmd_pitch_coef = 0.2
},
perf_report = {
enabled = false,
sync = false,
ui = 5.0,
scene = 5.0,
world = 5.0,
ext = 5.0,
rungc = 0
},
pkg_limits = {
max_meshes = 2
},
disable_log_popup = false,
img_cache_slice_size = 2048,
img_cache_num_slices = 2,
loglevel = "info"