PLIK.INI

Wszelkie pytania na temat SAIL'a i modowania OW.
Locked
User avatar
Gothuk
Site Administrator
Site Administrator
Poland
Posts: 985
Joined: Tue Sep 04, 2007 6:10 pm
Location: Poland, Warsaw
Contact:

PLIK.INI

Post by Gothuk »

Witam. Znacie jakieś inne komendy w pliku .INI oprócz:

Code: Select all

[Main]
Mod = "nazwa moda"
Mod_Ver = wersja moda
Mod_Music = "muzyka w menu głównym moda (plik .wav)"
:?:

Ja znam jeszcze :D :

Code: Select all

Mod_Ver_Align = 1  // położnie tekstu z wersją, 1 - lewy dolny róg, 2 i inne - prawy dolny róg.
CreditsDark1 = x  
CreditsDark2 = y  // x i y to współrzędne, które określają gdzie napisy w creditsach mają znikć.
CreditsChange1 = x  
CreditsChange2 = y  //  x i y to współrzędne, które określają gdzie napisy w creditsach mają się zmieniać np ."nick" na środku ekranu przemienia się w "imie i nazwisko"  . 

x i y zarówno w dark i change leżą na osi Y, tzn. są to punkty które oznaczaja linie poziome

Sądze że są inne ale ich nie znam, więc jak jakieś znacie to napiszcie w tym temacie.
Last edited by Gothuk on Thu Oct 25, 2007 6:34 pm, edited 1 time in total.
User avatar
stucuk
OWSupport.com Owner
Posts: 438
Joined: Tue Apr 18, 2006 12:10 am
Location: UK, Scotland

Post by stucuk »

Looks correct (Not that i can read polish :P) except that there is no X and Y Coords just Y coords.

CreditsChange1 is the end position where the names should be compleatly changed. (Closer to the top of the screen) Default: 340
CreditsChange2 is the lower position where names start to change. (Closer to the bottom of the screen) Default: 360

CreditsDark1 is the start point where text goes compleatly black. Default: 50 (Closer to the bottom of the screen)
CreditsDark2 is the end point of where the text goes compleatly black. (Closer to the top of the screen) Default: 0

The credits controls were added to allow Arabian Nights to have a header bit at the top and the credits fading away just below it.

Note: Im not 100% sure but i think what i wrote is correct (I know i wrote them but it was about a year ago). Also note that 0 is the top of the screen and 600 is the bottom of the screen.
- Stu
OWSupport
User avatar
Serpher
Soldier level 2
Soldier level 2
Posts: 34
Joined: Sun Jul 29, 2007 12:10 pm
Location: Polska

Post by Serpher »

stucuk wrote:(Not that i can read polish :P)
And you should. At least a few words 8)
...::: Serpher :::...
Image
User avatar
Gothuk
Site Administrator
Site Administrator
Poland
Posts: 985
Joined: Tue Sep 04, 2007 6:10 pm
Location: Poland, Warsaw
Contact:

Post by Gothuk »

Yes I know it :D . But do you know other commands in file '.ini'. If yes, can you write it?
STUCUK wrote:(Not that i can read polish :P )
May be you learn polish :D ?
User avatar
stucuk
OWSupport.com Owner
Posts: 438
Joined: Tue Apr 18, 2006 12:10 am
Location: UK, Scotland

Post by stucuk »

ModVerS := INIFile.ReadString('Main','Mod_Ver','1');
ModName := INIFile.ReadString('Main','Mod','Unknown Name');
ModVideo := INIFile.ReadString('Main','ModVideo','');
ModMusic := INIFile.ReadString('Main','Mod_Music','');
Mod_Ver_Align := INIFile.ReadInteger('Main','Mod_Ver_Align',0);
CreditsDark1 := INIFile.ReadInteger('Main','CreditsDark1',0);
CreditsDark2 := INIFile.ReadInteger('Main','CreditsDark2',0);
CreditsChange1 := INIFile.ReadInteger('Main','CreditsChange1',0);
CreditsChange2 := INIFile.ReadInteger('Main','CreditsChange2',0);
Only one u don't know about is ModVideo which was never properly implemented (The idea was for mods to be able to replace the starting logos with there own video in AVI format but i never got it to work perfectly)
- Stu
OWSupport
User avatar
Gothuk
Site Administrator
Site Administrator
Poland
Posts: 985
Joined: Tue Sep 04, 2007 6:10 pm
Location: Poland, Warsaw
Contact:

Post by Gothuk »

thx very much :P .
topic for closed. temat do zamknięcia :D .
Locked