-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[rtx] refactor map settings (sun spawning, manual culling override)
- add commandline arg `no_sun` (disable sun spawning via map settings) - add console command `mapsettings_get_defaults` (prints default map sun-settings in to the console)
- Loading branch information
Showing
8 changed files
with
298 additions
and
89 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,25 +1,35 @@ | ||
// (0) mapname | ||
// (1) skybox to use (rtx_gui::skysphere_get_name_for_variant) | ||
// (2) distance at which fog reaches max value (can NOT be lower then 700) | ||
// (3-4-5) r , g , b (0-255) | ||
mp_backlot, 5, 4000, 240,200,200 | ||
mp_bloc, 4, 8000, 200,200,200 | ||
mp_bog, 3, 5000, 135, 81, 60 | ||
mp_broadcast, 5, 8000, 200,200,200 | ||
mp_carentan, 3, 4000, 180,160,220 | ||
mp_cargoship, 3, 4000, 80, 120,160 | ||
mp_citystreets, 5, 8000, 200,200,200 | ||
mp_convoy, 0, 1600, 200,190,180 | ||
mp_countdown, 5, 15000, 180,180,200 | ||
mp_crash, 5, 5000, 200,200,160 | ||
mp_crash_snow, 3, 4500, 200,200,240 | ||
mp_creek, 0, 8000, 200,200,200 | ||
mp_crossfire, 5, 5000, 200,200,200 | ||
mp_farm, 4, 1800, 150,200,220 | ||
mp_killhouse, 5, 8000, 210,200,205 | ||
mp_overgrown, 0, 8000, 200,200,200 | ||
mp_pipeline, 5, 8000, 200,200,200 | ||
mp_shipment, 4, 8000, 200,200,200 | ||
mp_showdown, 5, 8000, 200,200,200 | ||
mp_strike, 5, 4000, 200,200,200 | ||
mp_vacant, 0, 8000, 200,200,200 | ||
// (0) : mapname | ||
// (1) : fog dist : distance at which fog reaches max value (can NOT be lower then 700) | ||
// (2-3-4) : fog color : r , g , b (0-255) | ||
// (5-6-7) : sun dir : x , y , z (angles of directional light [x=x] [y=-y+5] [z=z-45] .... x=(z=-45) y=y-5 z=x) | ||
// (8-9-10) : sun color : r , g , b (0-255) | ||
// (11) : sun intensity : color intensity scalar | ||
// (12) : sky : sky index (0-8) | ||
// | ||
// mapname fog dist fog color sun direction sun color sun intensity sky | ||
// ------------------------------------------------------------------------------------------------------------------ | ||
mp_backlot, 4000, 240,200,200, -0.657,-0.308,-0.688, 255.0,234.6,224.4, 1.30, 5 | ||
mp_bloc, 8000, 200,200,200, 0.321,-0.383,-0.866, 229.5,249.9,255.0, 0.90, 4 | ||
mp_bog, 5000, 135, 81, 60, 0.362,0.853,-0.375, 228.2,241.6,255.0, 0.80, 3 | ||
mp_broadcast, 8000, 200,200,200, -0.163,-0.925,-0.342, 255.0,216.8,170.9, 1.40, 5 | ||
mp_carentan, 4000, 180,160,220, -0.855,-0.060,-0.515, 204.0,229.5,255.0, 0.75, 3 | ||
mp_cargoship, 4000, 80, 120,160, -0.641,0.641,-0.423, 127.5,153.0,255.0, 1.30, 7 | ||
mp_citystreets, 8000, 200,200,200, 0.048,-0.388,-0.921, 255.0,234.6,224.4, 0.78, 5 | ||
mp_convoy, 1600, 200,190,180, -0.814,-0.296,-0.500, 255.0,228.0,159.0, 1.60, 5 | ||
mp_countdown, 15000, 180,180,200, -0.866,-0.000,-0.500, 255.0,204.0,153.0, 1.50, 5 | ||
mp_crash, 5000, 200,200,160, 0.321,0.557,-0.766, 255.0,234.6,224.4, 1.30, 5 | ||
mp_crash_snow, 4500, 200,200,240, 0.321,-0.383,-0.866, 165.8,178.5,255.0, 0.25, 3 | ||
mp_creek, 8000, 200,200,200, 0.685,0.367,-0.814, 254.6,255.0,249.0, 1.80, 0 | ||
mp_crossfire, 5000, 200,200,200, 0.462,-0.447,-0.766, 255.0,234.6,224.4, 1.00, 5 | ||
mp_farm, 1800, 150,200,220, 0.542,0.542,-0.643, 229.5,249.9,255.0, 1.00, 4 | ||
mp_killhouse, 8000, 210,200,205, -0.262,0.720,-0.643, 255.0,242.2,204.0, 1.50, 5 | ||
mp_overgrown, 20000, 200,200,200, -0.407,0.734,-0.545, 255.0,245.9,176.1, 1.10, 4 | ||
mp_pipeline, 8000, 200,200,200, 0.551,0.462,-0.695, 229.5,249.9,255.0, 1.15, 5 | ||
mp_shipment, 8000, 200,200,200, -0.455,-0.572,-0.682, 255.0,255.0,242.2, 1.30, 4 | ||
mp_showdown, 8000, 200,200,200, 0.389,-0.739,-0.550, 255.0,228.0,159.0, 1.60, 5 | ||
mp_strike, 4000, 200,200,200, 0.572,0.416,-0.707, 255.0,239.7,204.0, 1.00, 5 | ||
mp_vacant, 8000, 200,200,200, -0.641,-0.299,-0.707, 255.0,245.9,176.1, 1.30, 0 | ||
mp_mw3_hardhat, 2600, 200,200,200, 0.406,0.406,-0.819, 254.6,255.0,249.0, 1.50, 5 | ||
|
||
#CULL // [X: CELL to tweak](indices of cells always rendered when in X) -> display cell indices using dvar 'r_showCellIndex' | ||
mp_backlot, [1](0 2), [2](1), [3](0), [4](0), [7](0 6 9 10), [9](0 10), [10](0), [11](0), [12](0), [14](0 11 16), [34](0 22 32) |
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.