Has anyone got a slow rotation script that uses 'setrot' and not 'targetomega' ?
|
|
Tazmania Trefusis
Registered User
Join date: 13 Jan 2008
Posts: 85
|
04-17-2008 16:10
Has anyone got a slow rotation script that uses 'setrot' and not 'targetomega' ? (and also allows adjustment for speed!) *Update* I found one but it requires the prim to be touched first!..and I need it running without touch  __________________________________ rotation rot_xyzq; default { state_entry() { vector xyz_angles = <0,1.0,0>; // This is to define a 1 degee change vector angles_in_radians = xyz_angles*DEG_TO_RAD; // Change to Radians rot_xyzq = llEuler2Rot(angles_in_radians); // Change to a Rotation } touch_start(integer s) { llSetRot(llGetRot()*rot_xyzq); //Do the Rotation... } } __________________________________ I tried removing the 'touch start' and the brackets containing it but prim just moved once and then didn't anymore!
|
|
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
|
04-17-2008 20:19
It might help to know what's actually being attempted here. In theory, one could just put in a timer and keep doing llSetRot() forever, but that's just terribly inefficient compared to llTargetOmega. So... other than the current glitches with llTargetOmega (or its long history of different glitches with each update), is there some particular reason not to use it?
|
|
Tazmania Trefusis
Registered User
Join date: 13 Jan 2008
Posts: 85
|
04-17-2008 20:58
Well it its because my original query i which Im not having alot of luck with... /54/39/253618/1.htmlresponded in a script given to me which might solve this problem. Rotating prims that follow each other in rotation in -5 or 10 degrees offset from the master prim. But when the scripter tried 2 scripts that would hopefully create this 'follow rotation chain', it didnt work. He mentioned that the same script would prob work if I used a non 'targetomega' rotation script ??
|
|
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
|
04-18-2008 06:51
Okay, well, if I understand the scenario correctly, it really should be possible to get llTargetOmega() to work for this with a linkset, using link_message()s from a stationary root prim to synchronize staggered start-up... but with llTargetOmega()'s manifold misbehaviors in child prims subject to change with each release, and with the current extrreme b0rkage of that function, maybe best to explore alternatives.
If, by any chance, this is purely a visual effect and matters only to the "top" side of the rotating prims, then staggered-sync llSetTextureAnim() may work. (I've gotten this to work pretty well over large linksets of prim water, for example, but sometimes the client gets a little confused till the next TP onto the scene.)
Failing that, yeah... I suppose llRotLookAt() in a timer loop, again with linked messages for staggered sync, is probably the most likely approach. But one is loathe to suggest anything that forces a script to be active forever, unless there's really no way around it.
|
|
Darien Caldwell
Registered User
Join date: 12 Oct 2006
Posts: 3,127
|
04-18-2008 12:09
From: Tazmania Trefusis Well it its because my original query i which Im not having alot of luck with... /54/39/253618/1.htmlresponded in a script given to me which might solve this problem. Rotating prims that follow each other in rotation in -5 or 10 degrees offset from the master prim. But when the scripter tried 2 scripts that would hopefully create this 'follow rotation chain', it didnt work. He mentioned that the same script would prob work if I used a non 'targetomega' rotation script ?? I pointed you toward the answer. Here's a bigger hint: /54/3a/234842/1.htmlnow if you want me to actually write it for you, that's another matter, we can discuss my fee in world. 
|
|
Tazmania Trefusis
Registered User
Join date: 13 Jan 2008
Posts: 85
|
04-18-2008 14:40
Pointing me towards a 3 part script would probably be a good idea and even may put me on the right path...but only if I was semi proficient in scripting, which I'm not. I can change a few params of an existing script to suit my needs and cannabalise another script on a very small scale to again..suit my need but as far as writing one from scratch or modifying one, that maybe slightly what im looking for, and make it do what i want it to do...not a chance! lol (so..I know my limitations! lol)
So whats the going rate to have one customised to my criteria?
How is suitable payment worked out? per line of code? (i'll be checking for extra comments lol) Per hour spent on the script? Guess an amount? lol
And what happens in the eventually the script doesn't meet the criteria?....wether down to lack of skill in the scripter or a script requirement that would be practically impossible in SL?
Just curious
Taz
|
|
Jay Karlfeldt
Happy Scripter
Join date: 4 Nov 2005
Posts: 51
|
Payment for Scripting
04-18-2008 18:30
I script for people on contract. My price depends on the use the script is to be put to personal use (mod and copy, no transfer) one price, script to be marketed (mod,copy and transfer) another price. I price based on the size of the job based on 50 years experience, fixed price at start of work. I only accept payment from satisfied customers, so you pay the full amount when it meets the original specification, which we must agree on before work commences. I have several large contracts completed for satisfied customers, contact me if you want to go further. Jay Karlfeldt
|
|
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
|
04-18-2008 20:19
There are a multitude of highly qualified people here in Scripting Tips who can fulfill requests like this. But it kind of violates the spirit of the forum if we were all to start listing our qualifications and started clamouring for contract work here.
Once it is clear that someone wants someone else to do a job instead of learning scripting then it is better that they are directed to the correct forum. Then everyone can still keep an eye out for the request there and reply. Sorry if this ruffles any feathers but do we really want 30 or 40 replies to threads like this with people shouting "Pick me, pick me!"
At the very least keep it out of the forum and send them a message in world stating you saw thier request and ....................
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime. From: someone I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
|
|
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
|
Pick me Pick me
04-21-2008 13:10
From: Jesse Barnett There are a multitude of highly qualified people here in Scripting Tips who can fulfill requests like this. But it kind of violates the spirit of the forum if we were all to start listing our qualifications and started clamouring for contract work here.
Once it is clear that someone wants someone else to do a job instead of learning scripting then it is better that they are directed to the correct forum. Then everyone can still keep an eye out for the request there and reply. Sorry if this ruffles any feathers but do we really want 30 or 40 replies to threads like this with people shouting "Pick me, pick me!"
At the very least keep it out of the forum and send them a message in world stating you saw thier request and .................... Ah but Jesse I'd always pick you
_____________________
I'm back......
|
|
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
|
04-21-2008 13:27
From: Newgate Ludd Ah but Jesse I'd always pick you O M G!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Jesse is dancing her very ugly, happy, happy dance now that makes my daughter and dog go running for thier lives!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime. From: someone I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
|