Results 1 to 6 of 6

Thread: One dial background texture shared by more than one indicator

  1. #1
    Senior Member
    Join Date
    Oct 2010
    Location
    Poland
    Posts
    386

    One dial background texture shared by more than one indicator

    Is it possible, and how, to use one background texture for more then one gauge? For example, water temp and fuel level are sharing the same dial. Water is on the top and fuel is at the bottom.
    I've made material "water_fuel_gauges", named background texture the same "water_fuel_gauges.tga" and use it for both indicators in cockpitinfo as the background texture but only one indicator will work.

    Any suggestions?
    The rig: Win 7 x64 Pro; Intel i3 540; Intel DH57JG; G.Skill 2x4GB; MSI GTX 780 Lightning 3GB; be quiet! Straight Power CM 600W; 2x Dell 22" U2209WA + 1x Dell 22" P2210; The gear: T500 RS + CSPv2;

  2. #2
    Junior Member
    Join Date
    Oct 2010
    Location
    Michigan, USA
    Posts
    9
    I would suggest creating 2 textures for the one gauge since rFactor needs that name to know where to put the needle. Then split your 3d object that is your gauge in half so they are 2 separate models. When they are put together they will look like one gauge. You will probably have to play around a bit to get the needles exactly where you want them but that is how I would do it.

    You may have to reverse the direction the needle sweeps so this entry in your cockpitinfo.ini will let you do that

    FuelLevelClockwise=0 // 0 = counterclockwise, 1 = clockwise (this is obviously the default)

    Bob

  3. #3
    Senior Member
    Join Date
    Oct 2010
    Location
    Poland
    Posts
    386
    Yes, thanks. That's how I would do this to get around the problem but is that mean, rFactor can't support texture sharing for this purpose?
    The rig: Win 7 x64 Pro; Intel i3 540; Intel DH57JG; G.Skill 2x4GB; MSI GTX 780 Lightning 3GB; be quiet! Straight Power CM 600W; 2x Dell 22" U2209WA + 1x Dell 22" P2210; The gear: T500 RS + CSPv2;

  4. #4
    Junior Member
    Join Date
    Oct 2010
    Location
    Michigan, USA
    Posts
    9
    Not that I know of. Maybe someone else knows more about it than I do but as far as I know the entry in the Cockpitinfo.ini file is specifying what texture to use, what parameters to move the needle and what needle texture to use. The needle is then placed on the specified texture. I think each gauge name is hardcoded so I don't think you can mix and match them.

  5. #5
    Junior Member
    Join Date
    Oct 2010
    Location
    Madrid, Spain
    Posts
    29
    Well, I'm afraid there's no other way to do it. Or at least i don't know it. We do it as Bob already explained. We also split the gauge in two, applying different materials (pointing to different texture files) to each part. Then we define the cockpitinfo.ini as he wrote.

    Of course the texture used in both materials can be the same but they must have different file names, but in the end you can't share just one texture file.

    Best regards

  6. #6
    Senior Member
    Join Date
    Oct 2010
    Location
    Poland
    Posts
    386
    Thanks guys.
    The rig: Win 7 x64 Pro; Intel i3 540; Intel DH57JG; G.Skill 2x4GB; MSI GTX 780 Lightning 3GB; be quiet! Straight Power CM 600W; 2x Dell 22" U2209WA + 1x Dell 22" P2210; The gear: T500 RS + CSPv2;

Similar Threads

  1. Shared wheels
    By Popsu in forum Modding - Cars
    Replies: 0
    Last Post: 09-27-2015, 03:57 PM
  2. [HUD] Speed (inertia?) indicator
    By DarylR in forum Rogue System Suggestions
    Replies: 8
    Last Post: 08-24-2015, 07:00 PM
  3. Force Feedback Strength Dial Issue
    By Adrian Romano in forum rFactor 1 Technical Support
    Replies: 2
    Last Post: 10-22-2012, 07:29 AM
  4. Shared Pit Bays
    By MozzMann in forum rFactor 1 Technical Support
    Replies: 0
    Last Post: 07-02-2012, 05:22 AM
  5. Hand Brake Indicator
    By McNolo in forum rFactor 1 Technical Support
    Replies: 1
    Last Post: 03-29-2011, 04:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •