{{ define "title" }} {{ if .IsChampionship }} Championship Event {{ else }} Custom Race {{ end }} {{ end }} {{ define "content" }} {{ $f := .Current }} {{ $trackInfo := trackInfo $f.Track $f.TrackLayout }}

{{ if .IsChampionship }} Championship Event {{ else }} Custom Race {{ end }}

{{ if .IsChampionship }}

Configure an Event for the {{ .Championship.Name }} Championship.

{{ end }}
Track{{ if not .IsChampionship }} & Cars {{ end }} {{ if .IsEditing }} {{ if $.IsChampionship }} {{ else }} {{ end }} {{ end }}
{{ with $trackInfo }}
{{ $trackInfo.Pitboxes }}
{{ end }}
{{ $f.Track }} {{ $f.TrackLayout }}
{{ if not .IsChampionship }}
{{ else }} {{ end }}
{{ if and .IsChampionship .ChampionshipHasAtLeastOnceRace }}
Save Championship Race

The setup below this panel is identical to the previous race setup that you just configured. This means that if you are happy with those settings, you can go on to create another race. If not, feel free to scroll down and change the configuration of this race.

When this race is saved, it will be added to the {{ .Championship.Name }} Championship. You can add more races below, or, if you're done creating the championship, you can complete its setup here.

{{ end }}
Sessions
{{ range $index, $sessionType := .AvailableSessions }}
{{ $hasSession := $f.HasSession $sessionType }} {{ $session := index $f.Sessions $sessionType }}
{{ if eq $sessionType "BOOK" }}

Enabling Booking Mode means that you cannot configure a specific EntryList. The server will start with Pickup mode disabled and Entrants must choose their car and livery during the Booking session time. {{ end }}
{{ end }}
Entry List
Maximum number of clients allowed on the server. {{ if gt $.MaxClientsOverride 0 }} Cannot be greater than {{ $.MaxClientsOverride }}. (This value is restricted by your hosting provider.)
{{ end }}
{{ if not .IsChampionship }}

Only players already included in the entry list can join the server. This setting uses the PickupModeEnabled option in the Assetto Corsa configuration file. Note, when Locked Entry List is ON, sessions with Loop Mode ON will require players to rejoin the server when the server loops.

If you add an Entrant once, the next time you add an Entrant, the 'name' input will give you suggestions and auto-populate the Entrant's Name, Team and GUID.

{{ template "entrant" }}
{{ end }}
{{ range $index, $entrant := .CurrentEntrants.AsSlice }}
{{ template "entrant" dict "Entrant" $entrant "IsChampionshipEvent" $.IsChampionship }}
{{ else }}
{{ template "entrant" }}
{{ end }}
{{ if not .IsChampionship }}

Car, Skin, Ballast, Restrictor and Fixed Setup from the last Entrant will be cloned into new Entrants.

{{ end }}

Booking Mode is enabled. You cannot configure specific drivers in the EntryList. Pickup Mode will be disabled.

Assists



At the start of the session or after a pitstop, tyres will have the the optimal temperature.
Weather
{{ if .SolIsInstalled }}
Allows for 24 hour time cycles. The server treats time differently if enabled. Clients also require Sol and Content Manager {{ else }}

Sol isn't installed. Please upload your Sol weathers if you want to use Sol.

{{ end }}
Min speed of the session possible
Max speed of session possible (max 40)
Base direction of the wind (wind is pointing at); 0 = North, 90 = East etc
Variation (+ or -) of the base direction

Each new session will randomly select its weather configuration from the below options.

{{ $weatherIndex := 0 }} {{ $weatherOptions := .Weather }} {{ range $index, $weather := $f.Weather }}
{{ $weatherIndex }}
This value will be added to the final ambient temp. Value can be negative.
Variation of the ambient's temperature. In this example final ambient's temperature can be 16 or 20
Variation of the road's temperature. Like the ambient one
{{ $weather.TrimName $weather.Graphics }}
{{ $weatherIndex = add $weatherIndex 1 }} {{ end }}
Realism
{{ $allTyres := .Tyres }}
List of tyres short names that are allowed
Fuel usage from 0 (no fuel usage) to XXX (100 is the realistic one)
Damage from 0 (no damage) to 100 (full damage)
Tyre wear from 0 (no tyre wear) to XXX (100 is the realistic one)

Force clients to use Virtual Mirrors (does not work in VR)

Dynamic Track

Dynamic Track Presets
% level of grip at session start
Level of randomness added to the start grip
How much of the gained grip is to be added to the next session 100 -> all the gained grip. Example: difference between starting (90) and ending (96) grip in the session = 6%, with session_transfer = 50 then the next session is going to start with 93.
How many laps are needed to add 1% grip
Rules
The max total of ballast that can be added through the admin command
The number of tyres allowed outside of track limits before a penalty is applied. -1 disables.
Maximum number times you can make contact with another car in 1 kilometer. -1 = no limit. (We had mixed results using this in our testing. Use with caution.)
If race has 3 or less laps then the Teleport penalty is enabled.
{{ if not $.IsChampionship }}

The server restarts from the first event after the previous event has finished
{{ end }}
Seconds of result screen between racing sessions
{{ if .IsChampionship }}
Save Championship Event
{{ if .IsEditing }}

This edited setup will overwrite the {{ add .EditingID 1 }}{{ ordinal (add .EditingID 1) }} Event in the {{ .Championship.Name }} Championship.

{{ else }}

When this event is saved, it will be added to the {{ .Championship.Name }} Championship. You can add more events below, or, if you're done creating the championship, you can complete its setup here.

{{ end }}
{{ if not .IsEditing }} {{ else }} {{ end }}
{{ else }}
Save Custom Race
The name above will be used on the Custom Races page.

If enabled then the server password will be replaced for this event.
{{ if not .IsEditing }}
If these fields are both populated then the race will start at a scheduled time. This date/time is in your timezone ().
{{ end }}
{{ if not .IsEditing }} {{ else }} {{ end }}
{{ end }}
{{ end }}