Author Topic: New features in KRP beta14 output plugin interface  (Read 728 times)

HornetMaX

  • Full Member
  • ***
  • Posts: 128
    • View Profile
    • Email
New features in KRP beta14 output plugin interface
« on: July 29, 2015, 10:08:21 PM »
@Piboso: a few questions (no rush):

  • SPluginsTrackSegment_t now has a field m_fHeight for each segment. How has it to be interpreted ? Is it the height at the beginning of the segment ? So I have to take the legnth at the end from the next segment and do linear interpolation along the length ?
  • m_iRaceNum: doe sit idnetify each rider ? Meaning, is it unique per rider connected ? Even if two riders with the same race number (in their profile) connect ?
  • SPluginsRaceCommunication_t = ?

MaX.
Two wheels, more than enough.

PiBoSo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1826
    • View Profile
    • Email
Re: New features in KRP beta14 output plugin interface
« Reply #1 on: July 29, 2015, 10:23:42 PM »
@Piboso: a few questions (no rush):

  • SPluginsTrackSegment_t now has a field m_fHeight for each segment. How has it to be interpreted ? Is it the height at the beginning of the segment ? So I have to take the legnth at the end from the next segment and do linear interpolation along the length ?
  • m_iRaceNum: doe sit idnetify each rider ? Meaning, is it unique per rider connected ? Even if two riders with the same race number (in their profile) connect ?
  • SPluginsRaceCommunication_t = ?

MaX.

1. m_fHeight is the start height of the segment.
2. m_iRaceNum is unique. The driver name isn't.
3. SPluginsRaceCommunication_t is used for penalties and driver change of status ( Retired, DSQ, ... )

HornetMaX

  • Full Member
  • ***
  • Posts: 128
    • View Profile
    • Email
Re: New features in KRP beta14 output plugin interface
« Reply #2 on: July 29, 2015, 11:19:04 PM »
Thanks !

Draw() now seems to get called during replays too (_iState == 1): what other functions of the plugin interface gets called in replay mode ?

MaX.
Two wheels, more than enough.