1+ {
2+ "id" : " sample-custom-test" ,
3+
4+ "activities" : [
5+ {
6+ "nodeType" : " PerformanceCenterScriptedActivity" ,
7+ "id" : " custom-test-sample" ,
8+ "introMessage" : {
9+ "header" : " CUSTOM TEST" ,
10+ "description" : " You will be hitting 4 shots with different clubs in varied scenarios" ,
11+ "seconds" : 6
12+ },
13+ "endMessage" : {
14+ "header" : " TEST ENDED" ,
15+ "description" : " " ,
16+ "seconds" : 6
17+ },
18+ "steps" : [
19+ {
20+ "nodeType" : " PerformanceCenterScriptedStep" ,
21+ "id" : " task-1-sample-id" ,
22+ "introMessage" : {
23+ "header" : " Shot 1" ,
24+ "description" : " Hit your driver off the tee" ,
25+ "seconds" : 5
26+ },
27+ "successMessage" : {
28+ "header" : " Success!" ,
29+ "description" : " " ,
30+ "seconds" : 3
31+ },
32+ "failMessage" : {
33+ "header" : " Failed" ,
34+ "description" : " " ,
35+ "seconds" : 3
36+ },
37+ "logic" : {
38+ "nodeType" : " PerformanceCenterScriptedLogic" ,
39+ "setup" : {
40+ "nodeType" : " PerformanceCenterTeeShotsScriptedSetup" ,
41+ "hole" : 2 ,
42+ "playerCategory" : " Handicap" ,
43+ "hcp" : 15 ,
44+ "gender" : " Male" ,
45+ "courseDistance" : 5000 ,
46+ "club" : " Drv"
47+ },
48+ "successCondition" : {
49+ "nodeType" : " PerformanceCenterScriptedConditions" ,
50+ "shots" : 1
51+ },
52+ "skipOnSuccess" : true
53+ },
54+ "ui" : {
55+ "nodeType" : " PerformanceCenterScriptedUI" ,
56+ "activeDataTiles" : [ " Total" , " Carry" , " ClubSpeed" , " BallSpeed" , " AttackAngle" ],
57+ "shotListParameters" : [ " Total" , " Carry" , " ClubSpeed" , " BallSpeed" ],
58+ "defaultShotListParameter" : " Total" ,
59+ "beforeShot" : {
60+ "removeFrames" : [ " Player" , " StrokesGainedSummaryTile" , " StrokesGainedShotResult" , " TargetCarry" ],
61+ "disableFrames" : [ " Tiles" , " ShotList" , " GoToSetup" , " Minimap" ]
62+ },
63+ "duringShot" : {
64+ "removeFrames" : [ " LandingCamera" , " BroadcastTiles" , " GoToSetup" , " ClubDelivery" , " Tiles" , " Player" , " Minimap" ]
65+ },
66+ "afterShot" : {
67+ "removeFrames" : [ " GoToSetup" , " StrokesGainedSummaryTile" , " StrokesGainedShotResult" ],
68+ "addFrames" : [" AllTiles" ]
69+ }
70+ }
71+ },
72+ {
73+ "nodeType" : " PerformanceCenterScriptedStep" ,
74+ "id" : " task-2-sample-id" ,
75+ "introMessage" : {
76+ "header" : " Shot 2" ,
77+ "description" : " Hit a 7-iron for your approach shot" ,
78+ "seconds" : 5
79+ },
80+ "successMessage" : {
81+ "header" : " Success!" ,
82+ "description" : " " ,
83+ "seconds" : 3
84+ },
85+ "failMessage" : {
86+ "header" : " Failed" ,
87+ "description" : " " ,
88+ "seconds" : 3
89+ },
90+ "logic" : {
91+ "nodeType" : " PerformanceCenterScriptedLogic" ,
92+ "setup" : {
93+ "nodeType" : " PerformanceCenterApproachScriptedSetup" ,
94+ "hole" : 1 ,
95+ "pin" : 3 ,
96+ "playerCategory" : " Handicap" ,
97+ "hcp" : 15 ,
98+ "gender" : " Male" ,
99+ "minDistance" : 150 ,
100+ "maxDistance" : 150 ,
101+ "club" : " _7I"
102+ },
103+ "successCondition" : {
104+ "nodeType" : " PerformanceCenterScriptedConditions" ,
105+ "shots" : 1
106+ },
107+ "skipOnSuccess" : true
108+ },
109+ "ui" : {
110+ "nodeType" : " PerformanceCenterScriptedUI" ,
111+ "activeDataTiles" : [ " Total" , " Carry" , " ClubSpeed" , " BallSpeed" , " AttackAngle" ],
112+ "shotListParameters" : [ " Total" , " Carry" , " ClubSpeed" , " BallSpeed" ],
113+ "defaultShotListParameter" : " Total"
114+ }
115+ },
116+ {
117+ "nodeType" : " PerformanceCenterScriptedStep" ,
118+ "id" : " task-3-sample-id" ,
119+ "introMessage" : {
120+ "header" : " Shot 3" ,
121+ "description" : " Hit your driver off the tee" ,
122+ "seconds" : 5
123+ },
124+ "successMessage" : {
125+ "header" : " Success!" ,
126+ "description" : " " ,
127+ "seconds" : 3
128+ },
129+ "failMessage" : {
130+ "header" : " Failed" ,
131+ "description" : " " ,
132+ "seconds" : 3
133+ },
134+ "logic" : {
135+ "nodeType" : " PerformanceCenterScriptedLogic" ,
136+ "setup" : {
137+ "nodeType" : " PerformanceCenterTeeShotsScriptedSetup" ,
138+ "hole" : 2 ,
139+ "playerCategory" : " Handicap" ,
140+ "hcp" : 15 ,
141+ "gender" : " Male" ,
142+ "courseDistance" : 5000 ,
143+ "club" : " Drv"
144+ },
145+ "successCondition" : {
146+ "nodeType" : " PerformanceCenterScriptedConditions" ,
147+ "shots" : 1
148+ },
149+ "skipOnSuccess" : true
150+ },
151+ "ui" : {
152+ "nodeType" : " PerformanceCenterScriptedUI" ,
153+ "activeDataTiles" : [ " Total" , " Carry" , " ClubSpeed" , " BallSpeed" , " AttackAngle" ],
154+ "shotListParameters" : [ " Total" , " Carry" , " ClubSpeed" , " BallSpeed" ],
155+ "defaultShotListParameter" : " Total"
156+ }
157+ },
158+ {
159+ "nodeType" : " PerformanceCenterScriptedStep" ,
160+ "id" : " task-4-sample-id" ,
161+ "introMessage" : {
162+ "header" : " Shot 4" ,
163+ "description" : " Hit a PW for your approach shot" ,
164+ "seconds" : 5
165+ },
166+ "successMessage" : {
167+ "header" : " Success!" ,
168+ "description" : " " ,
169+ "seconds" : 3
170+ },
171+ "failMessage" : {
172+ "header" : " Failed" ,
173+ "description" : " " ,
174+ "seconds" : 3
175+ },
176+ "logic" : {
177+ "nodeType" : " PerformanceCenterScriptedLogic" ,
178+ "setup" : {
179+ "nodeType" : " PerformanceCenterApproachScriptedSetup" ,
180+ "hole" : 3 ,
181+ "pin" : 1 ,
182+ "playerCategory" : " Handicap" ,
183+ "hcp" : 15 ,
184+ "gender" : " Male" ,
185+ "minDistance" : 150 ,
186+ "maxDistance" : 150 ,
187+ "club" : " _PW"
188+ },
189+ "successCondition" : {
190+ "nodeType" : " PerformanceCenterScriptedConditions" ,
191+ "shots" : 1
192+ },
193+ "skipOnSuccess" : true
194+ },
195+ "ui" : {
196+ "nodeType" : " PerformanceCenterScriptedUI" ,
197+ "activeDataTiles" : [ " Total" , " Carry" , " ClubSpeed" , " BallSpeed" , " AttackAngle" ],
198+ "shotListParameters" : [ " Total" , " Carry" , " ClubSpeed" , " BallSpeed" ],
199+ "defaultShotListParameter" : " Total"
200+ }
201+ }
202+ ]
203+ }
204+ ],
205+ "startMode" : " Append" ,
206+ "endMode" : " Wait"
207+ }
0 commit comments