SP3x. The Plan.
-
Ok. Now that SP3 Release Candidate is out I can start talking about SP3x. The x is for experimental. Its different from the RC in that the models made with it will probably not work in future versions.
Its a version that I am going to try out a few ideas with. Some of it might wind up in SPIV(the next point release many moons from now) and some might not.
SP3x should be released in a few days. I dont think there will be any 3dwarehouse restrictions. But I am going to put a big Experimental warning in it.
The first experimental feature is events. Some examples of events are when two things touch or when the simulation starts. Here is a video of a model that uses OnTouch and OnTick.
[flash=600,400:oppipown]http://www.youtube.com/v/LS8QWJSnbb8[/flash:oppipown]
It is complex what it does even tho the script is pretty simple. The cone always points at the yellow sphere. The blue cylinder will follow the cone around (sort of like a dog). When the purple cube is touched it will use setVar to cause the cone to start emitting. If anything touches the yellow sphere it will shoot out a copy sideways.
The cool thing is there is not one joint,thruster, emitter, gyro or magnet in that scene. Just OnTouch and OnTick.
Another feature that will be in the experimental version is the ability to play some sound effects. Its has all sorts of limitations. But it works well in some conditions.
Here is a model by Phonic that I added sound to. It should work with SP3rc.
-
i can't see anything in the script that makes it make a noise! how do you do it???
-
@hobbnob said:
i can't see anything in the script that makes it make a noise! how do you do it???
open the UI and click on the baseball bat. You will see the code in On Touch.
-
ummm, the on touch bit doesn't shwo in the ui, and yet i have all the other functions and the sound works perfectly, what's worng? I'm going to reinstall...
-
I think on touch and tick have been removed in this release, or hidden anyway. People with the first download of SP3RC1 might still have it showing
-
lucky sods, cphilli[s deleted the one with on touch and ontick, which is annoying, what is the eta on sp3x?
-
Ah we both had it too, but I think we both reinstalled it No worries, SP3 X is just a few days away...
-
yeah in a few days we shall be in a state of pure elation
-
I dunno; I think that cone's watching me...
-
things are going to be proper advanced with things like that, just imagine: tracking turrets, missiles etc, automatic dogfighting aircraft that jink if hit, imagine the possibilities!!
-
When will the final version of SP3 be released?
-
I think technically this is the final version. SP3 X is actually separate, since models made with it probably won't work in SPIV.
-
i have quite a pressing question: will sp3 final and sp3x be able to coexist? because if not then there will be a few issues
-
SP3x will be out as soon as I can finish a few things and add some warnings.
In the meantime a few of the new script commands are available even without the events.
Create a cone and a sphere. Then set the thruster to:
lookAt("sphere");0
lookAt is a new script command that forces an object to "point at" another uniquely named object.
The ";0" part means that the thruster is off. If you want you could make it ";leftx" or whatever.
Note I think I might change lookAt to something else. So it might not work for long. Thats the nature of these experiments.
-
@cphillips said:
SP3x will be out as soon as I can finish a few things and add some warnings.
In the meantime a few of the new script commands are available even without the events.
Create a cone and a sphere. Then set the thruster to:
lookAt("sphere");0
lookAt is a new script command that forces an object to "point at" another uniquely named object.
The ";0" part means that the thruster is off. If you want you could make it ";leftx" or whatever.
Note I think I might change lookAt to something else. So it might not work for long. Thats the nature of these experiments.
thought you guys might like this
-
When i added the batting practice noise script to a machine gun, it wouldn't play the noise until a minute later. That even happened after the simulation stopped. What is wrong?
-
Nevermind. It was just a mistake
-
May i request that instead of cutting the sound off when the object is hit during another sound cycle, make them overlap. Almost like a machine gun. OFF TOPIC: I had some more disastrous results when i had built a machine gun. I could only hear white noise when the projectiles collided, so i kept turning up the volume. BOOM!!! after the last shot had collided my eardrums had never seen worse days. Right now i feel pretty stupid...
-
The sound is limited to what the built in Sketchup play_sound command can do. At some point I may hook up a real sound API. But not anytime soon.
-
Sorry the SP3x version isn't ready yet. I haven't had time to work on it this week. And it looks like I am going to have to fix a few bugs in the Release Candidate first.
Advertisement