Board index FlightGear Development New features

Cargo Towing Addon

Discussion and requests for new features. Please note that FlightGear developers are volunteers and may or may not be able to consider these requests.

Re: Cargo Towing Addon

Postby wlbragg » Wed Apr 15, 2020 12:29 am

@Hooray, you must not have ever loaded this addon. Everything is there except the scoring. The scoring is not needed though. There are 5 pine-trees, place them at least 100 yards away from the truck, then simply time how long it takes to transfer each tree to the truck. It's all set-up already! :wink:
Kansas(2-27-15)/Ohio/Midwest scenery development.
KEQA (2-27-15), 3AU, KRCP Airport Layout
Intel i5 3570K AMDRX480
User avatar
wlbragg
 
Posts: 5660
Joined: Sat Aug 25, 2012 11:31 pm
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/AMDRX480

Re: Cargo Towing Addon

Postby wlbragg » Wed Apr 15, 2020 12:32 am

FYI: As of yesterdays update there were a couple major bugs in the towing section of the addon. I never tested that portion after adding the ability to break out the cargo into separate sets. Those bugs are now corrected and pushed. However I had to disable portions of the "Hard docked" capabilities temporarily.
Kansas(2-27-15)/Ohio/Midwest scenery development.
KEQA (2-27-15), 3AU, KRCP Airport Layout
Intel i5 3570K AMDRX480
User avatar
wlbragg
 
Posts: 5660
Joined: Sat Aug 25, 2012 11:31 pm
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/AMDRX480

Re: Cargo Towing Addon

Postby wlbragg » Wed Apr 29, 2020 1:55 am

Pushed some fixes and cleanup. The ranging dialog is now actually useful. It tracks the nearest object, once connected turns green and tracks stacking elevations.
Kansas(2-27-15)/Ohio/Midwest scenery development.
KEQA (2-27-15), 3AU, KRCP Airport Layout
Intel i5 3570K AMDRX480
User avatar
wlbragg
 
Posts: 5660
Joined: Sat Aug 25, 2012 11:31 pm
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/AMDRX480

Re: Cargo Towing Addon

Postby wlbragg » Wed Apr 29, 2020 7:17 pm

FYI: Current issues I'm working on.
Un-stacking cargo, it's currently broken in a couple different ways.
Cargo not moving just because you connect to it. It shouldn't move until you put tension the rope.
Kansas(2-27-15)/Ohio/Midwest scenery development.
KEQA (2-27-15), 3AU, KRCP Airport Layout
Intel i5 3570K AMDRX480
User avatar
wlbragg
 
Posts: 5660
Joined: Sat Aug 25, 2012 11:31 pm
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/AMDRX480

Re: Cargo Towing Addon

Postby wlbragg » Sat May 02, 2020 5:01 am

I pushed a fix for the ranging function. It's now fully 3 dimensional and the stacking and un-stacking is working as it should. Note: you are allowed to connect to a cargo on the bottom of that stack if that is where the end of the rope is the closest to per the ranging function. If you do so you can remove the bottom cargo and the top cargo will hang in mid air. I guess I need to come up with an elegant solution for that. Either not allow it or let the cargo above the removed cargo fall. Neither option will be a simple fix.
Kansas(2-27-15)/Ohio/Midwest scenery development.
KEQA (2-27-15), 3AU, KRCP Airport Layout
Intel i5 3570K AMDRX480
User avatar
wlbragg
 
Posts: 5660
Joined: Sat Aug 25, 2012 11:31 pm
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/AMDRX480

Re: Cargo Towing Addon

Postby wkitty42 » Sat May 02, 2020 1:37 pm

or pick up the entire stack if the rope/cable connects to the bottom entity... but i think it should be a big problem if connecting to the bottom of a stack, in the first place... else when you lift, the stack will rotate over as being top heavy ;)
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 6551
Joined: Fri Feb 20, 2015 3:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 14.04.5

Re: Cargo Towing Addon

Postby wlbragg » Sat May 16, 2020 10:50 pm

Some changes to cargo towing addon. Now using geo.getPosition for all ranging and positioning in cargooperations.nas.
Notification of cargo connecting and auto-connect and auto-disconnect is now in ranging GUI only. It was causing performance issues in the rope animation effect using the gui.popupTip method.
Green text = cargo connected
Yellow text = auto connect/disconnect active
Black text = nothing connected and no auto mode set
Kansas(2-27-15)/Ohio/Midwest scenery development.
KEQA (2-27-15), 3AU, KRCP Airport Layout
Intel i5 3570K AMDRX480
User avatar
wlbragg
 
Posts: 5660
Joined: Sat Aug 25, 2012 11:31 pm
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/AMDRX480

Re: Cargo Towing Addon

Postby GinGin » Sat May 16, 2020 10:58 pm

Nice work Wayne !
GinGin
 
Posts: 1056
Joined: Wed Jul 05, 2017 10:41 am
Location: Paris
Callsign: Gingin

Previous

Return to New features

Who is online

Users browsing this forum: BLEXBot [Bot] and 2 guests