Skip to content

Commit

Permalink
Update to have new features so maps look 1:1
Browse files Browse the repository at this point in the history
  • Loading branch information
VermilionReaper committed Sep 6, 2022
1 parent 4b2a600 commit fceb386
Show file tree
Hide file tree
Showing 3 changed files with 107 additions and 35 deletions.
@@ -1,20 +1,17 @@
//_createart generated. modify at your own risk. Changing values should be fine.

main()
{

level.tweakfile = true;

// *Fog section*

setdvar("scr_fog_exp_halfplane", "1763.99");
setdvar("scr_fog_exp_halfheight", "541.494");
setdvar("scr_fog_nearplane", "814.911");
setdvar("scr_fog_red", "0.5");
setdvar("scr_fog_green", "0.5");
setdvar("scr_fog_blue", "0.55");
setdvar("scr_fog_baseheight", "-451.652");

SetDvar("visionstore_glowTweakEnable", "0");

setdvar("scr_fog_exp_halfplane", "3759.28");
setdvar("scr_fog_exp_halfheight", "243.735");
setdvar("scr_fog_nearplane", "601.593");
setdvar("scr_fog_red", "0.806694");
setdvar("scr_fog_green", "0.962521");
setdvar("scr_fog_blue", "0.9624");
setdvar("scr_fog_baseheight", "-475.268");
setdvar("visionstore_glowTweakEnable", "0");
setdvar("visionstore_glowTweakRadius0", "5");
setdvar("visionstore_glowTweakRadius1", "");
setdvar("visionstore_glowTweakBloomCutoff", "0.5");
Expand All @@ -23,26 +20,32 @@ main()
setdvar("visionstore_glowTweakBloomIntensity1", "");
setdvar("visionstore_glowTweakSkyBleedIntensity0", "");
setdvar("visionstore_glowTweakSkyBleedIntensity1", "");

//* Fog section *
level thread fog_settings();

//VisionSetNaked("cheat_bw", 0);
}

fog_settings()
{
start_dist = 440;
halfway_dist = 3200;
halfway_height = 225;
base_height = 64;
red = 0.533;
green = 0.717;
blue = 1;
trans_time = 0;

SetVolFog( start_dist, halfway_dist, halfway_height, base_height, red, green, blue, trans_time );
}



start_dist = 874.792;
half_dist = 2740;
half_height = 364.404;
base_height = 125.986;
fog_r = 0.776471;
fog_g = 0.588235;
fog_b = 0.47451;
fog_scale = 5.68252;
sun_col_r = 0.803922;
sun_col_g = 0.717647;
sun_col_b = 0.6;
sun_dir_x = -0.432962;
sun_dir_y = -0.395847;
sun_dir_z = 0.809845;
sun_start_ang = 0;
sun_stop_ang = 110.184;
time = 0;
max_fog_opacity = 1;
setVolFog(start_dist, half_dist, half_height, base_height, fog_r, fog_g, fog_b, fog_scale,
sun_col_r, sun_col_g, sun_col_b, sun_dir_x, sun_dir_y, sun_dir_z, sun_start_ang,
sun_stop_ang, time, max_fog_opacity);
VisionSetNaked( "template", 1 );
SetDvar( "r_lightGridEnableTweaks", 1 );
SetDvar( "r_lightGridIntensity", 1.25 );
SetDvar( "r_lightGridContrast", .18 );
}


68 changes: 68 additions & 0 deletions bin/Launcher/map_templates/Zombiemode/raw/vision/template.vision
@@ -0,0 +1,68 @@

r_filmEnable "1"

r_sCurveEnable "1"

r_reviveFX_Enable "0"


r_filmMidStart "0.410500"
r_filmMidEnd "0.680625"
r_filmDarkFeather "0.500000"
r_filmLightFeather "0.500000"
r_filmColorTemp "6499.5029 6499.5029 6499.5029"
r_filmSaturation "0.9298 0.8351 0.7088"
r_filmDarkTint "1.0313 1.0313 1.0313"
r_filmMidTint "1.0101 1.0101 0.9366"
r_filmLightTint "0.9996 0.9996 1.0101"
r_filmBleach "0.0000 0.0000 0.0000"
r_filmContrast "1.0000 1.0000 1.0000"

r_sCurveShoulderStrength "0.100000"
r_sCurveLinearStrength "0.500000"
r_sCurveLinearAngle "0.125000"
r_sCurveToeStrength "0.109985"
r_sCurveToeNumerator "0.010000"
r_sCurveToeDenominator "0.574988"

r_bloomTintWeights "0.2500 0.2500 0.2500 0.0000"
r_bloomColorScale "0.1404 0.1404 0.1404 0.0000"
r_bloomTintScale "0.0000 0.0000 0.0000 1.0000"
r_bloomCurveBreakpoint "0.6386 0.6386 0.6386 1.0000"
r_bloomCurveLoGamma "0.2042 0.2042 0.2042 1.0000"
r_bloomCurveHiGamma "1.0000 1.0000 1.0000 1.0000"
r_bloomExpansionControl "0.4947 0.5000 0.4979 0.1032"
r_bloomExpansionWeights "0.2484 0.3211 0.2768 0.1000"
r_bloomExpansionSource "1.000000"
r_bloomBlurRadius "1.750000"
r_bloomPersistence "0.000000"

r_primaryLightUseTweaks "1.000000"
r_primaryLightTweakDiffuseStrength "2.982500"
r_primaryLightTweakSpecularStrength "1.500000"


r_bloomCurveLoBlack "0.1000 0.1000 0.1000 0.1000"
r_bloomCurveLoWhite "1.0000 1.0000 1.0000 1.0000"
r_bloomCurveLoRemapBlack "0.1000 0.1000 0.1000 0.1000"
r_bloomCurveLoRemapWhite "1.0000 1.0000 1.0000 1.0000"
r_bloomCurveHiBlack "0.1000 0.1000 0.1000 0.1000"
r_bloomCurveHiWhite "1.0000 1.0000 1.0000 1.0000"
r_bloomCurveHiRemapBlack "0.1000 0.1000 0.1000 0.1000"
r_bloomCurveHiRemapWhite "1.0000 1.0000 1.0000 1.0000"
r_filmHue "0.0000 0.0000 0.0000"

r_bloomStreakXLevels0 "0.3300 0.3300 0.3300 1.0000"
r_bloomStreakXLevels1 "0.0000 1.0000 0.0000 1.0000"
r_bloomStreakXInnerTint "1.0000 1.0000 1.0000"
r_bloomStreakXOuterTint "1.0000 1.0000 1.0000"
r_bloomStreakXTintControl "0.3300 0.3300 0.3300 1.0000"
r_bloomStreakXTint "0.0000 0.0000 0.0000"

r_bloomStreakYLevels0 "0.0211 0.0211 0.0211 1.0000"
r_bloomStreakYLevels1 "0.0000 1.0000 0.0000 1.0000"
r_bloomStreakYInnerTint "1.0000 1.0000 1.0000"
r_bloomStreakYOuterTint "1.0000 1.0000 1.0000"
r_bloomStreakYTintControl "0.3300 0.3300 0.3300 1.0000"
r_bloomStreakYTint "0.2176 0.0561 0.0000"

Expand Up @@ -100,6 +100,7 @@ fx,maps/zombie/fx_zombie_dog_lightning_buildup
fx,env/electrical/fx_elec_wire_spark_burst

// Fog, Sky, and vision
rawfile,maps/createart/template_art.gsc
rawfile,vision/template.vision
rawfile,vision/zombie_sumpf_dogs.vision

Expand Down

0 comments on commit fceb386

Please sign in to comment.