Barotrauma 潜渊症

Barotrauma 潜渊症

Screen clock c#
正在显示第 1 - 10 项,共 13 项条目
< 1  2 >
更新于:4 月 10 日 下午 12:25
作者:Nupaska

steam bug

更新于:4 月 10 日 下午 12:23
作者:Nupaska

Updated to 1.8.6.2

更新于:2024 年 7 月 30 日 上午 8:37
作者:Nupaska

Now i use GameMain.GameSession?.RoundDuration instead of TotalTimeUnpaused if(Screen.Selected == GameMain.GameScreen)

because:
- it's more accurate
- TotalTimeUnpaused doesn't work with fast forward mod

I didn't want to use it because if there's no round then there's no RoundDuration
+ it sometimes jumps over 1 sec
But now i have to

更新于:2024 年 7 月 2 日 下午 4:12
作者:Nupaska

Did some refactor

Settings are now stored in xml

BackgroundColor - backround text color
TextPos - vector (0..1, 0..1)
OnlyInGame - if true clock drawn only in game

Added some commands:
clockbackgroundcolor, clocktextpos, clockonlyingame

call without arguments will print current value

Color commands now can read color name, space or comma separated color components
Colors are autocompleted, try pressing tab

also time from round start now ignores time in menu

更新于:2024 年 4 月 24 日 上午 10:30
作者:Nupaska

tested in 1.4.4.1, should work as before

更新于:2024 年 4 月 6 日 下午 11:49
作者:Nupaska

fixed commands not permitted in multiplayer

更新于:2024 年 2 月 12 日 下午 7:29
作者:Nupaska

added some useless try catches

更新于:2024 年 2 月 12 日 下午 7:11
作者:Nupaska

found weird bug:
This mod in combinations with some other c# mods can increase loading time and crash the game without a report after multiple lobbies

idk what causing it, but there's no such problem with older version when i simple saved settings as text instead of xml

So i revert saving method

Also i forgot to remove Forced from RunConfig.xml and didn't notice because i have "treat forced mods as normal" in lua settings

setting it back to standard

更新于:2024 年 2 月 1 日 下午 5:51
作者:Nupaska

i just tried to play with it and realised that command names are too hard to remember and counterintuitive

all clock commands now starting with clock
clockcolor
clockdraw
clockstartingpoint

maybe not very self explanatory but easier to find with tab

if you have better ideas about names - suggest them

literally took me 1min to change it
and 10min to write this

更新于:2023 年 12 月 18 日 上午 2:21
作者:Nupaska

added an option to count time from round start

now saving settings in xml

clock now react to settings change instantly

text background Color.Black * 0.5f -> Color.Black * 0.25f