Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RACE: Allow race routes to be defined by map entities #20

Merged
merged 1 commit into from
Jan 13, 2016

Conversation

meag
Copy link
Collaborator

@meag meag commented Jan 8, 2016

This is to so KTX doesn't need to be updated whenever a new race map
is created.

Two new entity types:
race_route_start
race_route_marker

race_route_start requires the following properties:
origin (vector)
race_route_name (string)
race_route_description (string)
race_route_timeout (int)
race_route_weapon_mode (enum - matches KTX raceWeapoMode_t)
race_route_falsestart_mode (enum - matches KTX raceFalseStartMode_t)
target (string, must point to corresponding race_route_marker)

race_route_marker requires:
origin (vector)
targetname (string)

Each entity links to next marker through target attribute, the last marker
in the sequence is considered the end of the route.

This is to so KTX doesn't need to be updated whenever a new race map
is created.

Two new entity types:
  race_route_start
  race_route_marker

race_route_start requires the following properties:
  origin (vector)
  race_route_name (string)
  race_route_description (string)
  race_route_timeout (int)
  race_route_weapon_mode (enum - matches KTX raceWeapoMode_t)
  race_route_falsestart_mode (enum - matches KTX raceFalseStartMode_t)
  target (string, must point to corresponding race_route_marker)

race_route_marker requires:
  origin (vector)
  targetname (string)

Each entity links to next marker through target attribute, the last marker
in the sequence is considered the end of the route.
meag added a commit that referenced this pull request Jan 13, 2016
RACE: Allow race routes to be defined by map entities
@meag meag merged commit 726f47c into QW-Group:master Jan 13, 2016
@meag meag deleted the race-ext branch January 13, 2016 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant