A new build of the scripting plugin:
PLUGIN:
wpc_scripting_shapes.tar
PATCH:
patch_scripting.tar
Another change for this release.
The syntax of .wscr has changed slightly but only
if you were using parameter queries, now they have a
different syntax to distinguish them from strings and atoms
by enclosing the parameter query in %[...] instead of "...".
Atoms used to be enclosed with "'atom'", now they are
enclosed just with single quotes 'atom'.
As an example, this .wscr file for the milkshape exporter
used to look like this:
Now the file will look like this:
PLUGIN:
wpc_scripting_shapes.tar
PATCH:
patch_scripting.tar
Another change for this release.
The syntax of .wscr has changed slightly but only
if you were using parameter queries, now they have a
different syntax to distinguish them from strings and atoms
by enclosing the parameter query in %[...] instead of "...".
Atoms used to be enclosed with "'atom'", now they are
enclosed just with single quotes 'atom'.
As an example, this .wscr file for the milkshape exporter
used to look like this:
Code:
params_title ?__(3,"Milkshape3D Exporter Settings")
...
params_set {
export_param "tesselation" "'triangulate'"
export_param "include_uvs" "'true'"
export_param "subdivisions" "params/subdivisions"
export_param "include_normals" "'true'"
export_param "include_hard_edges" "bool(params/include_normals)"
export_param "script_texture_convert" "'user'"
}
...
Now the file will look like this:
Code:
params_title ?__(3,"Milkshape3D Exporter Settings")
...
params_set {
export_param "tesselation" 'triangulate'
export_param "include_uvs" 'true'
export_param "subdivisions" %[params/subdivisions]
export_param "include_normals" 'true'
export_param "include_hard_edges" %[bool(params/include_normals)]
export_param "script_texture_convert" 'user'
}
...