Search found 24 matches

by Pilot_76
Sun Aug 27, 2023 9:01 pm
Forum: Virtual Sailor NG
Topic: Weather update bug?
Replies: 0
Views: 8197

Weather update bug?

If left on, the "Update Real Weather" or "Get Real Weather" both mistakenly change the current time into the system's local time. When pressing "Set Time to Now" it reverts to the correct local time. My boat is currently at 055W which is UTC-4. When the weather updates,...
by Pilot_76
Sun Aug 27, 2023 8:28 pm
Forum: Virtual Sailor NG
Topic: I've Added Pilots/Skippers to some boats
Replies: 0
Views: 8366

I've Added Pilots/Skippers to some boats

For added realism, I've added skippers/helmsman to some boats. It is a simple task of adding/editing pilot(x).cfg. Most boats were downloaded right here in the "Library" section, and some are my own payware boats downloaded elsewhere. Tested only in VSNG, but might work in previous VS vers...
by Pilot_76
Thu Aug 24, 2023 7:43 pm
Forum: Virtual Sailor NG
Topic: Lighting question
Replies: 4
Views: 6171

Re: Lighting question

Source Lighting is the best option for adding new lights to ships what you want to help illuminate areas. To me this is one of the best features in VSNG. In the lights.cfg the light needs to for example YellowSource or WhiteSource Below are two examples with the lights enabled on one side and off t...
by Pilot_76
Thu Aug 24, 2023 7:41 pm
Forum: Virtual Sailor NG
Topic: Lighting question
Replies: 4
Views: 6171

Re: Lighting question

ekeimaja wrote: Wed Aug 16, 2023 10:23 am Have you checked the instructions of creating vehicles?

https://www.hangsim.com/virtual-sailor/ ... hicles.php
Yes I have. The next post nailed it.
by Pilot_76
Wed Aug 16, 2023 1:13 am
Forum: Virtual Sailor NG
Topic: Lighting question
Replies: 4
Views: 6171

Lighting question

I tried adding another cabin light to a sailboat, but the texture was not lit. I mean, the surface of the sailboat did not change into a "lit" surface. The light could be seen, though. How to actually do it?
by Pilot_76
Tue Aug 15, 2023 7:21 pm
Forum: Virtual Sailor NG
Topic: VSNG Wishlist
Replies: 7
Views: 8616

Re: VSNG Wishlist

More stuff: AI Traffic: Option for the game to choose random ships/boats/aircraft as AI traffic. Groups would be selected as well. As far as I know, today we have to select the traffic vehicles ourselves. At least in my pc, I am limited to load 21 vehicles at the same time. With this random feature,...
by Pilot_76
Mon Aug 14, 2023 11:22 pm
Forum: Virtual Sailor NG
Topic: NMEA wind data. Is it correct?
Replies: 0
Views: 7804

NMEA wind data. Is it correct?

The following pics say it all. It seems, of course, that the wind data sent to Opencpn must be wrong. What am I missing here?

https://photos.app.goo.gl/Msa11LVyMPZGzDVL6
by Pilot_76
Sun Aug 13, 2023 1:26 am
Forum: Virtual Sailor NG
Topic: NMEA Signal to Android/IOS Apps
Replies: 2
Views: 4684

Re: NMEA Signal to Android/IOS Apps

Any app for iOS devices?
by Pilot_76
Tue Jul 18, 2023 7:53 pm
Forum: Virtual Sailor NG
Topic: VSNG Wishlist
Replies: 7
Views: 8616

Re: VSNG Wishlist

Things I'd like to see improved in VSNG: 1-Sextant. The telescope is fine but a true sextant for the sole purpose of celestial navigation would be a very welcomed feature. There isn't one game that I know of that has done something similar. You would even have to "rock the body" just like ...
by Pilot_76
Mon Jul 17, 2023 10:58 pm
Forum: Virtual Sailor NG
Topic: Long Distance - Reatime voyages?
Replies: 24
Views: 31905

Re: Long Distance - Reatime voyages?

I am sailing from Angra dos Reis, Brazil to the Falklands only on Dead Reckoning, Coastal Radar Navigation and Celestial Navigation. No GPS map at all. So far it is good. Most of the time I call it a day, lower the sails, turn the lights off except the running lights, then turn off the pc. During th...
by Pilot_76
Wed Jul 12, 2023 2:40 am
Forum: Virtual Sailor NG
Topic: Python code for Celestial Navigation in VSNG
Replies: 19
Views: 13886

Re: Python code for Celestial Navigation in VSNG

Sorry for the late reply. Life got in the way.

Post here the updated script from chatgpt I will compare them both.
by Pilot_76
Wed Jul 05, 2023 8:08 pm
Forum: Virtual Sailor NG
Topic: Python code for Celestial Navigation in VSNG
Replies: 19
Views: 13886

Re: Python code for Celestial Navigation in VSNG

