边缘世界 RimWorld

边缘世界 RimWorld

296 个评价
FirefliesTwo
2
26
2
2
2
   
奖励
收藏
已收藏
取消收藏
Mod, 1.5, 1.6
文件大小
发表于
更新日期
501.564 KB
2024 年 10 月 11 日 下午 1:54
6 月 11 日 下午 1:08
8 项改动说明 ( 查看 )

订阅以下载
FirefliesTwo

描述
Discord: steveo.o
steam: Scurvyez

EDIT: Reading is hard so here it is for everyone...... these fireflies are not pawns. They are just visual effects.
EDIT: Fine to add to existing saves! :)

A simple, yet... heart-warming revamp of my original mod which adds fireflies to the Rim (as pure visual effects using Unity's ParticleSystem). Will I be adding more visual effects such as butterflies, embers, falling leaves in autumn, etc.? No. This mod is about fireflies only. I might make a separate mod for more general ambient effects in the future though. I would recommend running Realistic Darkness alongside this mod for the best experience.

[ko-fi.com]

[github.com]





Example of fireflies in the Idyllic Meadows biome w/o Realistic Darkness.

Supported Biomes
  • [Core] BorealForest, Temperate Forest, Temperate Swamp, Tropical Rainforest, Tropical Swamp, Arid Shrubland, Desert, and Extreme Desert
  • [More Vanilla Biomes] Alpine Meadow, Cloud Forest, Coastal Dunes, Desert Oasis, Grasslands, and Marsh
  • [Alien Biomes (WIP)] Radiant Plains, Delirious Dunes, and Crystalline Flats
  • [Alpha Biomes] Feralisk Infested Jungle and Idyllic Meadows
  • [Biomes! Oasis] Chromatic Oasis

Fireflies spawn if...
  • the weather is clear
  • the outdoor temperature is above some threshold, 5C by default
  • the current season is not winter or permanent winter
  • ambient light from sun is less than 30% (so from around dusk til dawn)
  • additional log message pops if you chose a biome not supported


Example of fireflies in the Feralisk Infested Jungle biome w/o Realistic Darkness.

Jobs
  • pawns can periodically chase fireflies for fun, 75% base chance
    • will count towards joy/recreation as meditation
    • if caught, a jar with a firefly is added to the pawns' inventory
    • this jar can be installed/uninstalled like any other piece of furniture
  • pawns can also view captured fireflies in glass jars
    • will count towards joy/recreation as meditation

Thoughts
  • good (short-term) memory for being outside while fireflies are active
  • good (short-term) memory for catching a firefly while chasing them, 25% base chance
  • bad (short-term) memory for accidentally squishing a firefly, chance based on several factors

Buildings
  • glass jar w/ a single firefly inside
    • cannot be built
    • found and automatically added to a pawns' inventory if a pawn successfully catches a firefly during joy recreation


Example of the glass jars w/ a yellow firefly, and w/o Realistic Darkness.

Mod Authors
  • If you want to adjust the spawn rate, allowed temperature range, or chance to spawn in winter/permanent winter, just use a PatchOperation to target the biome of your choosing and ensure your patch loads after this mod OR directly insert the NightlySpawningExtension and it's values into your custom BiomeDef if you are making a biome of your own and want to add functionality from this mod if this mod is enabled.
  • Examples below of how to do each.

1. Patching into another mods' biome or one from core.
  • If the target biome already has the extension then use a PatchOperationReplace instead. Read the wiki[rimworldwiki.com] for more info on PatchOperations.


2. Directly adding conditional support for your own custom biome.



TweakValues
  • option to enable the mesh overlay drawer
  • MeshOverlayDrawer.DrawFireflySpawnMesh
  • shows the finalized Mesh where firefly particles are allowed to spawn from (used for debugging)
  • this will kill your FPS lol


Example mesh generation using the added TweakValue to see where firefly particles will be allowed to spawn.




FAQ...

Q1. Are these pawns like in the original mod?
A1. Nope. This mod uses Unity's particle system to generate and render the fireflies on the map. No more pesky lag because there are suddenly dozens or hundreds of actual pawns on the map. Just pleasant little particles being handled by the GPU for much better performance.

Q2. Does this mod have impacts on performance?
A1. Nope. Again, just happy little visual effects floating around.
热门讨论 查看全部(5)
4
11 月 1 日 下午 1:26
Red text appears during startup,Compatible with RegrowthCoreBiomes
DeleteC
2
4 月 13 日 上午 12:46
bug report: chasing fireflies as joy activity, causes ponds to freeze
Angry Canadian
0
9 月 27 日 下午 10:16
Getting Fireflies 2 working with Regrowth 2 :)
Bazalisk
130 条留言
Scurvyez  [作者] 10 月 13 日 下午 2:22 
@hoxise You're all good! Just make sure your code/mod uses the same license that mine does. ;)
hoxise 10 月 11 日 下午 9:01 
I like this firefly mod. so here's a temporary fix to make it compatible with Odyssey DLC and community mod. FirefliesTwo(Temp)
The DLL (from github) translated the text I wanted. Additionally, fireflies will no longer render when the world map is open (in my own gameplay or testing, I haven't seen them in outer space in the Odyssey DLC).
I'm sorry, temporary fix mod is unlisted state, if I have infringed upon the author's rights, I will remove it immediately.
Scurvyez  [作者] 10 月 11 日 上午 11:38 
@hoxise Of course! When I can get to the update I will do that. Thanks, it looks like a simple oversight on my end there. :D
Scurvyez  [作者] 10 月 11 日 上午 11:37 
@kyrambox None of my mods are abandoned. If you'd have read any of my last comments on my mods you'd have seen I simply don't have a PC at the moment. I'll be getting back to all my mods as soon as I can. Please don't just tell folks mods are abandoned when they aren't. -_-
hoxise 10 月 11 日 上午 8:08 
@kyrambox :steamfacepalm:
kyrambox 10 月 11 日 上午 7:55 
@hoxise This mod is abandoned, nobody will answer you...
hoxise 10 月 11 日 上午 7:50 
Can you provide a translation interface for the text [Contained firefly:{color}] under the method [CompInspectStringExtra]?
The God 9 月 28 日 上午 10:31 
You know they spawn in space, right? I'm 99% sure it's a bug and not the firefly type of bug
AusFox 9 月 24 日 下午 3:46 
Love this mod, really helps bring an environment to life! I'd love to see an expanded version that adds butterflies/dragonflies, or other bugs to my maps for pawns to catch, but until then I'll just continue being jealous that they get to watch glowbugs and I don't (irl)! =P
LordBeef21 9 月 16 日 下午 2:38 
Hi! Here is the error that occurs with Regrowth 2.0:

[FirefliesTwo - Start of stack trace]
Verse.PatchOperationAddModExtension(xpath="Defs/BiomeDef[defName="RG_TemperateGrassland"]"): Failed to find a node with the given xpath
[End of stack trace]
Source file: C:\Steam\steamapps\workshop\content\294100\3347026598\RegrowthCore\1.6\Patches\Patches_RegrowthCoreBiomes.xml

Temperate Grassland is not a thing now that Regrowth has updated to 1.6.