Changes

Oblivion Mod:Mod File Format/SCPT

7 bytes removed, 14:43, 27 September 2006
m
change center tags
The following is a work in progress and likely contains errors. Text in the format [Name(N)] indicates variable data (N) bytes in size.
 
{| class="greylapse" align="center"
<center>
{| class="greylapse"
|-
! Script Text || Compiled Bytes || Notes
| MessageBox [String] [Var1]..[VarN] || 00 01 [Length(2)] 01 00 [StrParam(N)] [VarCount(2)] [VarData(N)] 00 00 || [VarData] uses the same format as variables found in set/if statements.
|}
 
</center>
 
== SCDA Expression Codes ==
Expression codes, used in set and if statements, use a somewhat different format that the rest of the SCDA data. Expressions are parsed using a simple stack and infix notation.
 
{| class="greylapse" align="center"
<center>
{| class="greylapse"
|-
! Expression || Compiled Bytes || Notes
| -[Term] || 20 [TermData(N)] 20 7E || The unary negation operator seems to use the ~ character rather than the minus sign (likely to indicate that only one stack variable should be popped).
|}
</center>
 
==SLSD Subrecord==
Bureaucrat, Cartographer (Edit All Maps), patreon-edit, patreon-editor, patreon-view, administrator, translator, uespstats
11,329
edits