[RESOLVED] error in self created effect file 1.0 is greater then 0.0

For topics related to the creation of simulation objects (SimObjects). This includes development of aircraft, ground, and maritime vehicles.
Bonesie85
Posts: 18
Joined: Fri Jun 26, 2015 6:15 pm

[RESOLVED] error in self created effect file 1.0 is greater then 0.0

Postby Bonesie85 » Mon Aug 20, 2018 1:50 am

Hi all,

I've created an effect myself using the effectstool from the sdk. Whenever I boot P3D I now get and error message. I get the same error message whenever i start the effect.

The error message looks as follows:
Image

The file I've created:

[Library Effect]
Lifetime=5
Version=2.00
Display Name=Parajump C-130
Radius=3
Priority=0

[Properties]

[Emitter.0]
Lifetime=15.00, 15.00
Delay=0.00, 0.00
Bounce=0.00
LOD=1
Rate=1.00, 1.00
X Emitter Velocity=102.00, 102.00
Y Emitter Velocity=0.00, 0.00
Z Emitter Velocity=0.00, 0.00
Drag=0.00, 0.00
X Particle Velocity=0.00, 0.00
Y Particle Velocity=0.00, 0.00
Z Particle Velocity=0.00, 0.00
X Rotation=0.00, 0.00
Y Rotation=0.00, 0.00
Z Rotation=0.00, 0.00
X Offset=0.00, 0.00
Y Offset=0.00, 0.00
Z Offset=0.00, 0.00
Pitch=0.00, 0.00
Bank=0.00, 0.00
Heading=0.00, 0.00

[Particle.0]
Lifetime=1.30, 1.30
Type=19
X Scale=1.00, 1.00
Y Scale=1.00, 1.00
Z Scale=1.00, 1.00
X Scale Rate=1.00, 0.00
Y Scale Rate=1.00, 1.00
Z Scale Rate=1.00, 1.00
Drag=-1.00, -1.00
Color Rate=1.00, 1.00
X Offset=0.00, 0.00
Y Offset=0.00, 0.00
Z Offset=0.00, 0.00
Fade In=0.00, 0.00
Fade Out=0.00, 0.00
Rotation=0.00, 0.00
Shade=1
Soft=1
Cast Shadow=1
Face=1, 1, 1

[ParticleAttributes.0]
Blend Mode=1
Texture=paradrop1.bmp
Bounce=0.00
Color Start=255, 255, 255, 255
Color End=255, 255, 255, 255
Jitter Distance=0.00
Jitter Time=0.00
TempK=60.00
TempRate=0.00
uv1=0.00, 0.00
uv2=1.00, 1.00
X Scale Goal=3.00
Y Scale Goal=3.00
Z Scale Goal=0.00
Extrude Length=0.00
Extrude Pitch Max=0.00
Extrude Heading Max=0.00

Anyone able to spot the mistake I've made?

Clifton Crane
Lockheed Martin
Posts: 877
Joined: Tue Sep 25, 2012 2:34 pm

Re: error in self created effect file

Postby Clifton Crane » Mon Aug 20, 2018 4:10 pm

Hello,

It looks like this line is giving you the error in Particle.0:

X Scale Rate=1.00, 0.00

The first value must be less than the second value. Changing it to this should fix the issue:

X Scale Rate=1.00, 1.00
Clifton Crane
Prepar3D® Software Engineer

Bonesie85
Posts: 18
Joined: Fri Jun 26, 2015 6:15 pm

Re: error in self created effect file

Postby Bonesie85 » Wed Aug 22, 2018 12:15 am

that's it, thanks a lot!


Return to “Simulation Object Development Questions”

Who is online

Users browsing this forum: No registered users and 1 guest