Difference between revisions of "CustomLevelSettings"

From Superboss Games Wiki
Jump to navigation Jump to search
(added basic information about it as well as an example and list of functions. not all functions have explanations, if you know what they are please edit this page.)
 
(One intermediate revision by the same user not shown)
Line 44: Line 44:
 
'''CustomLevelSettings''' script as it appears in Unity's '''Inspector'''. Currently set to default settings.
 
'''CustomLevelSettings''' script as it appears in Unity's '''Inspector'''. Currently set to default settings.
  
 +
{{Template:IntruderMM Assets}}
 
[[Category: IntruderMM]]
 
[[Category: IntruderMM]]

Latest revision as of 12:51, 17 July 2019

Introduction

CustomLevelSettings is an IntruderMM Unity script that allows for the changing of various Intruder-related custom level options, such as fog color and density, skybox texture and ambient lighting.

History

Content

A full list of the options CustomLevelSettings provides can be found below.

  • Fog
    • Checkbox. If checked, fog will be enabled in the level as per the fog settings below.
  • Fog Color
    • Color picker. Determines the color of the fog if present in the level.
  • Fog Mode
    • Drop-down list. Determines the way fog fades in/out.
  • Fog Density
    • Value. Determines how dense the fog is.
  • Fog Start Distance
    • Value. Determines the distance at which the fog will begin to appear.
  • Fog End Distance
    • Value. Determines the distance at which the fog will stop fading.
  • Ambient Light
    • Color picker. Determines the color of the ambient lighting.
  • Skybox
    • Material. Determines the sky texture.
  • Halo Strength
    • Value. Todo.
  • Flare Strength
    • Value. Todo.
  • Flare Fade Speed
    • Value. Todo.
  • Light Probes
    • Lighting data. Determines the lighting of the level using lighting data baked in Unity.
  • Force Fog
    • Checkbox. If checked, fog will (attempt) to be forced on regardless of other settings.

Usage

CustomLevelSettings is purely a script component and does not need any visual representation or volume. To access custom level options, simply attach the script to an empty object and edit the options to your liking. Once loaded, the level should reflect the options chosen in your CustomLevelSettings script.

Example

https://i.imgur.com/qNWDDhU.png

CustomLevelSettings script as it appears in Unity's Inspector. Currently set to default settings.

IntruderMM Assets
Items Name
Prefabs BriefcaseProxy - CustomDoorProxy - DoorProxy - EquipmentManager - GlassProxy - GoalPointProxy - Keypad - Ladder - LockedObject - MortarProxy - Mover Parent - NoteProxy - ObserveCamProxy - Pickup - RandomGunPickup - RandomItemPickup - SecuritySetup - SlidingDoor - SpawnA - SpawnB - WaterLevel - WindProxy - ZipLine - Limits
Scripts ActivateActivator - Activator - AdvancedMaterial - AnimateColor - BriefcaseProxy (Script) - CustomDoorProxy - CustomLevelSettings - CustomMapSkins - DestructibleProxy - DoorProxy - EquipmentManager - GlassProxy - GoalPointProxy - GravityProxy - HideOnStart - IgnoreSticky - KeypadProxy - LayerProxy - LockedObject - MaterialManager - MortarProxy - Mover - NoteProxy - ObjectiveTabSettings - ObjectTagger - ObserveCamProxy - PickupProxy - PlayAudio - ReplaceAll - ResetProxy - ScrollingUVs - SecurityRoom - SecurityScreen - SetTagsAndLayers - SoundSettings - TimedObjectDestroyer - TuningProxy - WindProxy - World Screen Object - ZiplineProxy
Level/Maps Target - SniperRange - Demo