Skip to content

Instantly share code, notes, and snippets.

View nebadon2025's full-sized avatar

Michael Cerquoni nebadon2025

View GitHub Profile
@nebadon2025
nebadon2025 / fallout_london_train_crash_fixes.txt
Last active July 28, 2024 22:44
Fallout: London "Train Crash Crash" Fixes!!
Fallout: London "Train Crash Crash" Fix
This is what worked for us. It may or may not work for you.
We installed Fallout 4 GOTY edition from GOG as a fresh install.
Install Fallout: London using the installer on GOG Galaxy (Windows) or Heroic Launcher (Linux).
Linux Heroic Launcher guide: https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/wiki/Fallout:-London-guide
*** We are not using a mod manager such as MO2 or Vortex. ***
@HilariousCow
HilariousCow / InteractionRaycaster.cs
Last active October 15, 2023 23:29
If you are finding that PhysicsRaycaster isn't working when you use Cursor.lockstate (i.e. an FPS game), use this instead.
using System;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.EventSystems;
//I used ILSpy on the Unity UI dll to copy out the Physicsraycaster code and fix where the ray eminates from (in this case, always the center of the screen)
public class InteractionRaycaster : PhysicsRaycaster {
[Range(0.0f, 0.5f)]