-
Notifications
You must be signed in to change notification settings - Fork 37
Weather overlays
KylianB edited this page Feb 26, 2022
·
3 revisions
With VEF you can make new weathers with new custom weather overlays. For example, to add an acidic yellow rain or to add a new fog with a new texture. Example of usage:
<WeatherDef>
<defName>RG_Monsoon</defName>
<label>monsoon</label>
...
<overlayClasses>
<li>VFECore.WeatherOverlay_Custom</li> <!-- overlay class, responsible for drawing overlay. Takes values from VFECore.WeatherOverlayExtension mod extension -->
<!--<li>VFECore.WeatherOverlay_CustomTwo</li> --> <!-- optional overlay, used only if you want more than one overlay. Takes values from VFECore.WeatherOverlayExtensionTwo mod extension -->
</overlayClasses>
...
<modExtensions>
<li Class="VFECore.WeatherOverlayExtension">
<overlayPath>Weather/CloudyWorldOverlay</overlayPath> <!-- path to the texture to be used as an overlay -->
<copyPropertiesFrom>Weather/FogOverlayWorld</copyPropertiesFrom> <!-- the shader properties will be used from this shader -->
<!-- You can use following shaders:
Weather/FogOverlayWorld - to emulate a fog
Weather/SnowOverlayWorld - to emulate a snow
Weather/RainOverlayWorld - to emulate a rain -->
<worldPanDir1>(1, 1)</worldPanDir1> <!-- first direction to pan into -->
<worldOverlayPanSpeed1>0.0005</worldOverlayPanSpeed1> <!-- speed of the first direction pan -->
<worldPanDir2>(1, -1)</worldPanDir2> <!-- second direction to pan into -->
<worldOverlayPanSpeed2>0.0004</worldOverlayPanSpeed2> <!-- speed of the second direction pan -->
</li>
<!-- optional extension, used only if you have ReGrowthCore.WeatherOverlay_CustomTwo overlay class in the def
<li Class="VFECore.WeatherOverlayExtensionTwo">
<overlayPath>Weather/MonsoonWorldOverlay</overlayPath>
<copyPropertiesFrom>Weather/RainOverlayWorld</copyPropertiesFrom>
<worldOverlayPanSpeed1>0.015</worldOverlayPanSpeed1>
<worldPanDir1>(-0.25, -1)</worldPanDir1>
<worldOverlayPanSpeed2>0.022</worldOverlayPanSpeed2>
<worldPanDir2>(-0.24, -1)</worldPanDir2>
</li>-->
</modExtensions>
</WeatherDef>
- QuestNode_GetFaction
- Expandable projectiles
- Faction Def Extension
- Toggable patches
- Recipes Inheritance
- Adding new backstories
- Spawning things on new generated maps
- ThoughtExtensions
- WeatherLetterExtensions
- WeatherOverlayExtension
- WeatherEffectsExtension
- ThingDefExtension
- Stuff commonality extension
- Biome extension
- PipeSystem basics
- Resource
- Resource storage
- Resource processor
- Resource to thing
- Resource to power
- Thing to resource
- Resource trader
- Refill building with pipes
- Pipe valve
- Update to KCSG 2.0
- Exporting buildings
- Customizing symbols
- Debug helpers options
- Custom faction settlement
- Custom structure and scenarios
- Custom structure in quests
- Custom structure in WorldObjects
- Biome based structures
- Spawning world object(s) at world generation
- Prevent settlement spawning for nomadic factions
- Animal Behaviours Basics
-
Animal Behaviours Comp Classes
- Acid Attacks and Acid Immunity
- Animal Resources
- Animal Resources On Caravan
- Apply Hediff When Bound
- Asexual Reproduction
- Auto Nutrition
- Blink
- Build Periodically
- Cause Incident
- Change Def if Not Unique
- Change Weather
- Corpse Decayer
- Destroy This Item
- Die After Period
- Die And Change Into Another Def
- Dig Periodically
- Dig When Hungry
- Disease Event Immunity
- Disease Immunity
- Diseases After Period
- Doesn't flee
- Draftability
- Drop on Death
- Eat Weird Food
- Electrified
- Enrage Other Pawns
- Exploding Hatcher
- Extreme Xenophobia
- Fertilizer
- Filth Producer
- Fixed Gender
- Floating
- Gas Producer
- Give Thoughts On Caravan
- Graphic by Style
- Graphic by Terrain
- Hediff Effecter
- Hediff When Fleeing
- Highly Flammable
- Infecter
- Initial Ability
- Initial Hediff
- Initial Mental State
- Last Stand
- Light Sustenance
- Metamorphosis
- Mind Effecter
- Nearby Effecter
- No Taming Decay
- Passive Regenerator
- Pawn Overlay
- Produces no filth
- Refueling
- Regeneration
- State After Health Loss
- Summon On Spawn
- Swallow Whole
- Thought Effecter
- Untameable
- Animal Behaviours Hediff Comp Classes
- Animal Behaviours Damage Workers
- Animal Behaviours Def Extensions
- Animal Behaviours Extra Defs
- Animal Behaviours Misc