WCM Forum

WCM Forum (http://www.wcm.at/forum/index.php)
-   Simulationen (http://www.wcm.at/forum/forumdisplay.php?f=27)
-   -   .ini datei (http://www.wcm.at/forum/showthread.php?t=184134)

Viper56 27.01.2006 21:30

.ini datei
 
Hi , wisst ihr wie man ein ini Datein erstellt ? Währe nett wenn ihr mir weiterhelfen könntet .

Matt_EDDW 27.01.2006 21:33

Das kannst Du mit jedem beliebigen Texteditor machen, sogar der Windoof-eigene Editor geht.

Musst Du dann nur unter name.ini speichern.

Aber vielleicht sagst Du uns einfach, was du damit vorhast, dann könnte man etwas konkreter helfen.

Gruß

Matthias

Viper56 27.01.2006 21:38

ich habe vor kuzem einen Beitag über diesen IBNetplayer geschreiben . Diese ist ein Tool wo man beim Online fliegen die Animationen sieht . Bloß das Problem ist das ich nich durchblicke weil alles auf Italienisch ist .Hier nochmal der Link link
Dort muss man um die Animationen zu sehen eine ini datei mit den lights,smoke oder sonnstigen Effecten einfügen . Naja , wie gesagt ich habe keinen schimmer davon . Wer Ahnung hat oder Vorschläge der kann auf diesen Team Speak server kommen :
va-eddn.dyndns.info . Ich bin noch den ganzen Abend online .
Danke

Matt_EDDW 27.01.2006 21:52

Das sieht in jedem Fall extrem spannend aus. Das Forum dort sieht mir recht kompetent aus, und ist zum Teil auf Englisch...hast Du es mal dort probiert?

Nur so ne Idee!

Gruß

Matthias

Viper56 27.01.2006 22:05

ja schon , aber mein englisch is erstens nich so sehr gut und 2. verstehe ich das link
überhaupt nich . Da weis man nicht was jetzt richtig oder falsch ist .

Garmin196 27.01.2006 22:19

Hier Bitte
eine *.ini Datei für eine Realair SF260

Hoffentlich bist Du fitt genug, es genügt nicht, einfach hier abzuschreiben, Du mußt jeden Parameter verstehen, das System ist sehr komplex
am besten Du hast Erfahrung als Softwareentwickler, sonst bewegt sich da nichts
(Englisch ist Voraussetztung) -sorry

[SMOKESYSTEM]

smoke.0=0.40, -6.00, -13.0, fx_RASSF260_SmokeWhite
smoke.1=0.40, -6.00, 13.0, fx_RASSF260_SmokeWhite

[LIGHTS]
//Types: 1=beacon, 2=strobe, 3=navigation, 4=cockpit, 5=landing
light.0=3, -3.47, -13.80, 0.32, fx_SF260_navred
light.1=3, -3.47, 13.80, 0.32, fx_SF260_navgre
light.2=3, -17.84, 0.00, 0.62, fx_SF260_navwhi
light.3=2, -3.50, -13.80, 0.20, fx_SF260_strobe
light.4=2, -3.50, 13.85, 0.20, fx_SF260_strobe
light.5=1, -9.80, 0.00, -0.98, fx_SF260_beacon
light.6=4, -3.00, 0.00, 2.50, fx_SF260_vclight
light.7=3, -3.30, -13.82, -0.05, fx_SF260_VCnavred
light.8=3, -3.47, 13.85, -0.06, fx_SF260_VCnavgre
light.9=2, -3.28, -13.75, -0.12, fx_SF260_VCLstrobe
light.10=2, -3.50, 13.75, -0.12, fx_SF260_VCRstrobe
light.11=4, -2.40, -10.75, 1.80, fx_SF260_winglight
light.12=4, -2.40, 10.75, 1.80, fx_SF260_winglight
//light.13=4, -17.4, 0.00, 2.40, fx_SF260_winglight

light.14=7, -8.47, -13.80, 0.32, fx_RASSF260_Wing_Vortex
light.15=9, -8.47, 13.80, 0.32, fx_RASSF260_Wing_Vortex


Now create the two file Smoke1.ini and Lights.ini

inside Smoke1.ini insert the effects of [SMOKESYSTEM] section with this format:

fx_RASSF260_SmokeWhite ,0.40, -6.00, -13.0,
fx_RASSF260_SmokeWhite ,0.40, -6.00, 13.0,

than open IBEffrects.ini inside modules foder

at the beginning the file is

1
end_smoke

so you must insert

2
fx_RASSF260_SmokeWhite
end_smoke

2 is the number of effects in the file ( end_smoke is counted 1), if you have another aircraft with other smokes, simply insert its in the IBEffects.ini like this:

5
smoke1
smoke2
smoke3
fx_RASSF260_SmokeWhite
end_smoke

( The order is not important )

Inside Lights.ini insert the effects of [LIGHTS] section with this format:

12
3, -3.47, -13.80, 0.32, fx_SF260_navred
3, -3.47, 13.80, 0.32, fx_SF260_navgre
3, -17.84, 0.00, 0.62, fx_SF260_navwhi
2, -3.50, -13.80, 0.20, fx_SF260_strobe
2, -3.50, 13.85, 0.20, fx_SF260_strobe
1, -9.80, 0.00, -0.98, fx_SF260_beacon
3, -3.30, -13.82, -0.05, fx_SF260_VCnavred
3, -3.47, 13.85, -0.06, fx_SF260_VCnavgre
2, -3.28, -13.75, -0.12, fx_SF260_VCLstrobe
2, -3.50, 13.75, -0.12, fx_SF260_VCRstrobe
7, -8.47, -13.80, 0.32, fx_RASSF260_Wing_Vortex
9, -8.47, 13.80, 0.32, fx_RASSF260_Wing_Vortex

the first number is the number of effects inside Lights.ini (12)

these effects are ignored

light.6=4, -3.00, 0.00, 2.50, fx_SF260_vclight
light.11=4, -2.40, -10.75, 1.80, fx_SF260_winglight
light.12=4, -2.40, 10.75, 1.80, fx_SF260_winglight

because the light of type 4 are unsopported by IBNet. FS2004 have 10 kind of lights

1 – Beacon ( supported by IBNet)
2 – Strobe ( supported by IBNet)
3 – Navigation or Position ( supported by IBNet)
4 – Cockpit ( unsupported by IBNet)
5 – Landing ( supported by IBNet)
6 – Taxi ( supported by IBNet)
7 – Recognition ( supported by IBNet)
8 – Wing ( supported by IBNet)
9 – Logo ( supported by IBNet)
10 – Cabin ( unsupported by IBNet)

so 4 and 10 type light should not be inserted in the list inside Lights.ini

//light.13=4, -17.4, 0.00, 2.40, fx_SF260_winglight

(This is not included for 2 reason the first is beceuse is a light type 4, the second is that the "// " mean commented line so the line is ignored by FS2004)


another things to do is open every lights effects ( inside effects folder ) with a text editor, and if in the file there is a line Light=1 or Cockpit=0 delete it

an example inside fx_navred.fx

...................
[Emitter.0]
Lifetime=0.50, 0.50
Delay=0.00, 0.00
Bounce=0.00
Light=1
No Interpolate=1
Rate=1.00, 1.00
X Emitter Velocity=0.00, 0.00
Y Emitter Velocity=0.00, 0.00
....................

delete the line light=1

...................
[Emitter.0]
Lifetime=0.50, 0.50
Delay=0.00, 0.00
Bounce=0.00
No Interpolate=1
Rate=1.00, 1.00
X Emitter Velocity=0.00, 0.00
Y Emitter Velocity=0.00, 0.00
....................


Gruß
Mike

Viper56 27.01.2006 22:37

das is es ja , ich verstehs nicht . Außerdem verstehe ich auch nich wie dieses Software überhaupt funzt . Teamspeak :
va-eddn.dyndns.info
ich bin den ganzen Abend da wenns mir jemand erklären kann oder en bischen plaudern möchte , mir is nähmlich langweilig .


Alle Zeitangaben in WEZ +2. Es ist jetzt 21:59 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag