User:Iritscen/TestSpace: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(parting note for the night)
m (link fix to satisfy my script)
 
(36 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Animating GIF on hover==
{|border=1 cellspacing=0 cellpadding=2
Looks like this won't work unless I include the direct paths for the GIF and JPEG in a table similar to hovertable_descrip, since images are stored in various subdirectories on the server, and thus swapping just the image's suffix does not generate a valid URI.
!Kind
 
!Type
<span class="hovergif" id="barabas">[[Image:Barabas attack loop.gif]]</span>
!Name
 
!Platform<onlyinclude>
 
|-<includeonly>
==Fixing the XEB script==
|Group 1</includeonly>
References:
|style="font-family:cursive; font-weight:bold" align="center"|f
*http://en.wikipedia.org/wiki/User_talk:MarkS/extraeditbuttons.js#Updates
|bool
*http://en.wikipedia.org/wiki/Wikipedia:Village_pump_%28technical%29/Archive_93#Parts_of_the_toolbar_seem_shy
|[[User:Iritscen/TestSpace#chr_has_lsi|chr_has_lsi]]
*https://bugzilla.wikimedia.org/show_bug.cgi?id=31511
|align="center" data-sort-value="wm"|[[Image:Platform-Win.png|20px]] [[Image:Platform-Mac.png|20px]]
 
|-<includeonly>
Takeaway:
|Group 2</includeonly>
*Is ResourceLoader on?
|style="font-size:166%; font-family:cursive" align="center"|v
*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
|bool
 
|[[User:Iritscen/TestSpace#gl_fog_start_changeto|gl_fog_start_changeto]]
==XML Overview==
|align="center" data-sort-value=" m"|[[Image:Platform-empty.png|20px]] [[Image:Platform-Mac.png|20px]]</onlyinclude>
{|class="hovertable" style="width:100%; text-align:center"
|-
|''Explanation of file type''
|style="width:11.66%;" class="hovercell" id="txtc"| [[TxtC]]
|
|
|
|
|
|-
| rowspan=11 class="hovertable_descrip" |
<span style="display:none" id="txtc">This is console text.</span>
<span style="display:none" id="igpa">In-Game User Interface Page Array.</span>
<span style="display:none" id="igpg">In-Game User Interface Page.</span>
<span style="display:none" id="tsff">A font family.</span>
<span style="display:none" id="tsfl">A font language.</span>
<span style="display:none" id="tsft">Actual font bitmaps.</span>
<span style="display:none" id="tsga">A glyph array linking 256 possible symbols to their bitmaps (TSFTs).</span>
<span style="display:none" id="pspc">Part Specification (coordinates for finding a UI symbol in a bitmap collection of UI elements.</span>
<span style="display:none" id="txmp">A texture map!</span>
<span style="display:none" id="igsa">In-Game user interface String Array.</span>
<span style="display:none" id="igst">In-Game user interface STring.</span>
|-
|
| http://ssg.oni2.net/design/60x20c.gif
|style="width:11.66%;" class="hovercell embedded" id="igpa"| [[IGPA]]
|
|
|
|
|-
|
|
| http://ssg.oni2.net/design/60x20c.gif
| style="width:11.66%;" class="hovercell embedded" id="igpg"| [[IGPG]]
|
|
|
|-
|
|
|
| http://ssg.oni2.net/design/60x20b.gif
|style="width:11.66%;" class="hovercell" id="tsff"| [[TSFF]]
|
|
|-
|
|
|
| http://ssg.oni2.net/design/60x20a.gif
| http://ssg.oni2.net/design/60x20c.gif
|style="width:11.66%;" class="hovercell embedded" id="tsfl"| [[TSFL]]
|
|-
|
|
|
| http://ssg.oni2.net/design/60x20a.gif
| http://ssg.oni2.net/design/60x20c.gif
|class="hovercell embedded" id="tsft"| [[TSFT]]
|
|-
|
|
|
| http://ssg.oni2.net/design/60x20a.gif
|
| http://ssg.oni2.net/design/60x20c.gif
|style="width:11.66%;" class="hovercell embedded" id="tsga"| [[TSGA]]
|-
|
|
|
| http://ssg.oni2.net/design/60x20b.gif
| class="hovercell" id="pspc" | [[PSpc]]
|
|
|-
|
|
|
| http://ssg.oni2.net/design/60x20a.gif
| http://ssg.oni2.net/design/60x20c.gif
| class="hovercell" id="txmp" | [[TXMP]]
|
|-
|
|
|
| http://ssg.oni2.net/design/60x20c.gif
|class="hovercell embedded" id="igsa"| [[IGSA]]
|
|
|-
|
|
|
|
| http://ssg.oni2.net/design/60x20c.gif
|" class="hovercell embedded" id="igst"| [[IGSt]]
|
|}
|}


<span class="hovertable_frame">'''''Sorry, you must have JavaScript enabled to view this content.'''''
{{Find BSL Group|ai2_idle}}
<span class="hovertable_source" style="display:none">
TxtC~This is console text.~IGPA;
IGPA~In-Game user interface Page Array.~IGPG;
IGPG~In-Game user interface PaGe~TSFF,PSpc,IGSA;
TSFF~A font family.~TSFL,TSFT;
PSpc~Parts specification.~TXMP;
IGSA~In-Game user interface String Array.~IGSt;
TSFL~A font language.~;
TSFT~Font bitmaps.~TSGA;
TSGA~A glyph array.~;
TXMP~Texture map.~;
IGSt~In-Game user interface STring.~;
</span></span>
 
==File types page prototype==
===Type categories===
[[#Level data|Level]] * [[#Character data|Characters]] * [[#Images|Images]] * [[#Text|Text]] * [[#Audio|Audio]]


===Type index===
==Task A==
[[#ABNA|ABNA]], [[#AGQC|AGQC]], [[#AGQG|AGQG]], [[#AGQR|AGQR]]...
{{BSLfuncinfo
|type=bool
|name=chr_has_lsi
}}


===Level data===
==Task B==
{|class="wikitable" width="100%"
{{BSLvarinfo
|{{Anchor|AKEV}}'''[[AKEV]]: Akira Environment.''' Edit as: Collada (.dae). Contained by: [[#ONLV|ONLV]]. Contains: ABNA, AGDB, AGQC, AGQG, AGQR, AKAA, AKBA, AKBP, AKDA, AKOT, AKVA, IDXA, PLEA, PNTA, TXCA, TXMA.
|name=gl_fog_red
:It's the level's 3D model. All the subtypes under AKEV are kinds of 3D data that you do not edit directly.
|type=float
|-
|default=0.25
|{{Anchor|ONLV}}'''[[ONLV]]: Oni Level.''' Edit as: XML. Contained by: --. Contains: AISA, AITR, [[#AKEV|AKEV]], CRSA, ENVP, OBDC, OBOA, ONFA, ONMA, ONOA, ONSA, ONSK, ONTA.
|mac=no
:The top level of information about a level. Holds the name of the BSL folder with the level's scripts, and links to the level's 3D data, skybox data, and flag data, among other things.
}}
|}
{{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
}}


===Character data===
==Task C==
{|class="wikitable" width="100%"
{{BSLfuncinfo
|{{Anchor|ONCC}}'''[[ONCC]]: Oni Character Class.''' Edit as: XML. Contained by: --. Contains: CBPI, CBPM, [[#TXMP|TXMP]], ONCP, ONCV, ONIA, TRAC, TRBS, TRMA, TRSC.
|type=void
:The top level of information about a character class (type of character). Holds (yada yada yada).
|name=playback
|}
|arg1type=string
 
|arg1name=ai_name
===Images===
|arg1alttype=int
{|class="wikitable" width="100%"
|arg1altname=script_id
|{{Anchor|TXMP}}'''[[TXMP]]: Texture Map.''' Edit as: PNG, TGA. Contained by: [[#AKEV|AKEV]], CONS, DOOR, IGHH, IGPG, KeyI, M3GM, ONCC, ONGS, ONWC, PSpc, TMBD, TRMA, TXAN, TXMA, WMDD. Contains: TXAN.
|arg2type=string
:The top level of information about a character class (type of character).
|arg2name=film_name
|}
|arg3optional=yes
|arg3type=string
|arg3name=mode
|arg4optional=yes
|arg4type=int
|arg4name=num_frames
}}


===Text===
==Task D==


===Audio===


[[Category:Userspace]]
[[Category:Userspace]]

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