You are viewing a potentially older version of this package. View all versions.
LordVGames-LoopByDefault-1.0.0 icon

LoopByDefault

Makes the primordial teleporter set to loop by default instead of going to the moon. Server-side and vanilla compatible.

Date uploaded a year ago
Version 1.0.0
Download link LordVGames-LoopByDefault-1.0.0.zip
Downloads 4179
Dependency string LordVGames-LoopByDefault-1.0.0

This mod requires the following mods to function

bbepis-BepInExPack-5.4.2117 icon
bbepis-BepInExPack

Unified BepInEx all-in-one modding pack - plugin framework, detour library

Preferred version: 5.4.2117
RiskofThunder-HookGenPatcher-1.2.5 icon
RiskofThunder-HookGenPatcher

MMHOOK generation at runtime.

Preferred version: 1.2.5
RiskofThunder-R2API_Core-5.1.5 icon
RiskofThunder-R2API_Core

Core R2API module

Preferred version: 5.1.5

README

LoopByDefault

Awesome now I don't have to hit the stage 5 teleporter rings like 80% of the time

No github repository for this because the change is done in 4 lines:

var lunarTeleProngs = Addressables.LoadAssetAsync<GameObject>("RoR2/Base/Teleporters/LunarTeleporterProngs.prefab").WaitForCompletion();
var lunarTeleEsm = lunarTeleProngs.GetComponent<EntityStateMachine>();
lunarTeleEsm.initialStateType = new EntityStates.SerializableEntityStateType(typeof(EntityStates.LunarTeleporter.ActiveToIdle));
lunarTeleEsm.mainStateType = new EntityStates.SerializableEntityStateType(typeof(EntityStates.LunarTeleporter.Idle));

CHANGELOG

1.0.0

  • First release