The script retrieves a position from a specific ship from a specific situation. My saved file has the maximum of 21 sailboats (or 22?) and I am in control of one of them. I just used VSNG's script to order the other vessels to sail to a specific coordinates and that created the problem that Python's...
by Pilot_76
Wed Jul 05, 2023 6:17 pm
Forum: Virtual Sailor NG
Topic: Python code for Celestial Navigation in VSNG
Replies: 19
Views: 13886

Re: Python code for Celestial Navigation in VSNG

BTW I didn't do anything at all. ChatGPT wrote the entire code. I just kept prompting it until it got things right. :lol:
by Pilot_76
Wed Jul 05, 2023 5:25 pm
Forum: Virtual Sailor NG
Topic: Python code for Celestial Navigation in VSNG
Replies: 19
Views: 13886

Re: Python code for Celestial Navigation in VSNG

Here's a description of what the updated code does: 1. The script begins by importing necessary modules such as `os`, `random`, `math`, and `datetime`. 2. It defines three functions: - `get_ship_coordinates(file_path, ship_name)`: This function reads a file and retrieves the longitude and latitude c...
by Pilot_76
Wed Jul 05, 2023 5:23 pm
Forum: Virtual Sailor NG
Topic: Python code for Celestial Navigation in VSNG
Replies: 19
Views: 13886

Re: Python code for Celestial Navigation in VSNG

You are correct. The Speed and heading is a bit confusing, so I gave up in trying to understand why it is written in that way. The thing is that I got creative and ChatGPT wrote this script that simulates DR movement. You may try it yourself: import os import random import math from datetime import ...
by Pilot_76
Tue Jul 04, 2023 10:34 pm
Forum: Virtual Sailor NG
Topic: Python code for Celestial Navigation in VSNG
Replies: 19
Views: 13886

Re: Python code for Celestial Navigation in VSNG

Just engage the autopilot then save the situation. The current heading will show up in the file.
by Pilot_76
Tue Jul 04, 2023 10:33 pm
Forum: Virtual Sailor NG
Topic: Python code for Celestial Navigation in VSNG
Replies: 19
Views: 13886

Re: Python code for Celestial Navigation in VSNG

Below is an extract from my y.txt file: Trimaran Jungle [vehicle_name] -49.009941 [vehicle_east] <= Current Longitude -38.508617 [vehicle_north] <= Current Latitude -0.86 [vehicle_alt] 2.57 [vehicle_beta] 9.02 [vehicle_speed] <= SPEED 0.81 [vehicle_rpm] 33469.62 [vehicle_fuel] 1.00 [vehicle_reefb] 1...
by Pilot_76
Tue Jul 04, 2023 7:35 pm
Forum: Virtual Sailor NG
Topic: Python code for Celestial Navigation in VSNG
Replies: 19
Views: 13886

Re: Python code for Celestial Navigation in VSNG

Could you tell me more about the DR script you previously mentioned? Sounds interesting. I do the navigation in Opencpn and one of its plugins generates DR waypoints based either on speed or time.
by Pilot_76
Tue Jul 04, 2023 3:26 pm
Forum: Virtual Sailor NG
Topic: Python code for Celestial Navigation in VSNG
Replies: 19
Views: 13886

Re: Python code for Celestial Navigation in VSNG

I saved a situation called "y" (I'm just that lazy) and a file called "y.txt" is created in the "situations" subfolder. Lines 5 and 6 are the cameras' coordinates, irrespective of the Vehicle you are using. That data is what the script imports into Stellarium. Below is ...
by Pilot_76
Tue Jul 04, 2023 3:15 am
Forum: Virtual Sailor NG
Topic: Python code for Celestial Navigation in VSNG
Replies: 19
Views: 13886

Python code for Celestial Navigation in VSNG

ChatGPT and Bing AI helped me in creating a Python code to use Celestial Navigation in VSNG. The in-game "Telescope" showed me that any celestial body was off by at least 10°!! I compared it by using Stellarium which is a "sky simulator" both with the same exact position and of c...
by Pilot_76
Wed Apr 26, 2023 10:51 pm
Forum: Virtual Sailor NG
Topic: Celestial navigation
Replies: 1
Views: 7081

Re: Celestial navigation

I did a side-by-side comparison with stellarium and it seems that it is ok. But I will test it further. I also have created a python code using chatgpt that retrieves your position from a situation file and then it loads stellarium automatically and on top of that there is a config.ini file change t...
by Pilot_76
Sat May 01, 2021 6:46 pm
Forum: Vehicle Simulator
Topic: Scripts syntax not working
Replies: 0
Views: 6823

Scripts syntax not working

Hello.

The "sail position" does not work at all.


sail position -23.85 -45.31

The boat assumes a different heading and just keeps going. The sail waypoint a works but a waypoint must be set for each boat separately.
by Pilot_76
Thu Apr 29, 2021 11:51 am
Forum: Vehicle Simulator
Topic: Celestial Bodies are in the wrong position?
Replies: 1
Views: 13720

Celestial Bodies are in the wrong position?

Please let me know if this is true otherwise the sextant will be useless.