Kart Racing Pro Official Forum

Mods => Plugins => Topic started by: HornetMaX on July 30, 2015, 12:08:21 AM

Title: New features in KRP beta14 output plugin interface
Post by: HornetMaX on July 30, 2015, 12:08:21 AM
@Piboso: a few questions (no rush):


MaX.
Title: Re: New features in KRP beta14 output plugin interface
Post by: PiBoSo on July 30, 2015, 12:23:42 AM
Quote from: HornetMaX on July 30, 2015, 12:08:21 AM
@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, ... )
Title: Re: New features in KRP beta14 output plugin interface
Post by: HornetMaX on July 30, 2015, 01:19:04 AM
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.