So the shipping container works when placed directly ontop of the ramp, I still can't get the car to auto load though.
and it stills acts just like a normal inserter.
I also can't get it to unlaod a shipping container, it sends a message saying "Selected ramp [LuaEntity: loading-ramp at [location: long&Lat,Nauvis]
Update:
I can get it to unload the train just wasn't waiting long enough for the ramp to act.(still no luck with anything else though.
Update 2:
And now I've got the car working, turns out I was probably putting the vehicle in the wrong place to load and not giving it enough time to load/unload.
User error on my part but it may be worth adding a note in future updates that it needs at least 2 seconds to operate the ramp, this is a problem because most automated trains have a 1s inactivity timer which isn't long enough to operate the ramp.
Update 3:
The loading/unloading function stopped working again and I got an error when I tried to rotate the ramp.
The mod Vehicle Wagon 2 (4.1.8) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event VehicleWagon2::on_player_rotated_entity (ID 24)
VehicleWagon2/script/loadingRamp.lua:227: attempt to index field '?' (a nil value)
stack traceback:
VehicleWagon2/script/loadingRamp.lua:227: in function <VehicleWagon2/script/loadingRamp.lua:175>