Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed some air temperature bugs and improved the debug monitor. #291

Open
wants to merge 4 commits into
base: production
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Final fixes
zvukoper committed Apr 2, 2021

Verified

This commit was signed with the committer’s verified signature.
commit 3199c43c70354c7ec1b7ea6bfc991bd8bd6356ad
Original file line number Diff line number Diff line change
@@ -47,8 +47,9 @@ class CustomDebugMonitor extends Module
lastdamage = "Unknown";
}

auto position = player.GetPosition();
//auto position = player.GetPosition();
auto orientation = GetGame().GetCurrentCameraDirection().VectorToAngles();
auto position = GetGame().GetCurrentCameraPosition();

m_debugMonitor.SetHealth( health );
m_debugMonitor.SetBlood( blood );
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ class ArkDebugMonitor
/* m_pNamesListboxWidget.AddItem("BODY t°:", NULL, 0);
m_pValuesListboxWidget.AddItem("", NULL, 0); */

m_pNamesListboxWidget.AddItem("AIR t°:", NULL, 0);
m_pNamesListboxWidget.AddItem("AIR TEMP°:", NULL, 0);
m_pValuesListboxWidget.AddItem("", NULL, 0);

/*m_pNamesListboxWidget.AddItem("LAST DAMAGE:", NULL, 0);
@@ -50,7 +50,7 @@ class ArkDebugMonitor
GetGame().GetVersion(version);

m_pNamesListboxWidget.AddItem("VERSION:", NULL, 0);
m_pValuesListboxWidget.AddItem("" + version, NULL, 0);
m_pValuesListboxWidget.AddItem(" " + version, NULL, 0);

/*m_pNamesListboxWidget.AddItem("MODIFIERS:", NULL, 0);
m_pValuesListboxWidget.AddItem("", NULL, 0);*/
Original file line number Diff line number Diff line change
@@ -10,20 +10,21 @@ FrameWidgetClass HudDebugFrameWidget {
WindowWidgetClass StatusWindowWidget {
visible 1
position 0.01 0.01
size 380 225
size 370 230
halign right_ref
hexactpos 0
vexactpos 0
hexactsize 1
vexactsize 1
style rover_sim_black_2
"Size To Content H" 1
"title visible" 0
"text color" 0.6353 0.6353 0.6353 1
"disabled text color" 0.6353 0.6353 0.6353 1
{
TextWidgetClass WindowLabel {
disabled 0
position 27 7
position 24 7
size 0.8446 18
hexactpos 1
vexactpos 1
@@ -42,8 +43,8 @@ FrameWidgetClass HudDebugFrameWidget {
visible 1
disabled 1
clipchildren 0
position 35 36.7
size 130 325
position 32 36.7
size 145 330
hexactpos 1
vexactpos 1
hexactsize 1
@@ -52,15 +53,16 @@ FrameWidgetClass HudDebugFrameWidget {
"title visible" 0
colums ""
lines 7
"Size To Content H" 1
font "gui/fonts/MetronBook12"
"text color" 0.9451 0.9451 0.9451 1
}
TextListboxWidgetClass ValuesListboxWidget {
visible 1
disabled 1
clipchildren 0
position 125 36.7
size 190 325
position 142 36.7
size 270 330
hexactpos 1
vexactpos 1
hexactsize 1
@@ -69,6 +71,7 @@ FrameWidgetClass HudDebugFrameWidget {
"title visible" 0
colums ""
lines 7
"Size To Content H" 1
font "gui/fonts/MetronBook12"
"text color" 0.6353 0.6353 0.6353 1
"disabled text color" 0.6353 0.6353 0.6353 1
@@ -79,7 +82,7 @@ FrameWidgetClass HudDebugFrameWidget {
keepsafezone 0
color 0.6353 0.6353 0.6353 1
position 116.58 106.7
size 4 34
size 170 34
hexactpos 1
vexactpos 1
hexactsize 1
@@ -93,7 +96,7 @@ FrameWidgetClass HudDebugFrameWidget {
PanelWidgetClass PanelWidget0 {
color 0.6353 0.6353 0.6353 1
position 24 30
size 2 1
size 330 1
hexactpos 1
vexactpos 1
hexactsize 1