.ysf Situational Code (Weather etc.)

Topics about .fld, .stp, .ter, .yfs, and Scenery Editor.
Post Reply
User avatar
waspe414
Staff
Staff
Posts: 1253
Joined: Thu Feb 10, 2011 9:35 pm
Favorite Aircraft: CH-136 Kiowa, Yak-130 Mitten
Location: Canada
Has thanked: 115 times
Been thanked: 219 times

.ysf Situational Code (Weather etc.)

Post by waspe414 » Tue Apr 26, 2011 12:12 am

I've been messing around with mission files and came across all this stuff:
EVTBLOCK
TXTEVT 10.00 0
TXT Text goes here
ENDEVT
VISCHG 15.0 0
VISI 5000m
ENDEVT
WNDCHG 10.0 0
WIND 100.000000m/s 0.000000m/s 0.000000m/s
ENDEVT
EDEVTBLK
Text.
Visibility.
Wind.
Time it occurs.
Not a clue.
Input data.
But I can't for the life of me figure out what this does or what it means (the bolded part):
VISCHG 15.0 0
VISI CLDLYR OVC 800ft 1000ft
ENDEVT

Maybe "Cloud layer ??? min alt, max alt". I see no affect on weather though.
Any ideas?
Last edited by waspe414 on Thu Apr 28, 2011 11:27 pm, edited 1 time in total.
Actual UltraViolet
Image Image
Image
I stole your turnip. Now you must come and defend your honour. ~ Hank Green

Kynan

.ysf Situational Code (Weather etc.)

Post by Kynan » Tue Apr 26, 2011 2:14 am

Cloud layer overcast 800ft or maby meters to 1000ft.
Thats that it looks like. If it has no effect maby youv got you fog effect turned off or something

User avatar
Eric
Senior Veteran
Senior Veteran
Posts: 1533
Joined: Thu Feb 10, 2011 5:30 am
Favorite Aircraft: Super Hornet
Location: Chicago, Illinois
Has thanked: 59 times
Been thanked: 164 times
Contact:

Re: Can anyone parse this?

Post by Eric » Tue Apr 26, 2011 2:45 am

Good idea Kynan. May I ask where you got this replay from (or how you made it)?
I make this website.

User avatar
waspe414
Staff
Staff
Posts: 1253
Joined: Thu Feb 10, 2011 9:35 pm
Favorite Aircraft: CH-136 Kiowa, Yak-130 Mitten
Location: Canada
Has thanked: 115 times
Been thanked: 219 times

Re: Can anyone parse this?

Post by waspe414 » Tue Apr 26, 2011 2:57 am

The weather came from the Pirate Attack .ysf, the text from tailstrike messages in a saved replay.

I have fog turned on, and setting visibility to x meters works perfectly fine, I just don't see any effect with this particular line. I suppose I could set the range to ten feet or so and see with that.
Actual UltraViolet
Image Image
Image
I stole your turnip. Now you must come and defend your honour. ~ Hank Green

Iceman
Core Staff
Core Staff
Posts: 1399
Joined: Wed Feb 02, 2011 5:47 am
Favorite Aircraft: F-16C Viper
Has thanked: 84 times
Been thanked: 137 times

Re: Can anyone parse this?

Post by Iceman » Tue Apr 26, 2011 3:10 am

Shoot Soji an email and post what he says. Everyone can use this.
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Homie I'll SQL YOUR syntax

User avatar
Gunny
Business Class Membership
Business Class Membership
Posts: 3224
Joined: Sun Feb 06, 2011 6:17 pm
Favorite Aircraft: Any thing with a prop.
Location: New Iberia.LA.
OS: Windows XP SP3
Has thanked: 577 times
Been thanked: 731 times

Re: Can anyone parse this?

Post by Gunny » Tue Apr 26, 2011 10:07 am

It seems like a cloud layer thicknes definition where 800Ft. are the bottoms and 1000Ft. are the tops But it seems unusual for them to be defined in Ft. rather than meters since most all Ys defs. are metric.Just my 2 cents worth. ;)

User avatar
waspe414
Staff
Staff
Posts: 1253
Joined: Thu Feb 10, 2011 9:35 pm
Favorite Aircraft: CH-136 Kiowa, Yak-130 Mitten
Location: Canada
Has thanked: 115 times
Been thanked: 219 times

Re: Can anyone parse this?

Post by waspe414 » Thu Apr 28, 2011 11:25 pm

I have yet to hear back, but I took a stab at the wind controls. First guess worked...

WNDCHG 0.0 0
WIND 0.000000m/s 0.000000m/s 0.000000m/s
ENDEVT

First post edited.
Actual UltraViolet
Image Image
Image
I stole your turnip. Now you must come and defend your honour. ~ Hank Green

User avatar
waspe414
Staff
Staff
Posts: 1253
Joined: Thu Feb 10, 2011 9:35 pm
Favorite Aircraft: CH-136 Kiowa, Yak-130 Mitten
Location: Canada
Has thanked: 115 times
Been thanked: 219 times

Re: Can anyone parse this?

Post by waspe414 » Sun Jul 10, 2011 9:52 pm

Bumpity.

So Soji responded, saying CLDLYR OVC 800ft 1000ft means "that cloud layer overcast bottom 800ft top 1000ft."

I still see no effect.
Actual UltraViolet
Image Image
Image
I stole your turnip. Now you must come and defend your honour. ~ Hank Green

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest