BVE WorldWide
Would you like to react to this message? Create an account in a few clicks or log in to continue.

New Feature: Multiple Interior Views

5 posters

Go down

New Feature: Multiple Interior Views Empty New Feature: Multiple Interior Views

Post by leezer3 Sat Nov 11, 2017 2:26 pm

Still a mild WIP, but I've been busy again Razz



These have been added via the train.xml format, but when complete will allow you to add a dedicated interior view for any car of the train!

Code sample:
Code:
<?xml version="1.0" encoding="utf-8"?>
<openBVE xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <Car>
        <Length>20.8</Length>
        <Width>2.6</Width>
        <Height>3.6</Height>
        <MotorCar>True</MotorCar>
        <Mass>80000</Mass>
        <FrontAxle>6.5</FrontAxle>
        <RearAxle>-6.5</RearAxle>
        <Object>External\D1015.animated</Object>
        <Reversed>False</Reversed>
        <FrontBogie>
            <FrontAxle>1.85</FrontAxle>
            <RearAxle>-1.85</RearAxle>
            <Object>External\bogie_f.animated</Object>
            <Reversed>False</Reversed>
        </FrontBogie>
        <RearBogie>
            <FrontAxle>1.85</FrontAxle>
            <RearAxle>-1.85</RearAxle>
            <Object>External\bogie_f.animated</Object>
            <Reversed>True</Reversed>
        </RearBogie>
        <InteriorView>CabView.animated</InteriorView>
        <DriverPosition>-0.7,2.7,-2</DriverPosition>
    </Car>
</openBVE>

Whilst I'm still testing these before pushing to a public build, will hopefully have them in a nightly by the start of next week Smile

Also, my thanks to Graymac for 'borrowing' the interior of one of his MK1s for this video- Much easier than running up an interior of my own Razz

leezer3

Posts : 1978
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

New Feature: Multiple Interior Views Empty Re: New Feature: Multiple Interior Views

Post by Delsin Sun Nov 12, 2017 8:07 pm

I love to set camera to an internal view sometimes, so this'll be handy, awesome  Very Happy
Delsin
Delsin

Posts : 313
Join date : 2016-08-20

Back to top Go down

New Feature: Multiple Interior Views Empty Re: New Feature: Multiple Interior Views

Post by leezer3 Mon Nov 13, 2017 1:21 pm

Now in this build onwards:
https://vps.bvecornwall.co.uk/OpenBVE/Builds/OpenBVE-2017-11-13.zip

Switching Between Views:
Change to the external camera & use the previous / next POI keys to change the camera car.
Changing back to the internal view will either use the car's interior view, or snap back to the driver's car if this is not defined.

Flaws:

  • Switching between internal views is not currently implemented.
  • This only currently supports a single internal view per car (e.g. The front car of an EMU cannot have a passenger and cab view, the passenger view must be attached to the second car)
  • Sound volumes may require tweaking, need some feedback on this one please.

leezer3

Posts : 1978
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

New Feature: Multiple Interior Views Empty Re: New Feature: Multiple Interior Views

Post by Phonteus Nevolius Mon Nov 20, 2017 11:03 pm

This is quite an exciting feature, I'm looking forward to trying it around the weekend.
Phonteus Nevolius
Phonteus Nevolius

Posts : 120
Join date : 2017-10-05
Location : Hungary

https://phonteusnevolius.wordpress.com

Back to top Go down

New Feature: Multiple Interior Views Empty Re: New Feature: Multiple Interior Views

Post by openxrailbve Sun Feb 04, 2018 7:46 pm

When I try download the zip file, my security detects a virus in it. Also what do you mean by POI keys I'm still learning the ropes of BVE.


Last edited by openxrailbve on Sun Feb 04, 2018 8:01 pm; edited 1 time in total
openxrailbve
openxrailbve

Posts : 16
Join date : 2013-04-23

Back to top Go down

New Feature: Multiple Interior Views Empty Re: New Feature: Multiple Interior Views

Post by leezer3 Sun Feb 04, 2018 7:53 pm

There are no viruses....
https://github.com/leezer3/OpenBVE/issues/216

I've reported it to Microsoft twice now (two different detections, both I believe heuristics.....), and there's not a lot else I can do.

leezer3

Posts : 1978
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

New Feature: Multiple Interior Views Empty Re: New Feature: Multiple Interior Views

Post by openxrailbve Sun Feb 04, 2018 8:02 pm

Alright thanks, may I ask how do you have add a second exterior camera thanks.
openxrailbve
openxrailbve

Posts : 16
Join date : 2013-04-23

Back to top Go down

New Feature: Multiple Interior Views Empty Re: New Feature: Multiple Interior Views

Post by openxrailbve Sun Feb 04, 2018 8:04 pm

Never mind I found the key thanks
openxrailbve
openxrailbve

Posts : 16
Join date : 2013-04-23

Back to top Go down

New Feature: Multiple Interior Views Empty Re: New Feature: Multiple Interior Views

Post by Tube Check Sun Feb 04, 2018 8:22 pm

leezer3 wrote:Flaws:

  • Switching between internal views is not currently implemented.
  • This only currently supports a single internal view per car (e.g. The front car of an EMU cannot have a passenger and cab view, the passenger view must be attached to the second car)
  • Sound volumes may require tweaking, need some feedback on this one please.

As you said about the sound volumes needing tweaking, the motor sounds have disappeared, station announcements are much more quieter and you can pin point where they've been placed in the car. Is there a way around this?

Tube Check

Posts : 23
Join date : 2018-01-26

Back to top Go down

New Feature: Multiple Interior Views Empty Re: New Feature: Multiple Interior Views

Post by Tube Check Sun Feb 04, 2018 8:27 pm

On second thought never mind, I re-extracted the train before it will was converted and copied the files there and boom. Sounds were back to normal however, the announcements are still quite because they were placed to be played in the cab. Thanks Leezer for this addon.

Tube Check

Posts : 23
Join date : 2018-01-26

Back to top Go down

New Feature: Multiple Interior Views Empty Re: New Feature: Multiple Interior Views

Post by Delsin Wed Jul 25, 2018 8:57 pm

I think there should be a configurable volume reduction, some trains have little (if any) difference, others (like Japanese 583) are super quiet inside. Probably separate cab/interior sounds even in the future
Delsin
Delsin

Posts : 313
Join date : 2016-08-20

Back to top Go down

New Feature: Multiple Interior Views Empty Re: New Feature: Multiple Interior Views

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum