Tutorial: Creating Advanced Script Commands

About Truespace Archives

These pages are a copy of the official truespace forums prior to their removal somewhere around 2011.

They are retained here for archive purposes only.

Tutorial: Creating Advanced Script Commands // Archive: Tech Forum

1  |  

Post by trueBlue // Feb 16, 2006, 9:19am

trueBlue
Total Posts: 1761
pic
Could somebody please try in see if they can successfully complete the tutoriol in the Developer's Guide? It is on Page 148: Creating advanced Script Commands. I'll give some advice though before you start, do not copy and paste the code into the SE. Did not work without modifications for me. I have completed everything up to the point of hooking up oX & oY to X & Y on to the Planet. I can not hook these two items up. Looking inside Planet shows X & Y hooked up to none.

Post by stan // Feb 16, 2006, 9:46am

stan
Total Posts: 1240
pic
the developer's guide is out..where can it be downloaded?

Post by Asem // Feb 17, 2006, 10:37am

Asem
Total Posts: 255
TruBlue did you do the example for creating a widget for FeedTheDino object(page 37 at the bottom) because I follow the instructions exactly but the widget will not show. Under "widget" in LE was I supposed to just place the omnilight widget there or do something else? Also is it supposed to be done in model or player view?(I'm doing it in player)

I also noticed some of the things in the dev guide that it has typos like it says look for Desktop but the top thing in LE is System. One other thing, I see that some tools seem to be on the player side but I can't find something like the tool with the letters "PE" (unless it was created?).

If anyone was wondering, the disk that comes with the box version is an update and should be installed. It also has the dev guide when you install it, except you have to go through the ts7 subfolders and look for pdf folder to open it up. It should say ts7_DG.

Post by Norm // Feb 17, 2006, 11:09am

Norm
Total Posts: 862
pic
Ok folks. I managed to get Developer documentation for download. If you use your Caligari download area username and pword, you should be able to access the Developer Docs (http://cart1.caligari.com/ebuy2/download/files/ts7/tS7_DG.zip)

Contents: pdf file and 4 folders. With two of the folders, you will find an index.html. Other two are xml, so dbl clk the xml file in respective folder. XML doc should open in a browser for you.

This should only be a temporary measure, but it gets the documents to you and some scripting and such could come about.

Post by Johny // Feb 17, 2006, 3:51pm

Johny
Total Posts: 672
pic
Norm, Thanks for the DevDoc :)

Post by stan // Feb 17, 2006, 5:01pm

stan
Total Posts: 1240
pic
Thanks Norm..:D

Post by Leif // Feb 17, 2006, 7:30pm

Leif
Total Posts: 276
pic
Ha, the Rosetta idea have been worked on for years - and still is not finished.

So the brain itself, which contains more neural connections than there are total electrical connections in the whole earth, should have come together by chance... This is a joke. (No offense to you personally, Roman. What you have accomplished in Rosetta is a commendable feat)

Doesn't the title of this tread itself contain the word 'create'?:)

Post by SiRender // Feb 18, 2006, 10:01am

SiRender
Total Posts: 38
Wow. This is great!

Post by SiRender // Feb 18, 2006, 10:19am

SiRender
Total Posts: 38
...

So the brain itself, which contains more neural connections than there are total electrical connections in the whole earth, should have come together by chance... This is a joke. ... :)


Leif,


So you're suggesting the world was rendered in only 7 days? I have a hard time with that estimate since even with all the computers in the universe cooperating (running tSNet of course) it would still have taken a long time even using GRay. By the way, there were a few things that didn't turn out very nice so I suggest tweaking a few things and re-rendering.


(I'm just having fun... please don't smite me.)

Post by Leif // Feb 18, 2006, 12:51pm

Leif
Total Posts: 276
pic
Ha... rendered .. you got it! By computers that came into being from absolutely nothing. No one even knows who started the rendering process , or even who made the render program - it just so happened that it all came together by itself from a little dot smaller than a pixel on your computer...(ask Alan Guth - he seems to know). [edit: this is - not - what I believe, by the way.]

No there's a whole lot more to it than that really. But email me if you want to discuss it, Ill gladly talk with you.

I suggest however that further postings, if any, discussing the conflict between evolutionists and creation, go to the rant section...

Post by SiRender // Feb 18, 2006, 2:59pm

SiRender
Total Posts: 38
I suggest however that further postings, if any, discussing the conflict between evolutionists and creation, go to the rant section...


agreed. ;)

Post by joekel4 // Feb 19, 2006, 1:41am

joekel4
Total Posts: 15
Leif,


So you're suggesting the world was rendered in only 7 days? I have a hard time with that estimate since even with all the computers in the universe cooperating (running tSNet of course) it would still have taken a long time even using GRay. By the way, there were a few things that didn't turn out very nice so I suggest tweaking a few things and re-rendering.


(I'm just having fun... please don't smite me.)


SiRender

True Christians are not the ones doing the smiteing. We are trying to keep you from getting smitten. As we are commanded by our Creator, who doesn't wish to smite you. He has done all in His power to provide a way for us to be with Him by comeing down here himself and doing for us what we had no power to do ourselves. If you wish I too would be happy to answer any questions you have. Unlike the Lord I am not omniscient, but I know someone who is. Also He will tweak things and rerender when the time is right, but when He does it will be too late for those that don't know Him as personal Savior. You will have been given more then adequate opportunity.

