Heroes of Hammerwatch

Heroes of Hammerwatch

Not enough ratings
Refresh Level
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
File Size
Posted
Updated
4.231 KB
12 Jul, 2021 @ 7:16am
14 Aug, 2021 @ 5:12am
2 Change Notes ( view )

Subscribe to download
Refresh Level

Description
No thumbnail as this isn't particularly exciting and I don't expect many people to use it.

Just a tool I made when I wanted to check spawn amounts for things. Figured someone else might be interested in it, either for their own interest in spawn amounts or as a jumping off point for something else.

you can define an act with "refresh_act <act>"
(remember numbers start at 0, so mines is 0, not 1)

then, when you're in that act, this script will reload the level you're on every .5 seconds automatically.
if you're on floor 1, use next_floor to get to floor 2.

There are some prints that I added, it'll print the total loot points for the floor, the amount to spawn, the types of loot that spawn, and a list of all the picked prefabs for the floor.

All this goes to the console/log, so needs a bit of parsing after that, but it's all there.

I generally go to the floor I want (you can use next_level to get to a specific floor of the act)

pause the game, use clear to clear my console, let the refresh run as long as i want, then condump it somewhere to get just the portion I want.
6 Comments
Damaskox 15 Jul, 2021 @ 4:33am 
Yeah, it restarts the map every five seconds or so.

Is there any options to lengthen the refresh timer? One simply has barely the time to see something to kill before they are back to square one =D
Damaskox 15 Jul, 2021 @ 4:29am 
Let's test just for teh lulz.
KellyFromSales  [author] 13 Jul, 2021 @ 5:52am 
dunno, i never normally try and move around. no point.

if you're confused by what this mod does and what the point is, it's almost certainly not a mod you'll ever need.

you can always just try it for yourself.

set refresh_act to 0 and enter the mines.
Damaskox 13 Jul, 2021 @ 3:26am 
So...while you play a level, this mod changes the level automatically every three seconds? Do you like start from the entrance of the map (teleport there) every three seconds?
KellyFromSales  [author] 12 Jul, 2021 @ 2:25pm 
no, the levels load as normal.
but it will automatically reload the level after 3 seconds, causing new level generation and everything like that.

I originally made it because I wanted to see how often a particular prefab would spawn in the chambers levels, and rather than sit there reloading the level manually, i wanted to be able to just leave it going while i did other things, then come back and check the log after 200 level loads.. or whatever, and see how many times it had appeared.
Damaskox 12 Jul, 2021 @ 1:31pm 
I don't understand.
It spawns randomly things on the map?