1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SimHub Support

Discussion in 'Automobilista 2 - General Discussion' started by Leadbelly, Apr 2, 2020.

  1. 2ndLastJedi

    2ndLastJedi Free speech matters AMS2 Club Member

    Joined:
    Sep 7, 2016
    Messages:
    4,856
    Likes Received:
    2,122
    Agree, although i don't use Crew Chief, i find it annoying having someone in my ear...
     
  2. Marius H

    Marius H Internal Beta Tester Staff Member AMS2 Club Member

    Joined:
    Mar 24, 2016
    Messages:
    5,310
    Likes Received:
    2,067
    Well, coloured images are easy, but I want % in the engine-square being shown, so yeah. But that 0 - 1 bug is annoying :D
     
  3. Bull Shark

    Bull Shark "Later has already begun." AMS2 Club Member

    Joined:
    Jun 30, 2019
    Messages:
    1,017
    Likes Received:
    450
    Really? I love it. Racing without feels like walking naked in the streets. :D
     
    • Agree Agree x 2
  4. 2ndLastJedi

    2ndLastJedi Free speech matters AMS2 Club Member

    Joined:
    Sep 7, 2016
    Messages:
    4,856
    Likes Received:
    2,122
    Well I love walking naked in the street :eek: so maybe I should retry CC .
    I can get engine damage in %, is that what your having trouble with? I thought it was suspension damage?
     
    • Funny Funny x 1
  5. F1Aussie

    F1Aussie Well-Known Member AMS2 Club Member

    Joined:
    Mar 21, 2016
    Messages:
    2,178
    Likes Received:
    612
    Do you lose any fps or get choppy graphics at all using simhub dashes? I tried one recently for a couple of weeks and found my graphics became stuttery, when I stop using it the stutters stopped.
     
  6. 2ndLastJedi

    2ndLastJedi Free speech matters AMS2 Club Member

    Joined:
    Sep 7, 2016
    Messages:
    4,856
    Likes Received:
    2,122
    No one issue even on my aging 4 core CPU. I only need 60fps though and have looked in task manager to see what load SimHub creates and it was minimal.
     
  7. Bull Shark

    Bull Shark "Later has already begun." AMS2 Club Member

    Joined:
    Jun 30, 2019
    Messages:
    1,017
    Likes Received:
    450
    Same over here. No FPS drop whatsoever :D
     
  8. F1Aussie

    F1Aussie Well-Known Member AMS2 Club Member

    Joined:
    Mar 21, 2016
    Messages:
    2,178
    Likes Received:
    612
    Okay, might have to try that with TM. Is there a way you can view TM info in-game?
     
  9. Marius H

    Marius H Internal Beta Tester Staff Member AMS2 Club Member

    Joined:
    Mar 24, 2016
    Messages:
    5,310
    Likes Received:
    2,067
    In the red square I want to see the damage being shown in %. I already have made the background changing colours. That works amazing.

    I am using ''[DataCorePlugin.GameRawData.mEngineDamage]'' I tried a bunch of things, but now using 0,00. So it hopefully says 0,05 as in 5% damage in the AMS 2 widget. Can't make the 0 - 1 shown as %.

    Suspension damage is fine because I use the coloured retangles in my 'car-widget' for it.
     

    Attached Files:

  10. 2ndLastJedi

    2ndLastJedi Free speech matters AMS2 Club Member

    Joined:
    Sep 7, 2016
    Messages:
    4,856
    Likes Received:
    2,122
    In that Lancer dash i shared with you on Steam a few weeks back you can see the engine damage working in % there ;)
    I used
    [DataCorePlugin.GameData.NewData.CarDamage1]
    in the text binding and made it change colour with the same code.
     

    Attached Files:

  11. Marius H

    Marius H Internal Beta Tester Staff Member AMS2 Club Member

    Joined:
    Mar 24, 2016
    Messages:
    5,310
    Likes Received:
    2,067
    @2ndLastJedi Ah.. **** me, right? :D Lets try that.
    Edit: I believe it works. Gonna test after my nap. Need to abuse some cars by grinding the RPM :D
     
    Last edited: May 23, 2021
  12. 2ndLastJedi

    2ndLastJedi Free speech matters AMS2 Club Member

    Joined:
    Sep 7, 2016
    Messages:
    4,856
    Likes Received:
    2,122
    [GameRawData.mEngineDamage]*100 seems the engine
     
    • Like Like x 1
    • Winner Winner x 1
  13. newtonpg

    newtonpg Active Member AMS2 Club Member

    Joined:
    Dec 29, 2018
    Messages:
    543
    Likes Received:
    181
    It's easy to get what you need. Sorry if I can't be more objective as I'm far away from my rig.

    Just multiply the property by 100, this way:
    100 * [DataCorePlugin.GameRawData.mEngineDamage]

    PS: Please consider to format output as integer

    [Edit] Hey Jedy, I'm second after you!
     
    • Like Like x 1
    • Winner Winner x 1
  14. 2ndLastJedi

    2ndLastJedi Free speech matters AMS2 Club Member

    Joined:
    Sep 7, 2016
    Messages:
    4,856
    Likes Received:
    2,122
    Too slow Joe :p
    Do you know how to get front and rear bar damage? I thought i had it but smashing cars and checking numbers, they are not right!!
     
  15. 2ndLastJedi

    2ndLastJedi Free speech matters AMS2 Club Member

    Joined:
    Sep 7, 2016
    Messages:
    4,856
    Likes Received:
    2,122
    Hope you don't mind but i used your chassis as inspiration :whistle:
    Screenshot (80).png
    Its done now, with engine and suspension damage ;)
     
    • Like Like x 2
  16. newtonpg

    newtonpg Active Member AMS2 Club Member

    Joined:
    Dec 29, 2018
    Messages:
    543
    Likes Received:
    181
    No, I don't as I just never needed it.
    I would suggest you to compare the general property with the correlated game specific property as some may differ. More than this, some results may differ if you setting up AMS2 to Simhub by UDP (experimental) or shared memory (standard).
     
    • Like Like x 1
  17. 2ndLastJedi

    2ndLastJedi Free speech matters AMS2 Club Member

    Joined:
    Sep 7, 2016
    Messages:
    4,856
    Likes Received:
    2,122
    Yeah thanks but im happy with just suspension and engine damage. Not going to use UDP either, ive heard it causes unwanted side effects.
     
  18. newtonpg

    newtonpg Active Member AMS2 Club Member

    Joined:
    Dec 29, 2018
    Messages:
    543
    Likes Received:
    181
    Absolutely no side effect on my side but I also heard others complaining.
    Some properties like I-M-O tyre temps give wrong numbers in SM but identical to telemetry Hud via UDP
     
  19. Marius H

    Marius H Internal Beta Tester Staff Member AMS2 Club Member

    Joined:
    Mar 24, 2016
    Messages:
    5,310
    Likes Received:
    2,067
    Ahhh there's always someone who know things better. Thank you!!!!!!!!
    :cool::cool::cool::cool::cool::cool::cool: You guys are amazing. Couldn't sleep yesterday because I was thinking and thinking how to solve mEnginedamage, haha
     
  20. Marius H

    Marius H Internal Beta Tester Staff Member AMS2 Club Member

    Joined:
    Mar 24, 2016
    Messages:
    5,310
    Likes Received:
    2,067
    @2ndLastJedi @newtonpg Its *1. Tested it on the Copa Chevvy. Works amazing. Now needto makeit % rather that 0.01, 0.20 and 1.00 etc. But it work, Going to take a look into formats

    format(isnull([GameRawData.mEngineDamage]*100,0),'0')+'%'
    :cool::cool::cool::cool::cool::cool::cool:
    Edit: Guess I do without the %, because ingame it has no %
     
    Last edited: May 23, 2021

Share This Page