My usable Hatch/Trapdoor Mod

Discuss modding questions and implementation details.
Post Reply
User avatar
PRAEst76
Posts: 27
Joined: Fri May 27, 2022 7:19 pm
Location: Suomi
Contact:

My usable Hatch/Trapdoor Mod

Post by PRAEst76 »

As some of you may be aware I've taken it upon myself to revamp the houses in the Illiac Bay region. One of the things I wanted to add to some houses was basements/cellars. Rather than always using staircases I though having a kind of trapdoor or hatch would be a better idea which, when clicked on, would transition you between the marker to another in the basement level much in the same way ladders currently work. The problem here is that I have virtually no experience in C# and despite my inept tinkering I've been unable to get anything to work.

What I've done so far is currently here:

https://github.com/PRAEst-76/The-Hatch

I've been going over the ladder code in the Location Loader mod that kab pointed me at for clues but can't really figure it out.

Would love if someone could give me some guidance or code for this.

Post Reply