-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathcgs.rpy
357 lines (324 loc) · 8.67 KB
/
cgs.rpy
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
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
#This is a copy of cgs.rpy from DDLC.
#Use this as a starting point if you would like to override with your own.
#Explanation for CGs
#This section defines the special images displayed throughout the game, like
#during special events and closeups.
#Feeding Yuri chocolate CG
#This is the slowly fading background
image y_cg2_bg:
"images/cg/y_cg2_bg1.png"
6.0
"images/cg/y_cg2_bg2.png" with Dissolve(1)
2
"images/cg/y_cg2_bg1.png" with Dissolve(1)
1
repeat
#This is yuri's face
image y_cg2_base:
"images/cg/y_cg2_base.png"
image y_cg2_nochoc:
"images/cg/y_cg2_nochoc.png"
on hide:
linear 0.5 alpha 0
#These are some animated details to make the art seem less flat
image y_cg2_details:
"images/cg/y_cg2_details.png"
alpha 1.00
6.0
linear 1.0 alpha 0.35
1.0
linear 1.0 alpha 1.0
repeat
#Expression changes
image y_cg2_exp2: #Surprised
"images/cg/y_cg2_exp2.png"
alpha 0
linear 0.5 alpha 1
on hide:
linear 0.5 alpha 0
image y_cg2_exp3: #Embarrassed
"images/cg/y_cg2_exp3.png"
alpha 0
linear 0.5 alpha 1
on hide:
linear 0.5 alpha 0
#Motes of dust floating in the air
image y_cg2_dust1:
"images/cg/y_cg2_dust1.png"
subpixel True
parallel:
alpha 1.00
6.0
linear 1.0 alpha 0.35
1.0
linear 1.0 alpha 1.0
repeat
parallel:
alpha 0
linear 2.0 alpha 1.0
10.0
linear 2.0 alpha 0
repeat
parallel:
xoffset 100 yoffset -100
linear 14.0 xoffset -100 yoffset 100
repeat
image y_cg2_dust2:
"images/cg/y_cg2_dust2.png"
subpixel True
parallel:
alpha 1.00
6.0
linear 1.0 alpha 0.35
1.0
linear 1.0 alpha 1.0
repeat
parallel:
alpha 0
linear 2.0 alpha 1.0
28.0
linear 2.0 alpha 0
repeat
parallel:
xoffset 100 yoffset -100
linear 32.0 xoffset -100 yoffset 100
repeat
image y_cg2_dust3:
"images/cg/y_cg2_dust3.png"
subpixel True
parallel:
alpha 1.00
6.0
linear 1.0 alpha 0.35
1.0
linear 1.0 alpha 1.0
repeat
parallel:
alpha 0
linear 2.0 alpha 1.0
13.0
linear 2.0 alpha 0
repeat
parallel:
xoffset 100 yoffset -100
linear 17.0 xoffset -100 yoffset 100
repeat
image y_cg2_dust4:
"images/cg/y_cg2_dust4.png"
subpixel True
parallel:
alpha 1.00
6.0
linear 1.0 alpha 0.35
1.0
linear 1.0 alpha 1.0
repeat
parallel:
alpha 0
linear 2.0 alpha 1.0
15.0
linear 2.0 alpha 0
repeat
parallel:
xoffset 100 yoffset -100
linear 19.0 xoffset -100 yoffset 100
repeat
#Sitting by the window with Natsuki CG
#Background
image n_cg1_bg:
"images/cg/n_cg1_bg.png"
#Natsuki's normal face
image n_cg1_base:
"images/cg/n_cg1_base.png"
#A few simple expressions
image n_cg1_exp1:
"images/cg/n_cg1_exp1.png" #Happy
image n_cg1_exp2:
"images/cg/n_cg1_exp2.png" #Angry
image n_cg1_exp3:
"images/cg/n_cg1_exp3.png" #Also Angry
image n_cg1_exp4:
"images/cg/n_cg1_exp4.png" #Eyes closed
image n_cg1_exp5:
"images/cg/n_cg1_exp5.png" #Eyes halflidded
#Natsuki's glitched out creepy face
image n_cg1b = LiveComposite((1280,720), (0,0), "images/cg/n_cg1b.png", (882,325), "n_rects1", (732,400), "n_rects2", (850,475), "n_rects3")
image n_rects1:
RectCluster(Solid("#000"), 12, 30, 30).sm
pos (899, 350)
size (34, 34)
image n_rects2:
RectCluster(Solid("#000"), 12, 30, 24).sm
pos (749, 430)
size (34, 34)
image n_rects3:
RectCluster(Solid("#000"), 4, 15, 5).sm
pos (764, 490)
size (30, 20)
#Natsuki in the closet CG
#The closet background
image n_cg2_bg:
"images/cg/n_cg2_bg.png"
#Natsuki herself
image n_cg2_base:
"images/cg/n_cg2_base.png"
#Different expressions for natsuki
image n_cg2_exp1:
"images/cg/n_cg2_exp1.png" #Surprised
image n_cg2_exp2:
"images/cg/n_cg2_exp2.png" #Shouting
#Natsuki pinned against the wall CG
#Base image with background and Natsuki
image n_cg3_base:
"images/cg/n_cg3_base.png"
#Cake on finger
image n_cg3_cake:
"images/cg/n_cg3_cake.png"
#Expressions
image n_cg3_exp1:
"images/cg/n_cg3_exp1.png" #Laughing
image n_cg3_exp2:
"images/cg/n_cg3_exp2.png" #Embarrassed
#Reading with Yuri in the classroom CG
#Base image with Yuri and classroom
image y_cg1_base:
"images/cg/y_cg1_base.png"
#Expressions
image y_cg1_exp1:
"images/cg/y_cg1_exp1.png" #Side-eye at camera
image y_cg1_exp2:
"images/cg/y_cg1_exp2.png" #Mouth open
image y_cg1_exp3:
"images/cg/y_cg1_exp3.png" #Yandere face
#Yuri in the room CG
image y_cg3_base:
"images/cg/y_cg3_base.png"
image y_cg3_exp1:
"images/cg/y_cg3_exp1.png" #Eyes closed expression
#Tying Sayori's tie CG
image s_cg1:
"images/cg/s_cg1.png"
#Clumsy Sayori CG
#Without bottle
image s_cg2_base1:
"images/cg/s_cg2_base1.png"
#With bottle
image s_cg2_base2:
"images/cg/s_cg2_base2.png"
#Expressions
image s_cg2_exp1:
"images/cg/s_cg2_exp1.png" #Grimmace
image s_cg2_exp2:
"images/cg/s_cg2_exp2.png" #Mouth closed
image s_cg2_exp3:
"images/cg/s_cg2_exp3.png" #Eye closed
#Sayori hugging MC CG
image s_cg3:
"images/cg/s_cg3.png"
#Sayori suicide CG
#Sayori's room normal lighting
image s_kill_bg:
subpixel True
"images/cg/s_kill_bg.png"
#Sayori hanging sprite
image s_kill:
subpixel True
"images/cg/s_kill.png"
#Harsh lighting Sayori's room
image s_kill_bg2:
subpixel True
"images/cg/s_kill_bg2.png"
#Harsh lighting Sayori hanging sprite
image s_kill2:
subpixel True
"images/cg/s_kill2.png"
#The death scene for Yuri, this is one displayable using a ConditionSwitch to
#switch between images
image y_kill = ConditionSwitch(
"persistent.yuri_kill >= 1380", "images/cg/y_kill/3a.png",
"persistent.yuri_kill >= 1180", "images/cg/y_kill/3c.png",
"persistent.yuri_kill >= 1120", "images/cg/y_kill/3b.png",
"persistent.yuri_kill >= 920", "images/cg/y_kill/3a.png",
"persistent.yuri_kill >= 720", "images/cg/y_kill/2c.png",
"persistent.yuri_kill >= 660", "images/cg/y_kill/2b.png",
"persistent.yuri_kill >= 460", "images/cg/y_kill/2a.png",
"persistent.yuri_kill >= 260", "images/cg/y_kill/1c.png",
"persistent.yuri_kill >= 200", "images/cg/y_kill/1b.png",
"True", "images/cg/y_kill/1a.png",
)
#This defines the animations for Sayori's death scene
transform s_kill_bg_start:
truecenter
zoom 1.10
linear 4 zoom 1.00
transform s_kill_start:
truecenter
xalign 0.3 yalign 0.25 zoom 0.8
linear 4 zoom 0.75 xalign 0.315 yoffset 10
image s_kill_bg_zoom:
contains:
"s_kill_bg"
xalign 0.2 yalign 0.3 zoom 2.0
dizzy(0.25, 1.0)
transform dizzy(m, t):
subpixel True
parallel:
xoffset 0
ease 0.75 * t xoffset 10 * m
ease 0.75 * t xoffset 5 * m
ease 0.75 * t xoffset -5 * m
ease 0.75 * t xoffset -3 * m
ease 0.75 * t xoffset -10 * m
ease 0.75 * t xoffset 0
ease 0.75 * t xoffset 5 * m
ease 0.75 * t xoffset 0
repeat
parallel:
yoffset 0
ease 1.0 * t yoffset 5 * m
ease 2.0 * t yoffset -5 * m
easein 1.0 * t yoffset 0
repeat
image s_kill_zoom:
contains:
"s_kill"
truecenter
zoom 2.0 xalign 0.5 yalign 0.05
dizzy(1, 1.0)
image s_kill_bg2_zoom:
contains:
"s_kill_bg2"
xalign 0.2 yalign 0.3 zoom 2.0
parallel:
dizzy(0.25, 1.0)
parallel:
alpha 0.2
linear 0.25 alpha 0.2
linear 0.25 alpha 0.25
linear 0.25 alpha 0.2
linear 0.25 alpha 0.3
linear 0.25 alpha 0.25
linear 0.25 alpha 0.35
linear 0.25 alpha 0.3
linear 0.25 alpha 0.35
linear 0.25 alpha 0.2
repeat
image s_kill2_zoom:
contains:
"s_kill2"
truecenter
zoom 2.0 xalign 0.5 yalign 0.05
parallel:
dizzy(1, 1.0)
parallel:
alpha 0.3
linear 0.25 alpha 0.3
linear 0.25 alpha 0.4
linear 0.25 alpha 0.3
linear 0.25 alpha 0.5
linear 0.25 alpha 0.4
linear 0.25 alpha 0.6
linear 0.25 alpha 0.5
linear 0.25 alpha 0.6
linear 0.25 alpha 0.4
repeat