User:Iritscen/TestSpace: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(→‎XML Overview: trying id-based method)
m (link fix to satisfy my script)
 
(51 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Fixing the XEB script==
{|border=1 cellspacing=0 cellpadding=2
References:
!Kind
*http://en.wikipedia.org/wiki/User_talk:MarkS/extraeditbuttons.js#Updates
!Type
*http://en.wikipedia.org/wiki/Wikipedia:Village_pump_%28technical%29/Archive_93#Parts_of_the_toolbar_seem_shy
!Name
*https://bugzilla.wikimedia.org/show_bug.cgi?id=31511
!Platform<onlyinclude>
|-<includeonly>
|Group 1</includeonly>
|style="font-family:cursive; font-weight:bold" align="center"|f
|bool
|[[User:Iritscen/TestSpace#chr_has_lsi|chr_has_lsi]]
|align="center" data-sort-value="wm"|[[Image:Platform-Win.png|20px]] [[Image:Platform-Mac.png|20px]]
|-<includeonly>
|Group 2</includeonly>
|style="font-size:166%; font-family:cursive" align="center"|v
|bool
|[[User:Iritscen/TestSpace#gl_fog_start_changeto|gl_fog_start_changeto]]
|align="center" data-sort-value=" m"|[[Image:Platform-empty.png|20px]] [[Image:Platform-Mac.png|20px]]</onlyinclude>
|}


Takeaway:
{{Find BSL Group|ai2_idle}}
*Is ResourceLoader on?
*The diffs here make the toolbar-modifying code use mw.toolbar, a necessary change: http://de.wikipedia.org/w/index.php?title=MediaWiki%3AGadget-Extra-Editbuttons.js&diff=94521213&oldid=94132318


==XML Overview==
==Task A==
{|class="wikitable" width="100%" id="hovertable_frame"
{{BSLfuncinfo
|width="100"|
|type=bool
|name=chr_has_lsi
}}


;file types
==Task B==
*<a href="#AISA" id="table_1">AISA</a>
{{BSLvarinfo
*<a href="#TXMP" id="table_2">TXMP</a>
|name=gl_fog_red
*<a href="#ONCC" id="table_3">ONCC</a>
|type=float
|default=0.25
|mac=no
}}
{{BSLvarinfo
|name=gl_fog_green
|type=string
|default=0.25
}}
{{BSLvarinfo
|name=gl_fog_blue
|type=float
|default=0.25
}}
{{BSLvarinfo
|name=gl_fog_start
|type=float
|default=0.925
}}
{{BSLvarinfo
|name=gl_fog_end
|type=float
|default=1.0
}}
{{BSLfuncinfo
|type=void
|default=
|name=gl_fog_start_changeto
|arg1default=
|arg1type=float
|arg1name=start_val
|arg2default=
|arg2type=int
|arg2name=frames
}}
{{BSLfuncinfo
|type=void
|default=
|name=gl_fog_end_changeto
|arg1default=
|arg1type=float
|arg1name=start_val
|arg2default=
|arg2type=int
|arg2name=frames
}}
 
==Task C==
{{BSLfuncinfo
|type=void
|name=playback
|arg1type=string
|arg1name=ai_name
|arg1alttype=int
|arg1altname=script_id
|arg2type=string
|arg2name=film_name
|arg3optional=yes
|arg3type=string
|arg3name=mode
|arg4optional=yes
|arg4type=int
|arg4name=num_frames
}}
 
==Task D==


|width="420"|
{|class="wikitable" width="400" style="text-align:center" id="hovertable_map"
|style="background-color:#DDDDDD;" id="txtc"| TxtC
|width="16.66%"|
|width="16.66%"|
|width="16.66%"|
|width="16.66%"|
|width="16.66%"|
|-
| http://ssg.oni2.net/design/60x20c.gif
|style="background-color:#DDDDDD; background-image: repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255,255,255,.5) 10px, rgba(255,255,255,.5) 20px);"| IGPA
|
|
|
|
|-
|
| http://ssg.oni2.net/design/60x20c.gif
| style="background-color:#DDDDDD; background-image: repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255,255,255,.5) 10px, rgba(255,255,255,.5) 20px);"| IGPG
|
|
|
|-
|
|
| http://ssg.oni2.net/design/60x20b.gif
|style="background-color:#CCCCFF;"| TSFF
|
|
|-
|
|
| http://ssg.oni2.net/design/60x20a.gif
| http://ssg.oni2.net/design/60x20c.gif
|style="background-color:#CCCCFF; background-image: repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255,255,255,.5) 10px, rgba(255,255,255,.5) 20px);"| TSFL
|
|-
|
|
| http://ssg.oni2.net/design/60x20a.gif
| http://ssg.oni2.net/design/60x20c.gif
|style="background-color:#CCCCFF; background-image: repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255,255,255,.5) 10px, rgba(255,255,255,.5) 20px);"| TSFT
|
|-
|
|
| http://ssg.oni2.net/design/60x20a.gif
|
| http://ssg.oni2.net/design/60x20c.gif
|style="background-color:#CCCCFF; background-image: repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255,255,255,.5) 10px, rgba(255,255,255,.5) 20px);"| TSGA
|-
|
|
| http://ssg.oni2.net/design/60x20b.gif
| PSpc
|
|
|-
|
|
| http://ssg.oni2.net/design/60x20a.gif
| http://ssg.oni2.net/design/60x20c.gif
| TXMP
|
|-
|
|
| http://ssg.oni2.net/design/60x20c.gif
|style="background-color:#DDDDDD; background-image: repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255,255,255,.5) 10px, rgba(255,255,255,.5) 20px);"| IGSA
|
|
|-
|
|
|
| http://ssg.oni2.net/design/60x20c.gif
|style="background-color:#DDDDDD; background-image: repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255,255,255,.5) 10px, rgba(255,255,255,.5) 20px);"| IGSt
|
|}


| id="hovertable_descrip" | ;explanation of clicked file type
[[Category:Userspace]]
|<span style="display:none" id="txtc">This is console text.</span>
|}

Latest revision as of 14:44, 5 April 2021

Kind Type Name Platform
f bool chr_has_lsi Platform-Win.png Platform-Mac.png
v bool gl_fog_start_changeto Platform-empty.png Platform-Mac.png

AI tasks

Task A

bool
Edit this info
chr_has_lsi(
);
default: --

Task B

float gl_fog_red string gl_fog_green float gl_fog_blue float gl_fog_start float gl_fog_end

void
float
int
Edit this info
gl_fog_start_changeto(
start_val,
frames
);
default: --
--
--

void
float
int
Edit this info
gl_fog_end_changeto(
start_val,
frames
);
default: --
--
--

Task C

void
string or int
string
string
int
Edit this info
playback(
ai_name or script_id,
film_name,
mode,
num_frames
);
default: --
--
--
--
--

Task D