SurClaro Flight Simulator Resources Forum Index SurClaro Flight Simulator Resources
Flight Simulator & Aviation forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups    FavoritesFavorites   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SurClaro.com Home Page | Downloads | New files | Top files | ScreenShots | Reviews | News | Links | Forum Archive | Upload files | Get RSS Get RSS

Search for answers to your questions:
*** You can use AND to define words which must be in the results ***
Click here for more search options...
Adding Effect to the Scenery

 
Post new topic   Reply to topic    SurClaro Flight Simulator Resources Forum Index -> Add-ons Developers
View previous topic :: View next topic  
Author Message
juni66
New Forum Member
New Forum Member
Location: Waren (Müritz) EDOW
Gender: Male

PostPosted: Sun Aug 14, 2005 10:36 pm    Post subject: Adding Effect to the Scenery Reply with quote

My Question is a little bit emberassing, sorry. T.T

I tryed to add a smoke effect to the generic nuclear plant, but there's nothing coming out.
I tryed to make it per XML Editing and compiling. I put the effect as a new object at the height and point of the cooling tower....

There's showing up nothing, that looks like smoke.
Back to top
View user's profile 
ricktobinOffline
Forum Moderator - Master member
Forum Moderator - Master member
Joined: 21 Feb 2004
Total posts: 1646
Location: Virginia Beach, Virgina USA (KNTU, KORF)
Age: 41
Gender: Male

PostPosted: Mon Aug 15, 2005 2:24 am    Post subject: Reply with quote

Did you follow everything in the MSFS2004 Special Effects SDK?

How about posting the XML data and we'll go from there.
Back to top
View user's profile 
juni66
New Forum Member
New Forum Member
Location: Waren (Müritz) EDOW
Gender: Male

PostPosted: Fri Aug 19, 2005 10:13 pm    Post subject: Smoke Effect File for the Generic Nuclear Plant Reply with quote

Yes, i tried to follow everything, but i didn't understand everything. Embarassed
The first Effect didn't show up. Now i tried the one from the SDK called chimney smoke. This one's fine, but i can't tell the smoke, only to travel upwards. I tried it with changing all velocities to zero except for the y-one, but it doesn't work. It's not very logical to me. Ones i make the Lifetime longer, the smoke covers the whole area the same way, no matter what i change. Question

This is the XML Code:
Code:
   [i]<SceneryObject
      lat="34 48.0000"
      lon="139 05.0000"
      alt="0"
      pitch="0"
      bank="0"
      heading="100"
      altitudeIsAgl="TRUE"
      imageComplexity="NORMAL">
      <LibraryObject
         name="dda775e2435e5e3ea8f5119a375df7ec"
         scale="1.0" />
   </SceneryObject>
   <SceneryObject
      lat="34 47.9308"
      lon="139 05.0481"
      alt="145"
      pitch="0"
      bank="0"
      heading="180"
      altitudeIsAgl="FALSE"
      imageComplexity="DENSE">
      <Effect
         effectName="fx_genNucPlant_Smoke" />
   </SceneryObject>[/i]


• This is the effect file:
[Library Effect]
Lifetime=5
Version=2.00
Display Name=Smoke Stack
Radius=200
Priority=0

[Properties]
Cockpit=1
VirtualCockpit=1
Spot=1
Tower=1
Map=1

[Emitter.0]
Lifetime=600.00, 900.00
Delay=0.00, 0.00
Bounce=0.00
Rate=15.00, 20.00
X Emitter Velocity=0.00, 0.00
Y Emitter Velocity=0.00, 0.00
Z Emitter Velocity=0.00, 0.00
Drag=0.00, 0.00
X Particle Velocity=-2.00, 2.00
Y Particle Velocity=2.00, 6.00
Z Particle Velocity=-2.00, 2.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=3.00, 6.00
Type=19
X Scale=10.00, 15.00
Y Scale=10.00, 15.00
Z Scale=0.00, 0.00
X Scale Rate=0.20, 0.20
Y Scale Rate=0.20, 0.20
Z Scale Rate=0.00, 0.00
Drag=-1.00, -1.00
Color Rate=0.50, 0.70
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.80, 0.80
Rotation=-20.00, 20.00
Shade=1
Face=1, 1, 1

[ParticleAttributes.0]
Blend Mode=1
Texture=fx_1.bmp
Bounce=0.00
Color Start=140, 140, 140, 120
Color End=150, 150, 150, 255
Jitter Distance=0.03
Jitter Time=0.30
TempK=107.50
TempRate=0.11
uv1=0.00, 0.50
uv2=0.50, 1.00
X Scale Goal=300.00
Y Scale Goal=300.00
Z Scale Goal=0.00
Extrude Length=0.00
Extrude Pitch Max=0.00
Extrude Heading Max=0.00

[Emitter.1]
Lifetime=600.00, 900.00
Delay=0.00, 0.00
Bounce=0.00
Rate=15.00, 20.00
X Emitter Velocity=0.00, 0.00
Y Emitter Velocity=0.00, 0.00
Z Emitter Velocity=0.00, 0.00
Drag=0.00, 0.00
X Particle Velocity=-2.00, 2.00
Y Particle Velocity=2.00, 6.00
Z Particle Velocity=-2.00, 2.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.1]
Lifetime=3.00, 6.00
Type=19
X Scale=10.00, 15.00
Y Scale=10.00, 15.00
Z Scale=0.00, 0.00
X Scale Rate=0.20, 0.20
Y Scale Rate=0.20, 0.20
Z Scale Rate=0.00, 0.00
Drag=-1.00, -1.00
Color Rate=0.50, 0.70
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.80, 0.80
Rotation=-20.00, 20.00
Shade=1
Face=1, 1, 1

[ParticleAttributes.1]
Blend Mode=1
Texture=fx_1.bmp
Bounce=0.00
Color Start=180, 180, 180, 120
Color End=200, 200, 200, 255
Jitter Distance=0.03
Jitter Time=0.30
TempK=107.50
TempRate=0.11
uv1=0.00, 0.50
uv2=0.50, 1.00
X Scale Goal=300.00
Y Scale Goal=300.00
Z Scale Goal=0.00
Extrude Length=0.00
Extrude Pitch Max=0.00
Extrude Heading Max=0.00
Back to top
View user's profile 
ricktobinOffline
Forum Moderator - Master member
Forum Moderator - Master member
Joined: 21 Feb 2004
Total posts: 1646
Location: Virginia Beach, Virgina USA (KNTU, KORF)
Age: 41
Gender: Male

PostPosted: Fri Aug 19, 2005 10:34 pm    Post subject: Reply with quote

If everything is working except that the smoke won't go straight up, I'm gonna cheat a little and I'll try to get the XML data for the fireworks effect and see what parameter is set with what data, to enable the effect to shoot straight up.

This might take a little while but we'll see if we can figure it out.
Back to top
View user's profile 
Display posts from previous:   
Post new topic   Reply to topic    SurClaro Flight Simulator Resources Forum Index -> Add-ons Developers All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum




Your use of this website constitutes acceptance of the SurClaro Privacy Policy and Terms & Conditions | Advertise on this site

Powered by phpBB © 2005 phpBB Group

AVIATION TOP 100 - www.avitop.com Avitop.com