Page 1 of 1
Posted: June 15th, 2009, 5:51 pm
I have been following the comments made to others about programming / scripting, and have notice something familiar. Most of you will advise to "edit" an existing piece of code instead of providing the code for us. That is when I recalled an old Chinese proverb: "Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime."
It's too easy for we noobs to use code that we did not create. Sure, it gets the job done. But how much do we learn?
Although I do not fully understand the syntax of cubescript, I do understand the flow and the logic from previous qbasic programming.
Now where did I put my text editor?
Posted: June 15th, 2009, 6:00 pm
Ha. Good one, well then you might be able to answer a question for me. Whats a good way to learn to script??
Posted: June 15th, 2009, 6:52 pm
What we intend, when we say "edit this", is experiment with it. You learn from the errors, you know.
Posted: June 15th, 2009, 7:21 pm
Offtopic: I downloaded the coop edit patch does this mean the beta server for it is available now?
Posted: June 15th, 2009, 7:38 pm
To answer your question of, "What's a good way to learn script?", can be both simplistic and complex.
The simple way is to read and practice the examples that you would find in documentation - Books or manuals of Cubescript. Wiki pages will give you a taste of the various commands etc.
The harder way, which I believe is the most beneficial way, is to do as suggested. Edit and existing script. For example, change the text that a character would say. Run it and see. Make changes to commands and conditions and see what errors that produces. It will be a steep learning curve (not easy) but will be the best teacher.
Note: BEFORE you make ANY changes, ALWAYS make a copy of the file you are about to change!!!! Will save many headaches.
Hope this helps.
ps: If I locate any books etc, I will let you know.
Posted: June 15th, 2009, 8:11 pm
Thanks for all the help J.