Difference between revisions of "Running Scripts in Darkradiant"

From The DarkMod Wiki
Jump to: navigation, search
m (update)
(Fix link)
Line 23: Line 23:
 
== Example scripts ==
 
== Example scripts ==
  
By '''rich_is_bored''':
+
* [https://raw.githubusercontent.com/codereader/DarkRadiant/master/install/scripts/commands/ase_export.py ASE Exporter]
 
+
* [https://raw.githubusercontent.com/codereader/DarkRadiant/master/install/scripts/test.py Interface Test Script]
* [http://bloodgate.com/mirrors/tdm/pub/scripts/ase_export.py ASE Exporter]
 
  
 
== See also ==
 
== See also ==

Revision as of 16:05, 19 August 2017

DarkRadiant is offering a Python script interface which provides access to the most important functions. A complete reference of all available classes can be found here.

Where to place the scripts

Windows

Darkradiant\scripts\commands

Linux

/usr/lib/darkradiant/scripts/commands/

How to run them

Select them under the "Scripts" menu and choose the one you want to run.

Troubleshooting

I don't have a script menu?

It seems you either have Python not installed, or the script module is not compiled in.

Example scripts

See also

Scripts for Blender: