SpikeHimself / XPortal

XPortal is a Valheim mod that lets you select a portal's destination from a list. XPortal is a complete rewrite of AnyPortal.
GNU General Public License v3.0
19 stars 6 forks source link

Additional option to pop up when walking into unconnected portal #63

Open KingEKoP opened 1 year ago

KingEKoP commented 1 year ago

Not a problem, just much harder to hit portal menu on decorated portals. Optional feature to pop up the portal selection when you walk through a portal that is unconnected.

Would also love it if there was a map pop up that also was inside the portal menu.

Hope you enjoy the suggestions, thank you this mod.

SpikeHimself commented 12 months ago

Hi @KingEKoP, thanks for your suggestions.

I think opening the Portal Configuration window when walking into an unconnected portal should be feasible, I'll look into creating an optional config value for that.

Would also love it if there was a map pop up that also was inside the portal menu.

Can you explain what you mean by this?

KingEKoP commented 11 months ago

Absolutely, thank you for replying.

I suppose I am asking about maybe the window for xportal to pop up when you walk into the portal. If the portal is unconnected or however you think would be best in implementing.

I would also love a map where if you click the portal from the drop down, it moved a mini map in a fixed window. but that would be another feature request and a lot more work.

KingEKoP commented 11 months ago

A map window, open with all the portal names and their location displayed on the map. when you select the portal drop down menu it centers the map to that portal.

Again really a much bigger feature. Some hybrid between targetportal and xportal integrated in.

SpikeHimself commented 11 months ago

Hi @KingEKoP, I've been experimenting with this, and making the configuration window show up when you walk through an unconnected portal is not difficult to implement, but it presents a challenge: You will be holding W to walk, so the configuration window pops up, and now suddenly you're renaming your portal to "wwwwwwww".

Also, when saving the portal after this, you don't immediately teleport. Implementing that is I guess also possible, but I don't think it should by default always teleport you every time you edit a portal, so it should only do this in certain cases (maybe?).

For now I'm parking this because I don't think this adds a lot of value - you can just press E on the portal and avoid all of this extra trouble.