Elvas Tower: My 3D cabs - Elvas Tower

Jump to content

  • 5 Pages +
  • « First
  • 3
  • 4
  • 5
  • You cannot start a new topic
  • You cannot reply to this topic

My 3D cabs or should I my feeble attempt at 3D cabs Rate Topic: -----

#41 User is offline   asullenger 

  • Hostler
  • Group: Status: First Class
  • Posts: 86
  • Joined: 11-January 14
  • Gender:Male
  • Simulator:OR
  • Country:

Posted 22 February 2015 - 05:13 PM

Hey JTang,

Got them working!! :bigboss:

http://img.photobucket.com/albums/v126/gramps/RunActivityLAA%202015-02-22%2018-59-50-288_zpsovkrtvsa.jpg


Just got one more question, then I promise I'll leave ya alone.

What about the displays? On the CP_Handle, I can make it work by making it a "child" of the CP_HANDLE.......CP_HANDLE:0:1......But in the CVF it has an entry for as a display for it.

MultiStateDisplay (
Type ( CPH_DISPLAY MULTI_STATE_DISPLAY )
Position ( 348 282 27 12 )
Graphic ( "..\\..\\Common.Cab\\Dash9AC44\\combidis2.ace" )
States ( 18 3 6
State (
Style ( 0 )
SwitchVal ( 0 )
)
State (
Style ( 0 )
SwitchVal ( 0.0625 )
)
State (
Style ( 0 )
SwitchVal ( 0.125 )
)
State (
Style ( 0 )
SwitchVal ( 0.1875 )
)
State (
Style ( 0 )
SwitchVal ( 0.25 )
)
State (
Style ( 0 )
SwitchVal ( 0.3125 )
)
State (
Style ( 0 )
SwitchVal ( 0.375 )
)
State (
Style ( 0 )
SwitchVal ( 0.4375 )
)
State (
Style ( 0 )
SwitchVal ( 0.5 )
)
State (
Style ( 0 )
SwitchVal ( 0.55555 )
)
State (
Style ( 0 )
SwitchVal ( 0.6111 )
)
State (
Style ( 0 )
SwitchVal ( 0.66665 )
)
State (
Style ( 0 )
SwitchVal ( 0.73 )
)
State (
Style ( 0 )
SwitchVal ( 0.77775 )
)
State (
Style ( 0 )
SwitchVal ( 0.8333 )
)
State (
Style ( 0 )
SwitchVal ( 0.88885 )
)
State (
Style ( 0 )
SwitchVal ( 0.9444 )
)
State (
Style ( 0 )
SwitchVal ( 0.99995 )
)


Also entries in the cvf for other displays; direction, wheel slip, over speed, etc.

Any hope of these coming, or should I go ahead and make the ones I can work the other way??


Thanks for all you've done,

Anthony

#42 User is offline   JTang 

  • Open Rails Developer
  • Group: Status: Active Member
  • Posts: 643
  • Joined: 18-November 10
  • Gender:Male
  • Country:

Posted 22 February 2015 - 05:18 PM

Do you think you can try to achieve the effect by using animation? You can define many parts for an instrument, using name like CPH_DISPLAY:0-0, CPH_DISPLAY:0-1, CPH_DISPLAY:0-2, etc, indicating they are the first, second and third parts of the instrument CPH_DISPLAY:0.

#43 User is offline   asullenger 

  • Hostler
  • Group: Status: First Class
  • Posts: 86
  • Joined: 11-January 14
  • Gender:Male
  • Simulator:OR
  • Country:

Posted 22 February 2015 - 05:35 PM

That's what I was trying to ask,I just didn't do a very good job of it,LOL.

Yup, I can on the Combined Power and direction for sure. And can prolly figure something out on most of the others too.


Thanks :bigboss:

Anthony

#44 User is offline   asullenger 

  • Hostler
  • Group: Status: First Class
  • Posts: 86
  • Joined: 11-January 14
  • Gender:Male
  • Simulator:OR
  • Country:

Posted 23 February 2015 - 07:57 PM

OK JTang,

Here's an example of you're work!!! Thanks again for taking the time to do it.

http://img.photobucket.com/albums/v126/gramps/LOCOMOTIVES/RunActivityLAA%202015-02-23%2021-37-49-933_zpsgad97j8x.jpg

#45 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 7,000
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 28 February 2015 - 03:14 AM

View Postsuperheatedsteam, on 10 February 2015 - 04:39 AM, said:

Thanks JTang for pointing me in the right direction, I finally got it working.

To explain it in 'gmax' speak, you must have an object called 'SPEEDOMETER' in the cab view and it needs to comprise of at least one face.

As my cab has only one digital speedometer I named this object SPEEDOMETER_0_14.

The number 0 indicates that this is the first speedometer gauge in the cab and the number 14 indicates the size of the font to display. Note that I use an underscore to separate the numbers as the LOD export tool does not support the use of colons in the object names when exporting. More on this later.

The speed does not display where the face for the SPEEDOMETER object is located but where the 'pivot point' for the SPEEDOMETER object is located. Normally you would place the SPEEDOMETER object somewhere in the cab where it will not be seen.

With the 'SPEEDOMETER_0_14' object selected in gmax, go to the 'Hierarchy' tab, select 'Affect Pivot Only' and click 'Align to World' to reset the orientation to world coordinates. Then use the 'Select and Move' tool to move the pivot to where in the cab you wish the numerals to appear. As you have aligned the pivot point to World coordinates the numerals will display vertically. As most loco primary displays are normally angled you may have to rotate the pivot point so that it aligns with the angle of the 'display screen'.

Export the .S file for the cab as per normal.

You will then have to uncompress the .S file for the cab using Shape File Manager or the .S file decompression tool of your choice.

Then open the .S file with a text editor and search for the letters 'speed' until you find the first instance of SPEEDOMETER_0_14 and change it to be SPEEDOMETER:0:14. Search again and find the second instance of SPEEDOMETER_0_14 and change that also to SPEEDOMETER:0:14. Save the .S file in the text editor.

Now just one more thing. Download the DF11G_3DCab demo (sorry I cant find the link). In the CABVIEW3D folder of that download you will find an ace file called 'SPEED.ACE'. Copy that file and paste it into the CABVIEW3D folder for your model.

Open OR and test.

I still have some outstanding issues like the colour of the display. It appears (and I could be wrong) that you have to change the colour in the SPEED.ACE file if you want the numerals to display in a different colour.

The numbers on the digital display and the F5 view do not match and and the difference roughly equates to the difference between metric and imperial speed measurements. The cvf file in my locomotive uses Units ( KM_PER_HOUR ) for speed indication. When the F5 view displays the loco doing 70 km/h the digital display shows 40.

I'll investigate these issues further but domestic duties call so I gotta go.

I hope this helps.

Cheers,

Marek.

Hi Marek,
I would like to put some of this useful information in the OR manual. I hope you have nothing against it.

#46 User is offline   superheatedsteam 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 501
  • Joined: 28-June 08
  • Location:Perth, WA
  • Country:

Posted 28 February 2015 - 06:19 AM

View PostCsantucci, on 28 February 2015 - 03:14 AM, said:

Hi Marek,
I would like to put some of this useful information in the OR manual. I hope you have nothing against it.


I have nothing against it. Use whatever you desire.

Cheers,

Marek.

#47 User is offline   zaza 

  • Apprentice
  • Group: Status: Inactive
  • Posts: 44
  • Joined: 03-November 13
  • Gender:Male
  • Location:Hungary
  • Simulator:OR
  • Country:

Posted 18 March 2015 - 01:28 PM

Hi guys!

Let me show you one of my work, a Hungarian DMU's cockpit.
Click for a "work in progress" animgif: Click here!

Thank you JTang for this feeling :good:
Everything is fine, I miss only a switch for the instrument light.

#48 User is offline   Hack 

  • Engineer
  • Group: Status: Active Member
  • Posts: 738
  • Joined: 23-November 03
  • Gender:Male
  • Location:Another Planet
  • Country:

Posted 18 March 2015 - 04:20 PM

View Postzaza, on 18 March 2015 - 01:28 PM, said:

Let me show you one of my work, a Hungarian DMU's cockpit.

Oooh - very nice! :good:

#49 User is offline   Sébastien 

  • Apprentice
  • Group: Status: Inactive
  • Posts: 1
  • Joined: 07-December 14
  • Simulator:open rails
  • Country:

Posted 27 November 2016 - 10:40 PM

Great work 3 d cabs are indeed a welcome feature for OR ! :-)

  • 5 Pages +
  • « First
  • 3
  • 4
  • 5
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users