1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
|
{
"uid": "E25F8262K9A03A4F06S8150E2C3BB17CC376",
"isLoaded": true,
"lastModificationTime": 0,
"items": {
"parentId": "7A22C363K2908A4E47S847CEF6497E3C751F",
"displayName": "$$64CAE0D17F2919448B3B07B1AFB0694F6E28",
"windowTitle": "Change Expression",
"type": "event_command",
"id": "vn.CharacterChangeExpression",
"group": "$$1CCE5315K1F61A4059SBC64E0B6CECA383C3",
"subGroup": "$$9E1A5407531CC141D66911387F0B53C14B4F",
"windowSize": {
"w": 700
},
"bindings": [
{
"source": "local.data.expressions",
"to": "expressions",
"target": "content"
}
],
"defaultValue": {
"easing": {
"type": 0,
"inOut": 1
},
"animation": {
"type": 1,
"fading": 0,
"movement": 0,
"mask": {
"graphic": null,
"vague": 30
}
},
"duration": 10,
"waitForCompletion": 1,
"characterId": null,
"expressionId": 0
},
"inlineImage": {
"formula": "return !GSIsNull(p.expressionId) ? GS.VN.resourceForExpression(p.expressionId) : null;",
"folder": "Graphics/Characters"
},
"quickItems": [
{
"label": "$$1CCE5315K1F61A4059SBC64E0B6CECA383C3",
"valueFormula": "return fmtRecord('characters', p.characterId)",
"attribute": "characterId",
"identifier": "character",
"type": "GSQDataRecordField",
"dataSource": "characters"
},
{
"label": "$$3DAF7BAF14E7D240E589BF03BA968C8A8336",
"valueFormula": "return !GSIsNull(p.expressionId) ? fmtRecord('characterExpressions', p.expressionId) : lcs('P113');",
"type": "GSQDataRecordField",
"dataSource": "characterExpressions",
"attribute": "expressionId"
},
{
"label": "$$0BD2456DK1DA1A4C2DS9C03EAC7A2C6C7815",
"valueFormula": "return fmtDuration(fmtNumVar(p.duration))",
"valueTranslator": {
"write": "return v / 1000 * GS.CONST.GAME_FRAME_RATE",
"read": "return ROUND(v / GS.CONST.GAME_FRAME_RATE * 1000)"
},
"type": "GSQStepper",
"attribute": "duration",
"identifier": "duration",
"variableButton": {
"dataSource": "numbers"
},
"minimum": 0,
"maximum": 999999999,
"lockable": true
},
{
"type": "GSQPopupField",
"attribute": "waitForCompletion",
"identifier": "waitForCompletion",
"dataSource": [
"$$2EA7A7BF12D3404F62094CA6644784A9FC40",
"$$97A5E676K2351A43FCSB0DFEBB5CF7A73243"
],
"valueFormula": "return (p.waitForCompletion ? lcs('97A5E676K2351A43FCSB0DFEBB5CF7A73243') : lcs('2EA7A7BF12D3404F62094CA6644784A9FC40'))"
}
],
"expandedView": {
"columns": [
{
"sections": [
{
"label": "$$4B6665ACK640FA4A19S89F1E4F1070280626",
"rows": [
{
"items": [
{
"label": "$$858E29BD598E6544DD49356017DFC223DA6F",
"type": "GSQPopupField",
"attribute": "easing.type",
"lockable": true,
"width": "50%",
"dataSource": [
"$$B04840A62C08B644918821142386D7EEB014",
"$$99D9039B6FF24440998B5ED62A44E25D562A",
"$$6DB3AC545EBEF747C56BB237892A2FE7DC6A",
"$$087E67D05860D644FC9A87C91B303A91E774",
"$$5101E7646B6A284EC5385FF42CC39E29BC20",
"$$9DEB76CD12AA024F65384215C8DF97C64463",
"$$757243FE807A124F5058CEA6DC72BB24F1AD",
"$$22D2BB118D79E248023904E4E5DCF459C2B2"
],
"valueFormula": "return GS.CONST.EASING_TYPES[p.easing.type]"
},
{
"label": "",
"width": "auto",
"unlockItems": [
"easing.type"
],
"type": "GSQPopupField",
"attribute": "easing.inOut",
"dataSource": [
"$$19C38D481D2B4947845AFB426AA83A22A24E",
"$$636489127D19D648ED6BB357549054B90E98",
"$$03359F826080274E018A4693CE01C765D700"
],
"valueFormula": "return GS.CONST.EASING_IN_OUT[p.easing.inOut]"
}
]
},
{
"items": [
{
"type": "GSQPopupField",
"attribute": "animation.type",
"width": "50%",
"lockable": true,
"label": "$$9D7B8871KE8A7A410ES8CA3EA1F415A8BEA7",
"dataSource": [
"$$2683C0C34985474F713910185340D35D3108",
"$$P177",
"$$000ADEF46265D146AF5893C3E8B9A840397F"
],
"valueFormula": "return GS.CONST.APPEARANCE_ANIMATION_TYPES[p.animation.type]",
"showItems": [
[
"animation_movement"
],
[],
[
"animation_maskFile",
"animation_maskVague"
]
]
},
{
"identifier": "animation_movement",
"dataSource": [
"$$DA8B51B3KB92CA46EFSB9A9EDF4D4C81A9B8",
"$$0E468336KEA04A497CS8813E5A7FA8B85AF5",
"$$927A7043KEE05A4A52SA7C9E418BAF35232F",
"$$EB59D1CFK6206A4F2BSB258EE66915195A6D"
],
"type": "GSQPopupField",
"width": "auto",
"unlockItems": [
"animation.type"
],
"attribute": "animation.movement",
"valueFormula": "return GS.CONST.MOVE_ANIMATION_TYPES[p.animation.movement]"
},
{
"label": "$$P61",
"valueFormula": "return fmtResource(p.animation.mask.graphic);",
"attribute": "animation.mask.graphic",
"variableButton": {
"dataSource": "strings"
},
"identifier": "animation_maskFile",
"type": "GSQPopupField",
"unlockItems": [
"animation.type"
],
"dataAttribute": "resource",
"dialog": {
"uid": "dialog.selectGraphicResource",
"parameters": {
"folder": "Graphics/Masks"
}
}
},
{
"label": "$$A20F74E20798454C200A83253DEACB863B87",
"identifier": "animation_maskVague",
"variableButton": {
"dataSource": "numbers"
},
"type": "GSQStepper",
"unlockItems": [
"animation.type"
],
"attribute": "animation.mask.vague",
"minimum": 0,
"maximum": 255
},
{
"identifier": "animation_fading",
"dataSource": [
"$$41D48F43612C2447A13B60F2E4770ADA56DA",
"$$F6DA368B2E939840E94AE027EDD6869670E2"
],
"type": "GSQPopupField",
"unlockItems": [
"animation.type"
],
"width": "auto",
"attribute": "animation.fading",
"valueFormula": "return GS.CONST.ANIMATION_FADING_TYPES[p.animation.fading]"
}
]
}
]
}
]
}
]
},
"rawContent": "{\n \"parentId\": \"AFAD6CEFK59C1A4298SBABFE7AEC1B964622\",\n \"displayName\": \"$$64CAE0D17F2919448B3B07B1AFB0694F6E28\",\n \"windowTitle\": \"Change Expression\",\n \"type\": \"event_command\",\n \"id\": \"vn.CharacterChangeExpression\",\n \"group\": \"$$1CCE5315K1F61A4059SBC64E0B6CECA383C3\",\n \"subGroup\": \"$$9E1A5407531CC141D66911387F0B53C14B4F\",\n \"windowSize\": {\n \"w\": 700\n },\n \"bindings\": [\n { \"source\": \"local.data.expressions\", \"to\": \"expressions\", \"target\": \"content\" }\n ],\n \"defaultValue\": { \"easing\": GS.CONST.DEFAULT_EASING_DATA, \"animation\": GS.CONST.DEFAULT_CHANGE_ANIMATION_DATA, \"duration\": 10, \"waitForCompletion\": 1, \"characterId\": GS.CONST.DEFAULT_RECORD_ID, \"expressionId\": 0 },\n \"inlineImage\": { \n \"formula\": \"return !GSIsNull(p.expressionId) ? GS.VN.resourceForExpression(p.expressionId) : null;\", \n \"folder\": \"Graphics/Characters\"\n },\n \"quickItems\": [\n {\n \"label\": \"$$1CCE5315K1F61A4059SBC64E0B6CECA383C3\",\n \"valueFormula\": \"return fmtRecord('characters', p.characterId)\",\n \"attribute\": \"characterId\",\n \"identifier\": \"character\",\n \"type\": \"GSQDataRecordField\",\n \"dataSource\": \"characters\"\n },\n {\n \"label\": \"$$3DAF7BAF14E7D240E589BF03BA968C8A8336\",\n \"valueFormula\": \"return !GSIsNull(p.expressionId) ? fmtRecord('characterExpressions', p.expressionId) : lcs('P113');\",\n \"type\": \"GSQDataRecordField\",\n \"dataSource\":\"characterExpressions\",\n \"attribute\": \"expressionId\"\n },\n Object.override(GSQ.CONTROLS.DURATION, {\"lockable\": true}),\n GSQ.CONTROLS.WAIT_FOR_COMPLETION\n ],\n \"expandedView\": {\n \"columns\": [\n {\n \"sections\": [\n {\n \"label\": \"$$4B6665ACK640FA4A19S89F1E4F1070280626\",\n \"rows\": [\n GSQ.ROWS.EASING,\n GSQ.ROWS.CHANGE_ANIMATION\n ]\n }\n ]\n }\n ]\n \n }\n}",
"name": "Change Expression",
"order": 8
},
"summary": [
"name",
"type"
]
}
|