Creating Races for MSFS: Difference between revisions

From FSDeveloper Wiki
Jump to navigationJump to search
(Created page on creating races for MSFS)
 
m (Replaced Applicable-FSVersion for MSFS with MSFS2020, added MSFS2024)
 
Line 4: Line 4:


{{Infobox-Applicable-FSVersion
{{Infobox-Applicable-FSVersion
| MSFS = true
| MSFS2024 = unknown
| MSFS2020 = true
| FSXI = false
| FSXI = false
| P3D5 = false
| P3D5 = false

Latest revision as of 12:48, 25 May 2024


The process for creating races in MSFS differs a bit from the normal mission creation process.

Mission elements

Race object hierarchy

  • Player
    • RacerData
      • TimePenaltyAction
      • DisqualifyPlayerAction
      • RacePointResult
        • RaceEndTrigger
    • AllowableContainersReference
      • AllowableContainerList
  • RaceCourse
    • RaceAltitudeSamples
      • AltitudeSample
  • RaceInfo
    • RaceCourseActivateAction
    • RaceClockStartAction
  • Race Points
    • PylonRacePoint
    • GateRacePoint
    • VolumeRacePoint
    • ConditionRacePoint

Triggers

  • RaceEndTrigger
  • LastLapTrigger

Actions

  • DisqualifyPlayerAction
  • RaceCourseActivateAction
  • RaceClockStartAction
  • TimePenaltyAction
  • BackOnTrackAction
  • ServerToClientAction
  • ServerRaceStateAction

Mission objects

  • MissionLowAltitude
  • MissionRaceRedbull
  • MissionRaceReno

Calculator

  • RacerCalculator
    • RacerParameter

Flow states

  • FlowPlaneSelection
    • FlowPlaneSelectionChoices
      • FlowPlaneSelectionChoice
        • RenoCategory
        • ObjectReferenceList
          • FlowPlaneSelectionVariation
            • ObjectReference
Flow States
RACE_BASE
RACE_LOWALTITUDE
RACE_REDBULL
RACE_RENO
RACE_CRASHED_OR_DISQUALIFIED
RACE_LOBBY_BASE
RACE_LOBBY_REDBULL
RACE_WAIT
RACE_WAIT_PLAYERS_LOADING
RACE_WAIT_PLAYERS_FINISHED
RACE_WAIT_OPENING_RTC
RACE_WAIT_OPENING_RTC_EDITION
RACE_FINISH
QUALIFICATIONS_BASE
QUALIFICATIONS_RENO
QUALIFICATIONS_WAIT_OPENING_RTC
QUALIFICATIONS_WAIT_PLAYERS_FINISHED
QUALIFICATIONS_FINISH
RENO_MENU_INTRO
RENO_MENU_GAMEMODE
RENO_MENU_QUICK_BASE
RENO_MENU_QUICK_CATEGORY
RENO_MENU_QUICK_PLANE
RENO_MENU_QUICK_SEARCHMATCH
RENO_MENU_QUICK_WAITREADY
RENO_MENU_PRIVATE_BASE
RENO_MENU_PRIVATE_WAIT_SERVER
RENO_MENU_PRIVATE_CATEGORY
RENO_MENU_PRIVATE_PLANE
RENO_MENU_PRIVATE_WAITREADY
RENO_MENU_SOLO_BASE
RENO_MENU_SOLO_CATEGORY
RENO_MENU_SOLO_PLANE
RENO_MENU_SOLO_SETTINGS
Flow Events
RENO_MENU_SHOW
START_RENO_RACE_INGAME_DIALOG
SHOW_RENO_RTC_HUD
HIDE_RENO_RTC_HUD
Pages relevant to mission creation for MSFS.

Mission structure

Flightplan
Weather definitions
Flight file
Mission script
Triggers
AirportLandingTrigger & AreaLandingTrigger · CounterTrigger · PropertyTrigger · ProximityTrigger · TimerTrigger
Actions
ObjectActivationAction · DialogAction · AdjustPayloadAction · ChangeAssistanceItemAction · FadeToColorAction · RandomAction · RequestTeleportAction · CountAction · ResetTimerAction · TimerAdjustAction · GoalResolutionAction & SubGoalResolutionAction · GrantRewardAction · PointOfInterestActivationAction · ActivateWaypointsAction · AITakeControlsAction · SendMessageToAIAction
Mission objects
Mission definition · Goal · LivingWorldExclusion · Camera
Calculator
Flow states
Events
Areas
Rectangle Area · Cylinder Area · Polygon Area · Corridor Area · InGameMarker
Library objects
Sim objects
RTC

Mission tools

MSFS Script Editor · BushTripInjector · BushMissionGen · MSFSLocalizer · SPB2XML · Little Navmap

Other

Example mission files
Porting FSX Missions to MSFS
Localisation
Click the links to access the topic pages (Default - Opens in same window).