file Question about skyboxing

  • Xedron
  • Xedron's Avatar Topic Author
  • Offline
  • Professional Marbler
  • Professional Marbler
  • Level Speedrunner
  • Posts: 303
  • Thank you received: 294
27 Feb 2016 01:21 #1
Probably a nooby question. :P

How do you put different skyboxes into your level? Is it just with the .mis file or using the skybox ingame?

"cna you salt spalt the slevel salt of 6 year salt who ca salt the lsat" - nobody, 2017

Please Log in or Create an account to join the conversation.

  • Three
  • Three's Avatar
  • Offline
  • Lead Developer
  • Lead Developer
  • level designer
  • Posts: 468
  • Thank you received: 349
27 Feb 2016 01:38 - 27 Feb 2016 01:39 #2
When you open up your .mis file in Notepad, you should see something like this near the top. Search for "new Sky" if you can't find it.
Code:
new Sky(Sky) { position = "0 0 0"; rotation = "1 0 0 0"; scale = "1 1 1"; cloudHeightPer[0] = "0"; cloudHeightPer[1] = "0"; cloudHeightPer[2] = "0"; cloudSpeed1 = "0.0001"; cloudSpeed2 = "0.0002"; cloudSpeed3 = "0.0003"; visibleDistance = "500"; useSkyTextures = "1"; renderBottomTexture = "1"; SkySolidColor = "0.600000 0.600000 0.600000 1.000000"; fogDistance = "300"; fogColor = "0.600000 0.600000 0.600000 1.000000"; fogVolume1 = "-1 7.45949e-31 1.3684e-38"; fogVolume2 = "-1 1.07208e-14 8.756e-14"; fogVolume3 = "-1 5.1012e-10 2.05098e-08"; materialList = "~/data/skies/Intermediate/Intermediate_Sky.dml"; windVelocity = "1 0 0"; windEffectPrecipitation = "0"; noRenderBans = "1"; fogVolumeColor1 = "128.000000 128.000000 128.000000 0.000000"; fogVolumeColor2 = "128.000000 128.000000 128.000000 0.000004"; fogVolumeColor3 = "128.000000 128.000000 128.000000 14435505.000000"; };

Change the materialList to direct to a different .dml file. For instance:
Code:
materialList = "~/data/skies/Intermediate/Intermediate_Sky.dml";
becomes
Code:
materialList = "~/data/skies/Expert/Expert_Sky.dml";
if you want to use the Expert skybox.

Follow me on twitter at @threefolder
Last edit: 27 Feb 2016 01:39 by Three.
The following user(s) said Thank You: HiGuy, Xedron

Please Log in or Create an account to join the conversation.

Moderators: Doomblah
Time to create page: 1.367 seconds