Skip to content

Commit

Permalink
Merge pull request #299 from AsherGlick/adding_more_examples
Browse files Browse the repository at this point in the history
Adding more examples to the documentation
  • Loading branch information
AsherGlick authored May 26, 2024
2 parents d5f02a2 + 53618cb commit 21333c0
Show file tree
Hide file tree
Showing 12 changed files with 635 additions and 2 deletions.
2 changes: 2 additions & 0 deletions xml_converter/doc/acheivement/achievement_id.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ type: Int32
applies_to: [Icon, Trail]
xml_fields: ["AchievementId"]
protobuf_field: achievement_id
examples:
- "2655"
---
An achivement that, if completed, will hide this marker

Expand Down
4 changes: 4 additions & 0 deletions xml_converter/doc/category/category.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ class: MarkerCategory
applies_to: [Icon, Trail]
xml_fields: [Type, Category]
protobuf_field: category
examples:
- "mycategory"
- "mycategory.subcategory"
- "mycategory.subcategory.subsubcategory"
custom_functions:
read.proto:
function: do_nothing
Expand Down
5 changes: 5 additions & 0 deletions xml_converter/doc/fade/distance_fade_end.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@ type: Float32
applies_to: [Icon, Trail]
xml_fields: [FadeFar, DistanceFadeEnd]
protobuf_field: distance_fade_end
examples:
- "850"
- "600"
- "1100"
---
Any part of the object that is farther then this value will be at 0 alpha.
Defaults to 900

Notes
=====
Expand Down
5 changes: 5 additions & 0 deletions xml_converter/doc/fade/distance_fade_start.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@ type: Float32
applies_to: [Icon, Trail]
xml_fields: [FadeNear, DistanceFadeStart]
protobuf_field: distance_fade_start
examples:
- "650"
- "400"
- "900"
---
Any part of the object that is farther then this value will begin to alpha fade gradually until it reaches 0 alpha at Distance Fade End.
Defaults to 700

Notes
=====
Expand Down
4 changes: 4 additions & 0 deletions xml_converter/doc/map_id/map_id.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ type: Int32
applies_to: [Icon, Trail]
xml_fields: [MapID]
protobuf_field: map_id
examples:
- "24"
- "50"
- "1509"
---
The Map which this marker should be displayed on.

Expand Down
3 changes: 3 additions & 0 deletions xml_converter/doc/menu/display_name.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ type: String
applies_to: [Category]
xml_fields: [DisplayName]
protobuf_field: name
examples:
- "My Category"
- "Tribulation Mode 203"
custom_functions:
read.proto:
function: proto_display_name_to_display_name_and_name
Expand Down
5 changes: 5 additions & 0 deletions xml_converter/doc/menu/menu_id.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ class: UniqueId
xml_fields: [ID, MenuID]
applies_to: [Category]
protobuf_field: id
examples:
- "KOjMBsKTXpY="
- "LJKn7WpADjo="
- "uJrcuLd4as8="
- "cCxU1IXfiKQ="
---

Notes
Expand Down
3 changes: 3 additions & 0 deletions xml_converter/doc/menu/name.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ type: String
applies_to: [Category]
xml_fields: [Name]
protobuf_field: name
examples:
- "mycategory"
- "tribulationmode203"
custom_functions:
read.proto:
function: do_nothing
Expand Down
2 changes: 2 additions & 0 deletions xml_converter/doc/position/height_offset.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ type: Float32
applies_to: ["Icon"]
xml_fields: ["HeightOffset", "BHHeightOffset"]
protobuf_field: height_offset
examples:
- "0"
---
A vertical offset of the object from the recorded position.

Expand Down
Loading

0 comments on commit 21333c0

Please sign in to comment.