Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some Questions #79

Closed
ThatonePanMan opened this issue Feb 22, 2024 · 5 comments
Closed

Some Questions #79

ThatonePanMan opened this issue Feb 22, 2024 · 5 comments

Comments

@ThatonePanMan
Copy link

Since there's no documentation yet for anything, some parts still confuse me

  1. How does the Enemy Spawn Chance Throughout Day work? I get it's a curve and it increases as the day progresses, but what do the values mean? Is 1 on the horizontal axis the end of the day or is it 1 hour into a day?

  2. Same goes for Outside Enemy Spawn Chance Through Day? Where on the graph is 3:00 pm like normal moons?

  3. How to the spawn graphs for Turrets and Landmines work? Is it distance from the entrance?

  4. How do Flashlight scraps work? What do I need to put in stuff like Flashlight Bulb and Flashlight Bulb Glow? What about Flashlight Mesh? What does Flashlight Type ID mean? What is Flashlight Interference Level for?

@ThatonePanMan
Copy link
Author

Also, tweaking the sky and fog global volume doesn't seem to change anything
the sky is grey instead of a custom cubemap I placed in and clouds are still there despite being disabled on volume

@HolographicWings
Copy link
Owner

Since there's no documentation yet for anything, some parts still confuse me

  1. How does the Enemy Spawn Chance Throughout Day work? I get it's a curve and it increases as the day progresses, but what do the values mean? Is 1 on the horizontal axis the end of the day or is it 1 hour into a day?
  2. Same goes for Outside Enemy Spawn Chance Through Day? Where on the graph is 3:00 pm like normal moons?
  3. How to the spawn graphs for Turrets and Landmines work? Is it distance from the entrance?
  4. How do Flashlight scraps work? What do I need to put in stuff like Flashlight Bulb and Flashlight Bulb Glow? What about Flashlight Mesh? What does Flashlight Type ID mean? What is Flashlight Interference Level for?

about the curves i fear i can't help you a much, the SDK simply port the curves to the vanilla classes, i myself barely understand how they act
the day is counted on a value from 0 to 1

same about flashlight, it's just porting fields
the bulbs are the light components of the flashlight, they are toggled
in the vanilla flashlights, the mesh is be the mesh renderer of the flashlight itself but i don't know if theres any point to define it
and i don't have any idea about what is the ID
Interference may be flickering

for the volume, it's because you try to edit the volume that is in the Lethal Expansion module
so, in the LethalExpansion.lem file, so ofc you can't modify it
you must put your own volume profile in your module folder to customize it

@ThatonePanMan
Copy link
Author

ThatonePanMan commented Feb 23, 2024

ok, well at least knowing the day is on a value of 0 to 1 helps a lot

I figured that editing the volume in the scene would work, so do I have to make a prefab of the volume from the scene to my mod's folder or do I have to copy the files from the lethalexpansion folder to my mod's folder and reimport the volume to the scene?

@HolographicWings
Copy link
Owner

Not especially a prefab
Use a prefab from the LethalExpansion module makes it auto update in your map
If you use your own volume you don't need a prefab
Except if you use another module as dependency and this prefab is in this dependency

@ThatonePanMan
Copy link
Author

Solved it by just grabbing the Volume Profile file that was attached to the gameobject and moving it from the LethalExpansion folder to my mod's folder

Also, for future reference for anyone who has a similar confusion with how the enemy spawning curves correlate to time, here's a handy little bit of math I did to figure out what horizontal value correlates to each in game hour
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants