Subversion Repository Public Repository

Nextrek

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
; ティラノスクリプト テーマプラグイン theme_kopanda_09_1
; 作者:こ・ぱんだ
; https://kopacurve.blog.fc2.com/

[iscript]

//初期化
mp.font_color    = mp.font_color || "0xf1f1f1";
mp.name_color    = mp.name_color || "0xf1f1f1";
mp.frame_opacity = mp.frame_opacity || "255";

// 既読テキストのフォントカラーを設定
// 設定は《未読テキストと同じ色》にしていますので必要に応じて編集してください
mp.font_color2   = mp.font_color2   || "0xF1F1F1";

// Config.tjsで既読テキストのフォントカラーを「default」にしている場合はmp.font_color2は反映されません
if(TG.config.alreadyReadTextColor != "default"){
  TG.config.alreadyReadTextColor = mp.font_color2;
}

[endscript]

;名前部分のメッセージレイヤ削除
[free name="chara_name_area" layer="message0"]

;メッセージウィンドウの設定
[position layer="message0" width="1280" height="275" top="447" left="0"]
[position layer="message0" frame="../others/plugin/theme_kopanda_09_1/image/frame_message.png" margint="110" marginl="140" marginr="150" opacity="&mp.frame_opacity" page="fore"]

;名前枠の設定
[ptext name="chara_name_area" layer="message0" color="&mp.name_color" size="26" bold="bold" x="100" y="520"]
[chara_config ptext="chara_name_area"]

;デフォルトのフォントカラー指定
[font color="&mp.font_color"]
[deffont color="&mp.font_color"]

;===========================
; 機能ボタンを表示するマクロ
;===========================
;機能ボタンを表示したいシーンで[add_theme_button]と記述してください(消去は[clreafix]タグ)
[macro  name="add_theme_button"]

;歯車ボタン(メニューボタン)非表示
[hidemenubutton]

; ロールボタン配置

;クイックセーブボタン
[button name="role_button" role="quicksave" graphic="../others/plugin/theme_kopanda_09_1/image/button/qsave.png" enterimg="../others/plugin/theme_kopanda_09_1/image/button/qsave2.png" x="152" y="693"]

;クイックロードボタン
[button name="role_button" role="quickload" graphic="../others/plugin/theme_kopanda_09_1/image/button/qload.png" enterimg="../others/plugin/theme_kopanda_09_1/image/button/qload2.png" x="234" y="693"]

;セーブボタン
[button name="role_button" role="save" graphic="../others/plugin/theme_kopanda_09_1/image/button/save.png" enterimg="../others/plugin/theme_kopanda_09_1/image/button/save2.png" x="316" y="693"]

;ロードボタン
[button name="role_button" role="load" graphic="../others/plugin/theme_kopanda_09_1/image/button/load.png" enterimg="../others/plugin/theme_kopanda_09_1/image/button/load2.png" x="398" y="693"]

;オートボタン
[button name="role_button" role="auto" graphic="../others/plugin/theme_kopanda_09_1/image/button/auto.png" enterimg="../others/plugin/theme_kopanda_09_1/image/button/auto2.png" x="480" y="693"]

;スキップボタン
[button name="role_button" role="skip" graphic="../others/plugin/theme_kopanda_09_1/image/button/skip.png" enterimg="../others/plugin/theme_kopanda_09_1/image/button/skip2.png" x="562" y="693"]

;バックログボタン
[button name="role_button" role="backlog" graphic="../others/plugin/theme_kopanda_09_1/image/button/log.png" enterimg="../others/plugin/theme_kopanda_09_1/image/button/log2.png" x="644" y="693"]

;フルスクリーン切替ボタン
[button name="role_button" role="fullscreen" graphic="../others/plugin/theme_kopanda_09_1/image/button/screen.png" enterimg="../others/plugin/theme_kopanda_09_1/image/button/screen2.png" x="726" y="693"]

;コンフィグボタン(※sleepgame を使用して config.ks を呼び出しています)
[button name="role_button" role="sleepgame" graphic="../others/plugin/theme_kopanda_09_1/image/button/sleep.png" enterimg="../others/plugin/theme_kopanda_09_1/image/button/sleep2.png" storage="../others/plugin/theme_kopanda_09_1/config.ks" x="808" y="693"]

;メニュー呼び出しボタン(※ロールボタンを使うなら不要)
[button name="role_button" role="menu" graphic="../others/plugin/theme_kopanda_09_1/image/button/menu.png" enterimg="../others/plugin/theme_kopanda_09_1/image/button/menu2.png" x="890" y="693"]

;メッセージウィンドウ非表示ボタン
[button name="role_button" role="window" graphic="../others/plugin/theme_kopanda_09_1/image/button/close.png" enterimg="../others/plugin/theme_kopanda_09_1/image/button/close2.png" x="972" y="693"]

;タイトルに戻るボタン
[button name="role_button" role="title" graphic="../others/plugin/theme_kopanda_09_1/image/button/title.png" enterimg="../others/plugin/theme_kopanda_09_1/image/button/title2.png" x="1054" y="693"]

[endmacro]

;===========================
;システムで利用するHTML,CSSの設定
;===========================
;セーブ画面
[sysview type="save" storage="./data/others/plugin/theme_kopanda_09_1/html/save.html" ]
;ロード画面
[sysview type="load" storage="./data/others/plugin/theme_kopanda_09_1/html/load.html" ]
;バックログ画面
[sysview type="backlog" storage="./data/others/plugin/theme_kopanda_09_1/html/backlog.html" ]
;メニュー画面
[sysview type="menu" storage="./data/others/plugin/theme_kopanda_09_1/html/menu.html" ]
;CSS
[loadcss file="./data/others/plugin/theme_kopanda_09_1/ts09.css"]


;===========================
;画像のプリロード
;===========================

[iscript]

f.theme_img_list = [
'./data/others/plugin/theme_kopanda_09_1/image/config/off.gif',
'./data/others/plugin/theme_kopanda_09_1/image/config/on.png',
'./data/others/plugin/theme_kopanda_09_1/image/config/check.png',
'./data/others/plugin/theme_kopanda_09_1/image/config/c_btn_back.png',
'./data/others/plugin/theme_kopanda_09_1/image/config/c_btn_back2.png',
'./data/others/plugin/theme_kopanda_09_1/image/config/bg_config.jpg',
'./data/others/plugin/theme_kopanda_09_1/image/system/arrow_down.png',
'./data/others/plugin/theme_kopanda_09_1/image/system/arrow_next.png',
'./data/others/plugin/theme_kopanda_09_1/image/system/arrow_prev.png',
'./data/others/plugin/theme_kopanda_09_1/image/system/arrow_up.png',
'./data/others/plugin/theme_kopanda_09_1/image/system/menu_bg.jpg',
'./data/others/plugin/theme_kopanda_09_1/image/system/menu_button_close.png',
'./data/others/plugin/theme_kopanda_09_1/image/system/menu_button_close2.png',
'./data/others/plugin/theme_kopanda_09_1/image/system/menu_button_load.png',
'./data/others/plugin/theme_kopanda_09_1/image/system/menu_button_load2.png',
'./data/others/plugin/theme_kopanda_09_1/image/system/menu_button_save.png',
'./data/others/plugin/theme_kopanda_09_1/image/system/menu_button_save2.png',
'./data/others/plugin/theme_kopanda_09_1/image/system/menu_button_skip.png',
'./data/others/plugin/theme_kopanda_09_1/image/system/menu_button_skip2.png',
'./data/others/plugin/theme_kopanda_09_1/image/system/menu_button_title.png',
'./data/others/plugin/theme_kopanda_09_1/image/system/menu_button_title2.png',
'./data/others/plugin/theme_kopanda_09_1/image/system/menu_load_bg.jpg',
'./data/others/plugin/theme_kopanda_09_1/image/system/menu_log_bg.jpg',
'./data/others/plugin/theme_kopanda_09_1/image/system/menu_message_close.png',
'./data/others/plugin/theme_kopanda_09_1/image/system/menu_message_close2.png',
'./data/others/plugin/theme_kopanda_09_1/image/system/menu_save_bg.jpg',
'./data/others/plugin/theme_kopanda_09_1/image/button/auto.png',
'./data/others/plugin/theme_kopanda_09_1/image/button/auto2.png',
'./data/others/plugin/theme_kopanda_09_1/image/button/close.png',
'./data/others/plugin/theme_kopanda_09_1/image/button/close2.png',
'./data/others/plugin/theme_kopanda_09_1/image/button/load.png',
'./data/others/plugin/theme_kopanda_09_1/image/button/load2.png',
'./data/others/plugin/theme_kopanda_09_1/image/button/log.png',
'./data/others/plugin/theme_kopanda_09_1/image/button/log2.png',
'./data/others/plugin/theme_kopanda_09_1/image/button/menu.png',
'./data/others/plugin/theme_kopanda_09_1/image/button/menu2.png',
'./data/others/plugin/theme_kopanda_09_1/image/button/qload.png',
'./data/others/plugin/theme_kopanda_09_1/image/button/qload2.png',
'./data/others/plugin/theme_kopanda_09_1/image/button/qsave.png',
'./data/others/plugin/theme_kopanda_09_1/image/button/qsave2.png',
'./data/others/plugin/theme_kopanda_09_1/image/button/save.png',
'./data/others/plugin/theme_kopanda_09_1/image/button/save2.png',
'./data/others/plugin/theme_kopanda_09_1/image/button/screen.png',
'./data/others/plugin/theme_kopanda_09_1/image/button/screen2.png',
'./data/others/plugin/theme_kopanda_09_1/image/button/skip.png',
'./data/others/plugin/theme_kopanda_09_1/image/button/skip2.png',
'./data/others/plugin/theme_kopanda_09_1/image/button/sleep.png',
'./data/others/plugin/theme_kopanda_09_1/image/button/sleep2.png',
'./data/others/plugin/theme_kopanda_09_1/image/button/title.png',
'./data/others/plugin/theme_kopanda_09_1/image/button/title2.png',
'./data/others/plugin/theme_kopanda_09_1/image/frame_message.png'

];

[endscript]

[preload storage="&f.theme_img_list" wait="false"]

;=================================================================================

; テストメッセージ出力プラグインの読み込み

;=================================================================================
[loadjs storage="plugin/theme_kopanda_09_1/testMessagePlus/gMessageTester.js"]
[loadcss file="./data/others/plugin/theme_kopanda_09_1/testMessagePlus/style.css"]

[macro name="test_message_start"]
[eval exp="gMessageTester.create()"]
[endmacro]

[macro name="test_message_end"]
[eval exp="gMessageTester.destroy()"]
[endmacro]

[macro name="test_message_reset"]
[eval exp="gMessageTester.currentTextNumber=0;gMessageTester.next(true)"]
[endmacro]

[return]

Commits for Nextrek/FurryHouse/data/others/plugin/theme_kopanda_09_1/init.ks

Diff revisions: vs.
Revision Author Commited Message
1365 FMMortaroli picture FMMortaroli Mon 30 Mar, 2020 21:05:49 +0000