Results 1 to 2 of 2

Thread: Welcome to the Scripting Support forum.

  1. #1
    Join Date
    Mar 2006
    Ambient Design

    Cool Welcome to the Scripting Support forum.

    In this forum you will find help for writing, recording, and using ArtRage script files. Here you can discuss ways to make scripts and share snippets of scripting code.

    Sharing Scripts

    Script files (.arscript) can be uploaded directly to the forum if they are 500kb or less. Package Files and large script files cannot be hosted on the forums, but can be uploaded elsewhere and linked to directly. You can also significantly reduce the size of an .arscript file by adding it to a zipped (compressed) folder. Staff may also add scripts to the official online resources on the main site.

    If you're posting actual scripting code, enclose it inside the
    CODE /CODE tags (surround the tags with square braces [], which I cant show because then it turns it into a block of code. )
    The button for the code tags '#' is in the forum message toolbar.

    For example:
    // ArtRage script code
    int n = 20;
    This will make it easy for anyone who wants to copy the code to get the actual code block, and you can use nice indenting and formatting.

    ArtRage Script Resources

    Introduction to Scripts:
    Using Scripts inside ArtRage (normal recording and playback):
    ArtRage Script Guide for Programmers:
    Advanced script editing resources: pending!

    Script Downloads:
    AndyRage's mantra for graphics engine code:
    "Sure - how hard can it be?"

  2. #2
    Join Date
    Mar 2006
    Ambient Design

    Question What is a Unicode UTF 16 file anyway??

    ArtRage script files need to be a Unicode UTF16 file. This is so we can allow script writers to use other characters in the script strings for internationalizing.

    Unicode UTF16 uses two bytes per character, where standard Ascii text uses only one byte per character.

    So how do you make a Unicode UTF16 file?

    On Windows: Start Notepad (or whatever is your favourite text editor)
    Write some text, or paste some script code from here.
    From the Notepad 'File' menu, select 'Save As...'
    Just to the left of the 'Save' button you'll see an 'Encoding:' selection box. Choose 'Unicode' from the list.

    Name:  Save As.png
Views: 8163
Size:  25.1 KB

    On Mac OSX: Start TextEdit (or whatever...) and enter some text or copy some script code.
    From the TextEdit 'File' menu, select 'Save As...'
    From the 'Plain Text Encoding:' list, choose 'Unicode (UTF-16)

    Name:  SaveAs Mac.png
Views: 5784
Size:  27.8 KB
    AndyRage's mantra for graphics engine code:
    "Sure - how hard can it be?"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts