Page 2 of 2 FirstFirst 12
Results 26 to 42 of 42

Thread: PowerCutter Tutorial

  1. #26
    Join Date
    Dec 2007
    Location
    Michigan, USA
    Posts
    280
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Wow, Thanks for this tut, it will really help me become better with power'ers
    I found an error btw*
    SCAR Code:
    // "//" starts a comment and everything after that wont be compiled
    program PowerCutter;          // The program name... Can't contain spaces
    {.include srl/srl.scar}          // This line includes SRL (Very useful :D)
    const                               // This declares a constanst value
      TreeColor = 2706759;              //  This value can't change all script
     var                                  // This declares a changing value
      x,y:integer;                    // These are number values that can change  DidItWork:boolean;          // This is a variable boolean of True or False
      TheWord:string;              // This is a string of letters that can change

    procedure DoThatStuff;      // This is your first procedure Anything inbetween
    begin                              //  the begin and end is part of this procedure
    end;                               //  and can be called by typing DoThatStuff;


    begin                             // This begins the main loop
      SetupSRL;                    // This is needed at the start of SRL scripts
      DoThatStuff;                // This calls the procedure DoThatStuff;
    end.                             // This ends the mainloop and scipt
    SCAR Code:
    // "//" starts a comment and everything after that wont be compiled
    program PowerCutter;          // The program name... Can't contain spaces
    {.include srl/srl.scar}          // This line includes SRL (Very useful :D)
    const                               // This declares a constanst value
      TreeColor = 2706759;              //  This value can't change all script
     var                                  // This declares a changing value
      x,y:integer;                    // These are number values that can change
      DidItWork:boolean;          // This is a variable boolean of True or False
      TheWord:string;              // This is a string of letters that can change

    procedure DoThatStuff;      // This is your first procedure Anything inbetween
    begin                              //  the begin and end is part of this procedure
    end;                               //  and can be called by typing DoThatStuff;


    begin                             // This begins the main loop
      SetupSRL;                    // This is needed at the start of SRL scripts
      DoThatStuff;                // This calls the procedure DoThatStuff;
    end.                             // This ends the mainloop and scipt
    DidItWork is on the same line as x,y...
    Kindof Inactive...

  2. #27
    Join Date
    Jan 2008
    Posts
    24
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Awesome, I've been planning on writing a powercutter script for my first script and this is extremely helpful.

  3. #28
    Join Date
    Jan 2008
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Wow this created my first script and it helped
    it took my scar know-how from 35% - 50%
    Thanks a bunches

  4. #29
    Join Date
    Nov 2007
    Posts
    17
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Decent woodcutting tutorial, a little confusing the me but hey, im a beginner.

    Overall im going to try and make one myself using this tutorial and other information I have gathered.

  5. #30
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks Matt! This helped me with DTMS. The one thing is that it dosent really work because some objects have the same shape =/. But still thanks a lot. It helped me with many things. +REP

    Edit: W00t. I added 2 ur rep =]

  6. #31
    Join Date
    Feb 2008
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default thanks

    awesome tut for a beginner

  7. #32
    Join Date
    Jan 2008
    Location
    At My PC (UK)
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Great tut, pics are always good, Hopefuly using this i can get started in scripting. (not very good at this kind of thing)

    Thanks

  8. #33
    Join Date
    Nov 2007
    Posts
    0
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    awesome job..

  9. #34
    Join Date
    Jun 2008
    Posts
    103
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thx for the great script but i dont think that the give rep is working maybe it is i dunno =p

    and can u show how it is supposed to look after u complete the compiling so it can work plz

  10. #35
    Join Date
    Jul 2007
    Location
    So Cal
    Posts
    410
    Mentioned
    0 Post(s)
    Quoted
    16 Post(s)

    Default

    Quote Originally Posted by V Macro V View Post
    thx for the great script but i dont think that the give rep is working maybe it is i dunno =p

    and can u show how it is supposed to look after u complete the compiling so it can work plz
    out of date dude

  11. #36
    Join Date
    Jun 2008
    Posts
    103
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by thebob142 View Post
    out of date dude
    oooo ok

  12. #37
    Join Date
    Jul 2007
    Posts
    0
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks! That helps me a Lot

  13. #38
    Join Date
    Jul 2007
    Posts
    0
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks! That helps me a Lot

  14. #39
    Join Date
    Jul 2007
    Posts
    64
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Line 42: [Error] (16150:4): Unknown identifier 'ClickOption' in script
    I am using Scar DIVI 3.15b is there something to do the same thing inthis version of scar?

  15. #40
    Join Date
    Dec 2007
    Location
    Malaysia
    Posts
    430
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    no its not ur version its the tut its a really old tut so its outdated to fix that u put

    chooseOption('Drop');

  16. #41
    Join Date
    Jul 2008
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hmm, maybe I should try some more easier scripting first.

  17. #42
    Join Date
    Jul 2008
    Location
    Lithuania/Norway
    Posts
    90
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    amazing. thanks for tutorial

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 8
    Last Post: 08-23-2007, 08:13 AM
  2. my powercutter
    By ihavefriends in forum First Scripts
    Replies: 4
    Last Post: 04-03-2007, 04:54 AM
  3. my powercutter
    By ihavefriends in forum First Scripts
    Replies: 4
    Last Post: 04-03-2007, 04:48 AM
  4. PowerCutter
    By JuKKa in forum OSR Help
    Replies: 3
    Last Post: 11-14-2006, 09:14 PM

Posting Permissions

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