Torchlight II

Torchlight II

Active Pause
41 kommentarer
Nicknick 29. sep. 2021 kl. 19:03 
This does not work as I expected. Perhaps this is unintended and a bug, but mobs continue to roam around and animations continue if already started. Mobs will ignore the player, but any current projectiles/skills in play will damage the player and minions, even though the player/minions cannot move. I expected this mod to work exactly like the pause during the options menu/ESC key.
doudley  [ophavsmand] 21. aug. 2017 kl. 18:47 
You need to test it for you to understand.
烟花绽放之刻 21. aug. 2017 kl. 1:27 
暂停
doudley  [ophavsmand] 12. juli 2017 kl. 4:02 
I truly don't know but if it does, I'm not sure how it actually would work since no pausing happens when in multiplayer mode, I think.
Slycan 12. juli 2017 kl. 0:20 
Hey great concept, I will have to try this later! Does this work on multiplayer?
doudley  [ophavsmand] 18. apr. 2017 kl. 11:40 
Published v.5

Active Pause button will now move to the center of the screen to allow toggling while menu panel(s) is/are opened

Pressing Left/Right Mouse button or any of the quick bar keys can deactive/unpause the Active Pause function
doudley  [ophavsmand] 14. apr. 2017 kl. 5:23 
I'll see what I can, next week.
*Yuki* 12. apr. 2017 kl. 6:30 
You can do some research, if you wish - nobody stops you :grenny:
And then release it with some guidelines for modders about how to add such support in their own UI mods (I think, such behaviour may be handy not only for that mod).
But, if its way complex - nobody forces you, obviosly :ltshaggy:
doudley  [ophavsmand] 11. apr. 2017 kl. 19:08 
Quick Action bar are linked to their respective hotkeys, so yeah, we can capture those keybinds but like you've said, it won't be recognized if the slot is empty or if it is a skill or not. If there's a trick to verify the slots, I think the only way to capture those are by modifying the actual UI (would make this mod to conflict UI mods that modifies Quick Action Bar and is part of the main HUD interface). In a way, you are right, it can be recognized but for a price. I could take a look at it if you want but I'm pretty sure this would mean other players who uses mods with added quick action slots and mods that made changes with the main HUD, won't be able to benefit on this mod.

The logic on to this would be:
Slot is not empty? If true=enable keybind capture. If false=disable keybind capture.
*Yuki* 11. apr. 2017 kl. 9:48 
hmh... can you give 2 functions for same button?

Just like... we can give same function (unpause game, for example) to few buttons. And these buttons shouldnt only unpause game , but may do anything else .

In other words:
You bind "unpause" function to buttons, that activate skills on hotbar. So - when you press, for example 1, to activate "rush" - it also unpauses game. And, when you rebind keys in settings - you rebind not just button, related to slot in hotbar, but also button, that will unpause game.
Possible problems: buttons, related to empty hotbar slots, may still trigger unpause. But wait, pressing key, when there is no skill/item inside this hotbar slot, does nothing in vanilla game! Maybe there is a trick to verify, if hotbar slot is empty or constains anything?

Or it wont work?
doudley  [ophavsmand] 11. apr. 2017 kl. 8:40 
Yup, like i've said. We can only capture UI related elements. A character casting a spell or a monster closing-in, these are live/battle mechanics that are not read by the User Interfaces. Exclusion to this, are defined stats, where game broadcast universally. Example of these stats are Health Points, Charge percentages, Status Ailments, etc...there are also user defined stats that can be called upon by a custom skill, but I think its getting too complicated for the question that you asked.
*Yuki* 11. apr. 2017 kl. 8:13 
about pausing - I mean:
>You open inventory/press pause key
@
>Now game is paused
@
>Tries to cast any skill on anyone (attack someone/buff uself/summon something)
@
>Game automatically unpauses and skill casts
doudley  [ophavsmand] 11. apr. 2017 kl. 8:10 
What do you mean? We can only capture UI related elements like keybinds and menus. Although skill defined dynamic stat can be recognized too by the UI (Active Pause system)
*Yuki* 11. apr. 2017 kl. 8:07 
btw - can you please reupload it? Booted game now, got old version with cycled esc and such. Unsubscribed, removed mod files, restarted steam, subscribed. Now download of mod is stuck on 0 of 15.6 Kbytes
*Yuki* 11. apr. 2017 kl. 7:14 
thx so much!

Btw. Is it possible to auto-unpause if any skill being used?
doudley  [ophavsmand] 11. apr. 2017 kl. 2:41 
Published v.4

During Quest and Event Dialogue scene, the mod will automatically pauses just like when opening inventory panels.
*Yuki* 10. apr. 2017 kl. 11:18 
ya, auto-pausing during dialogues should be handy :D
doudley  [ophavsmand] 10. apr. 2017 kl. 10:37 
I most probably will implement it because you wouldn't know if the button is on pause or on play without the button on-screen...I made the button's visuals to be hidden on quest, event, and options menus...
doudley  [ophavsmand] 10. apr. 2017 kl. 10:34 
Quest windows/dialouges are menus too but they are not menu panels, so best to toggle the active pause button with its hotkey if the button is unclickable or is hidden. I can make this mod to auto pause on quest/event dialogues too if you want.
*Yuki* 10. apr. 2017 kl. 10:09 
Do quest windows count as menus either? Coz Im planning to free my loadout of safe dialogs ( http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=139270460 ) now, since this mod exist, but not sure, if it will work :D
doudley  [ophavsmand] 10. apr. 2017 kl. 8:01 
Published v.3

The mod will now automatically pause whenever a menu panel is on-screen, whether is on the left side or the right or even if both sides are open. Un-pauses if all of the panels are closed.

No more simulated hotkeys of "In-game options" and "Close All Panels".

Modder's note: I finally pinpointed the issues regarding ESC and SPACE keybinds not activating while all panels are closed. When making a non-visual UI , make sure that you set the menu definition's properties into <BOOL>Pinned:True
*Yuki* 9. apr. 2017 kl. 8:01 
oh, thats cool :D
doudley  [ophavsmand] 9. apr. 2017 kl. 8:01 
There's a translation system in the game that only needs to know which description to be replaced. No need to edit existing files or what not. To include the translations, the file was only given to me by Galandrix, no extra work for me on my part at all. xD
*Yuki* 9. apr. 2017 kl. 7:39 
ya, I've retyped my comment twice, coz forgot to ctrl+c :/

Btw. Is it hard to make multi-language mods? Browsed your stuff and found, that warbound already avalaible in 2 languages. Did it double your work, or guts has built-in functional for multiple languages?
doudley  [ophavsmand] 9. apr. 2017 kl. 7:29 
I get errors posting my comments
*Yuki* 9. apr. 2017 kl. 7:23 
thanks (steam is really laggy today, for some reason)
doudley  [ophavsmand] 9. apr. 2017 kl. 7:22 
Okay, I should do that! :)
*Yuki* 9. apr. 2017 kl. 7:18 
I didnt call it bad. Moreover - I like this auto-auto-pause. But... For example - if your button is under minimap on right side and you open inventory - you cant see pause button either. Same for very left side.

Maybe its better to auto-pause game ever if only one window opened?
doudley  [ophavsmand] 9. apr. 2017 kl. 7:10 
No, nothing like that. I just added that feature, because I thought that if both panels are opened we cannot see the floating button anyway, so why not just make it auto-pause...I can remove it if you want?
*Yuki* 9. apr. 2017 kl. 6:43 
by the way - why auto-activate only if both panels opened? Did it cause any issues if auto-pausing started to work with each opened window?
doudley  [ophavsmand] 8. apr. 2017 kl. 23:44 
Published v.2

Improved simulated "Close All Panel" and "In-game Options" hotkeys. They will function as intended (just don't tap them rapidly)

Added colored text filter on "Move Active Pause Button" tooltip

Improved mod screenshots/previews :)

*Please be reminded that opening both left and right panels will automatically trigger the active pause function, closing them will disable it.

**Note for other modders: Using a draggable frame will render ESC and SPACE keybind useless if no menu panel is opened.
doudley  [ophavsmand] 7. apr. 2017 kl. 23:43 
You mean the floating/draggable function? Yes, it is possible, there are also text field/form in the UI editor.
Aherin 7. apr. 2017 kl. 16:38 
Man this is cool. I had no idea this was possible with GUTS!
doudley  [ophavsmand] 7. apr. 2017 kl. 9:11 
I'll probably add that info about the draggable area...no need to thank me, I can't do this without your assistance.
doudley  [ophavsmand] 7. apr. 2017 kl. 9:09 
I'll see what I can do. The esc and space has been simulated due to the use of a controller named UI State. If all panels are closed, the simulated esc and space will function and if not, the regular esc and space will function, so the in-game options menu is not a panel but a message box...that could have caused the repetition, I'll investigate on this much further for the next update. Let me know if there's anything you find.
*Yuki* 7. apr. 2017 kl. 9:05 
yeah, it moves now, ty so much
*Yuki* 7. apr. 2017 kl. 8:59 
oh, thanks for answer, will try asap. Sorry, wrote wall of text and wasnt able to refresh page :v
*Yuki* 7. apr. 2017 kl. 8:59 
Suggestions:
1. Im not sure, if its possible, but it may be cool to automatically unpause on usage of potions/skills/scrolls either. E.g - you pause game, select enemy and press skill button. Right now, doing so will affect nothing - time will still be frozen. But, this way, instead of ignoring so, game will be unpaused and your character will cast selected skill or use potion or get hurt by enemies, whatever.
*Yuki* 7. apr. 2017 kl. 8:59 
At 1st - thanks again, this mod has great potential! Now going to bug reports and suggestions.
Bugs:
1. For some reason, with this mod enabled, "esc" button starts to act as pause button. So - if you normally use it to open and close pause menu (and close other menus), now it will constatly loop pause menu, when pressed (e.g if you have opened pause menu and press "esc" again - it will refresh, but not close. Also usage of esc will trigger pause menu instead of clothing inventory and such either).

Weirds:
1. I have no idea why, but it wasnt possible to move its icon. Am I doing it wrong?
2. When active pause inside of swarm of mobs, it looks not like pause, but like you went invisible for them. E.g they keep moving away and may run for enough distance from you. Which is kinda strange, coz, while pet keeps his animations either, it freezes on place (like if its pinned). Dunno again, is it bug or feature
doudley  [ophavsmand] 7. apr. 2017 kl. 8:46 
Before you hover your mouse to the center of play/pause button...a tooltip will appear and tells you "Move Active Pause Button". Basically, the draggable areas are the outer border of the button.
*Yuki* 7. apr. 2017 kl. 3:50 
thanks! will try as fast as I can, to write my feedback