I would suggest a couple of thoughts regarding the time question. First, an omnipotent creator could have created our universe in an instant if He wished or he would not be all-powerful. There was a reason He chose 7 days, as there is a reason for everything else He has done, is doing, and will continue to do. Secondly, the chances of something comeing out of nothing by itself is rediculous no matter how long. One 24 hour day or 50 billion years the statistics are the same you have 0 chance.

Leif,

While the subject of this thread has evolved from its origins I am of the opinion that perhaps a new open thread could be started. I do not rant nor rave when speaking of my Lord and Savior Jesus Christ. I applaud your taking the opportunity to witness! Keep up the good work.

Your humble servant,

Joe

Post by ProfessorKhaos // Feb 19, 2006, 3:38am

ProfessorKhaos
Total Posts: 622
pic
Quote:

Originally Posted by Leif

I suggest however that further postings, if any, discussing the conflict between evolutionists and creation, go to the rant section...



agreed.

__________________

regards,

SR


Agreed. :)

Post by SiRender // Feb 19, 2006, 10:24am

SiRender
Total Posts: 38
SiRender

True Christians are not the ones doing the smiteing. We are trying to keep you from getting smitten. As we are commanded by our Creator, who doesn't wish to smite you. He has done all in His power to provide a way for us to be with Him by comeing down here himself and doing for us what we had no power to do ourselves. If you wish I too would be happy to answer any questions you have. Unlike the Lord I am not omniscient, but I know someone who is. Also He will tweak things and rerender when the time is right, but when He does it will be too late for those that don't know Him as personal Savior. You will have been given more then adequate opportunity.

I would suggest a couple of thoughts regarding the time question. First, an omnipotent creator could have created our universe in an instant if He wished or he would not be all-powerful. There was a reason He chose 7 days, as there is a reason for everything else He has done, is doing, and will continue to do. Secondly, the chances of something comeing out of nothing by itself is rediculous no matter how long. One 24 hour day or 50 billion years the statistics are the same you have 0 chance.


[...]



joekel4,


I did not mean to antagonize you or Leif with my original comment. Nor did I realize how using the word 'smite' would be taken in any other way than as part of the silliness. I think I see now that it made light of your "witness".


In any case, Caligari would rather keep the topics about doing cool stuff with trueSpace. So as you wrote, let's keep this friendly and out of the forum :)

Post by Leif // Feb 19, 2006, 8:32pm

Leif
Total Posts: 276
pic
Thank you, Joe, I greatly appreciate that!

Post by aaronlrichards // Mar 1, 2006, 8:05am

aaronlrichards
Total Posts: 7
Thank you for posting the developer docs Norm. Its a big help!


Hoping you can help me out! I would like to render a frame from within a script and don't know which objects or methods to use. I would like to create a script that moves objects around, which I believe I can figure out, but the part I do not know how to do is to record the image of the motion into an AVI or a standalone .JPG file. Basically I would like to create videos of computed motion.


I tried the script recorder, and it didn't record any script for the render process, so I can't use that method of research, unless I did something incorrectly, which could be the case.


Also, related, if I want to use an object from the library, and dynamically pick and place it into the environment (like the earth), how do I go about that process? Again I tried scripting it using the script recorder, and it didn't script anything except some type of select object statement.


I am really excited about the possibilies provided by TS 7 and scripting, and want to dig into it, just getting hung up on some of the basics.


Also, not to rush things, but when is TruePlay coming out?


I guess that is enough questions, looking forward to your answers!

(If you could make TruePlay embeddable within a Inet browser like IE, that would be incredible!)

Thanks!

Aaron

Post by Alien // Mar 1, 2006, 9:54am

Alien
Total Posts: 1231
pic
Hoping you can help me out! I would like to render a frame from within a script and don't know which objects or methods to use. I would like to create a script that moves objects around, which I believe I can figure out, but the part I do not know how to do is to record the image of the motion into an AVI or a standalone .JPG file. Basically I would like to create videos of computed motion.


I tried the script recorder, and it didn't record any script for the render process, so I can't use that method of research, unless I did something incorrectly, which could be the case.

I'm just guessing here, as I'm not currently looking into scripting, but from various things I've read, both on this forum & in the 2 guides, I think if you want to render the whole thing as an animation, you'd have to figure out a way [script?] to create key frames. Then you'd render out the animation as normal [like before tS7]. If you only want a specific frame, just stop the script where you want it & hit render.

Post by Vladimir // Mar 2, 2006, 8:28am

Vladimir
Total Posts: 11
I'm just guessing here, as I'm not currently looking into scripting, but from various things I've read, both on this forum & in the 2 guides, I think if you want to render the whole thing as an animation, you'd have to figure out a way [script?] to create key frames. Then you'd render out the animation as normal [like before tS7]. If you only want a specific frame, just stop the script where you want it & hit render.


What about the key frame scripting, some help you can find in Activities library/My Activities/tS KeyFrame recorder object. Just drag&drop it into Link Editor and you should see other instructions.

Post by aaronlrichards // Mar 4, 2006, 2:27pm

aaronlrichards
Total Posts: 7
Thank you Vladimir and Alien, not quite what I had in mind, but certainly worth a try!


Best regards,


Aaron

Post by weaveribm // Jun 5, 2007, 12:45pm

weaveribm
Total Posts: 592
Thanks Norm!

Peter
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn