Space Engineers

Space Engineers

Whip's Turret Based Radar
 此主题已被置顶,因此可能具有重要性
Whiplash141  [开发者] 2019 年 4 月 8 日 上午 11:26
Bug Reports
Please leave all your bug reports here so I can easily respond to them.

Always provide the code version number and a detailed description of the issue.

You can optionally attach a world or blueprint along with your report to help me diagnose the issue faster.

Thanks!
最后由 Whiplash141 编辑于; 2019 年 4 月 8 日 上午 11:26
< >
正在显示第 1 - 15 条,共 91 条留言
WASP103 2019 年 4 月 9 日 上午 2:26 
Not really an Issue but when you bump the Range up to 10k the Range Text spans across a big portion of the display. Easily fixed that by formatting to
" {Range/1000f:0.#}k"
and
" {(Range/1000f) * 0.5f:0.#}k"
in
DrawRadarPlane()
Doge 2019 年 4 月 9 日 上午 2:49 
hi there i love it but isnt working :(

const string VERSION = "30.5.2";
const string DATE = "04/08/2019";

i have followed the instruction u wrote, set Radar name in a couple of vanilla lcd screen and a control station. there are gatlings missiles and interior turrets (all vanilla)

what i can see is only the radar grid with radius 800-400 or if i enable the antenna to lile 20000 it shows 20000 and 10000 circle. 0 targets

i have 2 ships of mine with antenna on brodcasting like at 150 .200 mt so even the turret should detect em but no result.

What i have noticed that the custom data on the programmable block is different from the one u show in the guide (i paste it below here):

[Radar - General]
Share own position=true
Share targets=true
Use radar range override=false
Radar range override (m)=1000
Radar projection angle in degrees (0 is flat)=60

;Colors are defined with RGBAlpha color codes where
;values can range from 0,0,0,0 [transparent] to 255,255,255,255 [white].
[Radar - Colors]
Text=255, 100, 0, 100
Background=0, 0, 0, 255
Radar lines=255, 100, 0, 50
Radar plane=100, 30, 0, 5
Enemy icon=150, 0, 0, 255
Enemy elevation=75, 0, 0, 255
Neutral icon=150, 150, 0, 255
Neutral elevation=75, 75, 0, 255
Friendly icon=0, 50, 150, 255
Friendly elevation=0, 25, 75, 255
最后由 Doge 编辑于; 2019 年 4 月 9 日 上午 2:50
Whiplash141  [开发者] 2019 年 4 月 9 日 上午 5:34 
引用自 Doge
hi there i love it but isnt working :(

i have followed the instruction u wrote, set Radar name in a couple of vanilla lcd screen and a control station. there are gatlings missiles and interior turrets (all vanilla)

what i can see is only the radar grid with radius 800-400 or if i enable the antenna to lile 20000 it shows 20000 and 10000 circle. 0 targets

i have 2 ships of mine with antenna on brodcasting like at 150 .200 mt so even the turret should detect em but no result.
Those ships need to also have the radar to show up on the screen.
Whiplash141  [开发者] 2019 年 4 月 9 日 上午 6:04 
引用自 WASP103
Not really an Issue but when you bump the Range up to 10k the Range Text spans across a big portion of the display. Easily fixed that by formatting to
" {Range/1000f:0.#}k"
and
" {(Range/1000f) * 0.5f:0.#}k"
in
DrawRadarPlane()
That only works for km which means the same issue will occur at larger scales. I'll implement a more generalized method.
Vor 2019 年 4 月 9 日 上午 10:15 
i can't get it to work i dont get the dots and the other ship to test it also has the radar but the ship doenst detect it what can i do to fix it
Whiplash141  [开发者] 2019 年 4 月 9 日 上午 10:54 
i can't get it to work i dont get the dots and the other ship to test it also has the radar but the ship doenst detect it what can i do to fix it
First ensure that the code is running. If you go to the terminal and look at the programmable block you should see some status text about the program. Is the program reporting any errors?
SteelAngel 2019 年 4 月 9 日 下午 6:15 
I just installed this, and I cannot detect any friendlies or enemies. I have 6 friendly drones within 2 km of the main ship, and I set the override to True, and set the range to 2000m.

Each drone also has the script running (for a sensor network). The script does not seem to recognize their remote controls as "command seats".
Whiplash141  [开发者] 2019 年 4 月 9 日 下午 7:10 
引用自 SteelAngel
I just installed this, and I cannot detect any friendlies or enemies. I have 6 friendly drones within 2 km of the main ship, and I set the override to True, and set the range to 2000m.

Each drone also has the script running (for a sensor network). The script does not seem to recognize their remote controls as "command seats".
Just tested, definitely works with vanilla remote controls. Are the drones broadcasting at a large enough range to be seen by the main ship?
Copper 2019 年 4 月 9 日 下午 8:34 
I sometimes find that the LCD's return to their "Online" text state, and only a recompile fixes this. Hard to track down the reasoning though.
SteelAngel 2019 年 4 月 9 日 下午 9:03 
@whiplash They are definitely broadcasting in range. I reloaded my world and reloaded the script on each drone and on the main ship and no voosh. The only mod I'm running right now is just Automatic LCDs2.
Whiplash141  [开发者] 2019 年 4 月 9 日 下午 10:58 
引用自 Wizard Lizard
I sometimes find that the LCD's return to their "Online" text state, and only a recompile fixes this. Hard to track down the reasoning though.
Is this in multiplayer? There are some issues with MP screen sync.
Whiplash141  [开发者] 2019 年 4 月 9 日 下午 10:59 
引用自 SteelAngel
@whiplash They are definitely broadcasting in range. I reloaded my world and reloaded the script on each drone and on the main ship and no voosh. The only mod I'm running right now is just Automatic LCDs2.
Have a BP or world that I can see this issue occurring with? I made a quick mock-up and was unable to reproduce this.
Yadro 2019 年 4 月 9 日 下午 11:38 
@Whiplash141
Ok so. I have a ship, it has a turret, mod works... I think?

The Ship has a Turret, the ship can detect other ships in real time! So far so good!

BUT:
It doesn't seem to detect Neutral Ships (EDIT: yes it can, just need to shoot them XD)
It doesn't seem to detect Friendly Ships who are not using the same script on board

It only seems to detect:
~Friendly Ships using the same script.
~Enemy Ships in direct line of sight (Turret's fault I think)

EDIT:
I understand this is by design, and that you understand this. I was curious if there were plans to make it see friendly ships regardless of their onboard scripts (Or is it the turret's fault?)

And how do I get it to detect Neutral ships?
最后由 Yadro 编辑于; 2019 年 4 月 9 日 下午 11:51
Whiplash141  [开发者] 2019 年 4 月 9 日 下午 11:51 
引用自 Yadro
@Whiplash141
Ok so. I have a ship, it has a turret, mod works... I think?

The Ship has a Turret, the ship can detect other ships in real time! So far so good!

BUT:
It doesn't seem to detect Neutral Ships
It doesn't seem to detect Friendly Ships who are not using the same script on board

It only seems to detect:
~Friendly Ships using the same script.
~Enemy Ships in direct line of sight (Turret's fault I think)

EDIT:
I understand this is by design, and that you understand this. I was curious if there were plans to make it see friendly ships regardless of their onboard scripts (Or is it the turret's fault?)

And how do I get it to detect Neutral ships?
All that is indeed by design. Since this is turret based, and there is no other feasible way to scan volumes in vanilla, if friendlies are not using this script, they simply won't show up.

Also just set the turret to target neutral :P
最后由 Whiplash141 编辑于; 2019 年 4 月 9 日 下午 11:52
Yadro 2019 年 4 月 9 日 下午 11:52 
@Whiplash141

Thank you ♥ It's fixed now!!!
最后由 Yadro 编辑于; 2019 年 4 月 9 日 下午 11:52
< >
正在显示第 1 - 15 条,共 91 条留言
每页显示数: 1530 50