ithinkandicode / 20mtd-spritereplacer Goto Github PK
View Code? Open in Web Editor NEWBepInEx plugin to replace sprites (textures) in 20 Minutes Till Dawn [collab with Zeprus]
Home Page: https://nexusmods.com/20minutestildawn/mods/13
BepInEx plugin to replace sprites (textures) in 20 Minutes Till Dawn [collab with Zeprus]
Home Page: https://nexusmods.com/20minutestildawn/mods/13
Loading multiple files, and picking at random which one is used.
Looks like it's a material (M_ElectricWall
), or a shader or something
So while our code does replace the sprites, this doesn't affect this material.
Perhaps we need to target the M_ElectricWall
material, then update its mainTexture
(aka _MainTex
)?
https://docs.unity3d.com/2019.4/Documentation/ScriptReference/Material.html
https://docs.unity3d.com/2019.4/Documentation/ScriptReference/Material-mainTexture.html
The code responsible for hatching is inside SummonEgg.cs.
The flash is handled by FlashSprite.cs, which switches to a material during the flash
The material presumably being one of these:
We might be able to change the color, since that's a visible setting in Unity. I don't know if that would impact other things though
This is no doubt part of a larger issue!
If the sound file is shorter than the original only the first x seconds are replaced with the custom sound. Afterwards it returns to playing the rest of the original.
If the sound file is longer than the original it'll cut off and loop after the original sounds length.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.