I looked through the second life files hoping that it would be a text file I could replace or something, but no such luck.
While it's not the end of the world or anything, it would really be nice if I could replace the default New Script with my own basic script, as often as I create new scripts just for testing an idea or whatever, it would save a lot of typing.
I read on the Wiki under llAplyImpulse that the MAX_MAG for push type scripts is 20,000.
This is not mentioned under any other physics functions that I notices, can any one confirm or refute this or know the source of that information?
Energy, Obviously linked directly to the mass of an object, I would like to confirm some observations.
a 10x10x10 cube has a mass of 10,000 takes 50 seconds to go from 0 to 1 energy (measuerd)
a 1x1x0.1 has a mass of 1 should take 1/200 of a second to refill its energy. (looks about right)
From my observations, the total amount of energy in a prim, is irrelivant to the push it can apply.
It seems to me that the MASS of an object affects its Push function calls, and the PERCENTAGE of energy effects them. (not total energy)
I think this because a 10,000 mass object at 0.5 energy, still has 5,000 times more energy than a 1 mass prim. however when atempting to apply the same push, the large prims push is attenuated because its only at 50% energy, while the small prim is not atenuated, even though it has less total energy.
Moral of the story, when you want to know the effect you Prim will have on a push from your script, you look at its MASS, and its PERCENTAGE of energy. (not try to figure out how much actual energy it has)
Another possibly way to look at is that all prims contain exactly the same MAX_ENERGY, and larger prims have a slower refill, I do not think that is the case though, because if you are doing really piddly pushes, a large prim will not have its energy percentage reduced to 0, whereas a small prim will.
Ok, so Default script change, max magnitude on llpush type functions, and observations on energy. I have more questions kind of related to the Energy part, but I think that deserves a seperate post.
Please please please let me know if you have any answers/observations about any of this, I hate working on the dark with no documentation that should explain what functions do and how they work.