Mod Tool: Difference between revisions

200 bytes added ,  1 January 2014
m
logmessage selection(0).Materials(0).Library.name logmessage selection(0).Materials(0).shaders(0).name
mNo edit summary
m (logmessage selection(0).Materials(0).Library.name logmessage selection(0).Materials(0).shaders(0).name)
Line 486: Line 486:
| Logs the object name.
| Logs the object name.
|-
|-
| logmessage selection(0).Material.Name
| logmessage selection(0).Materials(0).Name
| Logs the material name.
| Logs the material name.
|-
|-
|valign=top| logmessage selection(0).Material.CurrentImageClip.source.filename.value
| logmessage selection(0).Materials(0).Library.name
| Logs the material library name.
|-
| logmessage selection(0).Materials(0).shaders(0).name
| Logs the material shader (e.g. phong).
|-
|valign=top| logmessage selection(0).Materials(0).CurrentImageClip.source.filename.value
| Logs absolute path of the texture. Output example:
| Logs absolute path of the texture. Output example:
: ''C:\Users\RRM\Desktop\TV_tex.png''
: ''C:\Users\RRM\Desktop\TV_tex.png''
|-
|-
|valign=top| logmessage selection(0).Material.CurrentImageClip.source.Parameters("XRes").Value<br>logmessage selection(0).Material.CurrentImageClip.source.Parameters("YRes").Value
|valign=top| logmessage selection(0).Materials(0).CurrentImageClip.source.Parameters("XRes").Value<br>logmessage selection(0).Material.CurrentImageClip.source.Parameters("YRes").Value
| Logs the horizontal (X) and vertical (Y) pixel length of the texture. Output example:
| Logs the horizontal (X) and vertical (Y) pixel length of the texture. Output example:
: ''512''
: ''512''
8,452

edits