Running Scripts in Darkradiant: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
m (add)
 
(add troubleshooting)
Line 14: Line 14:


Select them under the "Scripts" menu and choose the one you want to run.
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. Solution: '''Unknown'''.


== Example scripts ==
== Example scripts ==

Revision as of 17:46, 29 June 2010

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. Solution: Unknown.

Example scripts

See also