Skip to content

Instantly share code, notes, and snippets.

View Deeheks's full-sized avatar

Jeff Deeheks

  • Canada
View GitHub Profile
@Deeheks
Deeheks / ShadowSettingsAdjuster.cs
Created May 3, 2023 00:24 — forked from DaEgi01/ShadowSettingsAdjuster.cs
Cities Skylines - Shadow Settings Adjuster
using Harmony;
using ICities;
using System;
using System.Reflection;
using UnityEngine;
using UnityEngine.Rendering;
namespace ShadowSettingsAdjuster
{
/// <summary>
@Deeheks
Deeheks / Large Decal Script with textures reimport.cs
Last active October 31, 2019 03:51
No need to create a new prop each time you want to reimport a decal. This is Boformer's Decal Script modified using parts of Ronyx RealTime mod code.
// Script based off @boformer script called "Large Decals"
// https://gist.github.com/boformer/624eef5ffc8686cb5f12377f1be855f9
// In addition to making the decal size and slope tolerance,
// this script looks for textures called decal_a.png or decal_d.png (etc)
// in the textures folder and replace them if they are found.
// Textures import code taken from the RealTime mod code (@Ronyx69).
// https://gist.github.com/ronyx69/9c0026648d26b1e1b09cb8ec8a831b17
// Warning: Do not save vehicles after running this script without a game restart!