A8 Problem with effect

Posted By: Progger

A8 Problem with effect - 12/30/10 12:57

Hi Community i have a problem with effect
WHen i start my script with my A7.86 COm Edition everthing works fine.But when i use A8 Com there are some crashes.I issolated them and found out that effect is the command that makes it crash
what can i do now?
Here is a part of my code
Code:
action waterfall()
{
waterf=my;
while(waterf!=NULL) {wait(1);}
while(1)
	{
		my.v = -50*total_ticks;
		

	vec_for_vertex(temp3,my,15);
	effect(water_par,10,temp3,normal);
		
		
		wait(1);
	}
}


Thanks for ur help laugh
Posted By: TerraSame

Re: A8 Problem with effect - 01/02/11 11:43

Hi...
I wonder if you now have your crash errors solved?
As I recall, I had similar crashes and I believe that the reason was because the game somehow was finding the improper effect code file/definition.
You will want to track down the proper file/definition and make sure that your project can find it during run time...
In other words.. Where is the water_par defined? And, can the game find the definition or file where it is located?
Also, you might try scripting out the effect line and run to verify if that truly is the problem...
Hope that helps...
Posted By: Progger

Re: A8 Problem with effect - 01/02/11 15:55

It is away after i updated to A8.10 Com Im so happy now laugh
Because it was so annoying but now everything is ok laugh
But thanks for trying to help laugh
EDIT:Shaders dont work now
I use an old shader from the templates
mtlFx and the shader is gone with it the terrain
After i press 0 i can see it
and i included default.c to do that
WFG PRogger laugh
© 2024 lite-C Forums