how can i fix this problem? The first three lines was reported errors in AE, and i don’t know how to fix this . Google says it might be caused by the language of the system. please help me to figure this out.
amorti = effect(“Att?uation”)(1); freq = effect(“Elasticit?)(1);
if (numKeys > 1 && freq != 0 ){ if (nearestKey(time).index 1) { value } else {
if (length(velocity) 0) {
tempsClefProx = nearestKey(time).time;
if ( tempsClefProx <= time ) { tempsDebut = tempsClefProx } else { tempsDebut = key(nearestKey(time).index-1).time }
temps = time – tempsDebut;
spring = velocityAtTime(tempsDebut-thisComp.frameDuration) * ( .15/freq * Math.sin(freq * temps * 2 * Math.PI) / Math.exp( temps * amorti ) );
valueAtTime(tempsDebut) + spring;
} else { value } } } else { value }
- Microlancer Beta Tester
- Sold between 50 000 and 100 000 dollars
- Exclusive Author
- Bought between 100 and 499 items
- Referred between 500 and 999 users
- Author had a Free File of the Month
- Author was Featured
- Item was Featured
- Europe
miseld said
If you are talking about Tginho’s “Motion Profile” that use expression, contact author. Btw what’s you AE version & Language?
yes,it is the motion profile , i send Tginho a e-mail, but he did’t replay me, so i came here looking for help, my supervisor gave the project to me, and i need to finish my work before next friday. i’m using AE CS5 win64bit, english,
- Sold between 250 000 and 1 000 000 dollars
- Author was Featured
- Item was Featured
- Contributed a Tutorial to a Tuts+ Site
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Exclusive Author
- Has been a member for 3-4 years
- Bulgaria
I think the problem is in the language of the file itself. I guess Tghinho should run the expression universalizer script on his project. Anyone here knowing french may be able to guide you through fixing the problem manually. Anyhow, he should be around soon. It’s one-click move.
- Community Moderator
- Sold between 50 000 and 100 000 dollars
- Author was Featured
- Item was Featured
- Author had a File in an Envato Bundle
- Beta Tester
- Has been a member for 4-5 years
- United Kingdom
You would need to post a screencap of the error message too. But to be honest if there’s an expression not working in a project, it should be the author who fixes it.
There are so many basic errors in that code that I don’t know where to begin. I can’t believe that exists in a project that has sold so many times. I wonder if it has become corrupted by how you’ve pasted it into the forum. (pasting code in the forum should be between code tags)
Below is my guess at repairing it. It appears to be an expression to create a bounce at the end of a movement.
amorti = thisLayer.effect("Attuation")(1);
freq = thisLayer.effect("Elasticit")(1);
if (numKeys > 1 && freq != 0 ) {
if (nearestKey(time).index > numKeys) {
value
} else {
if (length(velocity)) {
tempsClefProx = nearestKey(time).time;
if ( tempsClefProx <= time ) {
tempsDebut = tempsClefProx
} else {
tempsDebut = key(nearestKey(time).index-1).time
}
temps = time-tempsDebut;
spring = velocityAtTime(tempsDebut-thisComp.frameDuration) * ( .15/freq * Math.sin(freq * temps * 2 * Math.PI) / Math.exp( temps * amorti ) );
valueAtTime(tempsDebut) + spring;
} else {
value;
}
}
} else {
value
}
thanks all for helping. i will try to contact Tginho again. thanks InlifeThrill, it might be the french english convert thing,Google said that too, thanks felt_tips , it turns out that there is no effect named “Attuation”, maybe not in my software. the project will work without the code, but it will lose the spring look effect when the skill names came out. will be losing some fun when watching. BTW ,my e-maill:always_adan@hotmail.com , if anyone could help ,please contact me.,thanks.
