• Welcome to Kart Racing Pro Official Forum. Please login or sign up.
 

New features in KRP beta14 output plugin interface

Started by HornetMaX, July 30, 2015, 12:08:21 AM

Previous topic - Next topic

HornetMaX

@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

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, ... )

HornetMaX

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.