[ Index ] | WAROFGENERALS |
PHP Cross Reference of WAROFGENERALS MODS SOURCES |
[Summary view] [Print] [Text view]
1 ;////////////////////////////////////////////////////////////////////////////// 2 ;FILE: Credits.ini ////////////////////////////////////////////////////////// 3 ;////////////////////////////////////////////////////////////////////////////// 4 ; Credits Format: 5 ; The Credits.ini file is easy to use, at first glance though, it looks messed up. 6 ; Here's a brief tutorial on the steps needed to enter the credits. 7 ;-------------------------------------------------------------------------------- 8 ; The credits work by first declaring the style "Style =" you want for the text that will 9 ; follow until another style is declared. Then you can enter any number of "Text =" lines 10 ; that will be using that style. Finally, you can have any number of "Blank" lines you want, 11 ; anywhere in the file. 12 ; 13 ; ------------- 14 ; STYLES: 15 ; Styles can be one of four types: 16 ; "TITLE" 17 ; "MINORTITLE" 18 ; "NORMAL" 19 ; "COLUMN" 20 ; "TITLE" is the largest font, so every text line after that will be large. 21 ; "MINORTITLE" is smaller the TITLE but should be used for important things other then Big Titles :) 22 ; "NORMAL" is the smallest font, and should be used for the normal texts like names. 23 ; "COLUMN" uses the same font as Normal but now requres that ever two "Text =" lines below it, will be on 24 ; one line in the screen. Look at the example below to more visually understand this. 25 ; You declare a style with a line like this and they can be declared in any order: 26 ; Style = TITLE 27 ; 28 ; -------------- 29 ; TEXT: 30 ; Text lines are the lines that will contain the text that will actually be displayed. This line can 31 ; contain either quoted strings, String Labels, or <BLANK>. 32 ; 33 ; Quoted strings are anything within double quotes ("Blah"). These should only be used for strings that 34 ; are not going to be translated (so things like names). 35 ; Example: Text = "Chris Huybregts" 36 ; 37 ; String labels are strings that we look up in the string file for. How the code knows it's a string label 38 ; is by searching for a ':' in the label. This should be used for titles, positions, whatever. Remember that 39 ; if you add a label here, it needs to also live in the Generals.str file 40 ; Example: Text = GUI:Programmer 41 ; 42 ; <BLANK> is used if we want to have a no text in a text field. This is useful for columns in which you don't 43 ; want something in one or the other columns. 44 ; Example: Text = <BLANK> 45 ; 46 ; --------------- 47 ; BLANK: 48 ; Blank is used whenever we want a blank line to separate text. Just put this identifier, with nothing else following it. 49 ; Example: Blank 50 ; 51 ; ---------------- 52 ; EXAMPLE: 53 ; Here's an example of each of the things. 54 ; 55 ; Credits 56 ; "This is where the header goes" 57 ; Style = TITLE 58 ; Text = GUI:EAPacificTitle 59 ; Blank 60 ; Style = NORMAL 61 ; Text = GUI:LegalStuff 62 ; Blank 63 ; Blank 64 ; Style = MINORTITLE 65 ; Text = GUI:Programmers 66 ; Style = COLUMN 67 ; Text = GUI:SeniorProgrammers 68 ; Text = "John Doe" 69 ; Text = <BLANK> 70 ; Text = "Jane Doe" 71 ; END 72 ; The output of the above would look like: 73 ; EA Pacific //In big letters 74 ; 75 ; Trademark // in a smaller text 76 ; 77 ; 78 ; Programmers // in the middle size font 79 ; Senior Programmers John Doe // the columns 80 ; Jane Doe // an example of using <BLANK> 81 82 83 84 Credits 85 ; BEGIN HEADER 86 ScrollRate = 2 ;How many pixels to move 87 ScrollRateEveryFrames = 1 ;How many frames inbetween that we do the ScrollRate 88 ScrollDown = NO ;We can scroll up, or down... don't ask my why we'd want to scroll down 89 TitleColor = R:222 G:74 B:24 A:255 ;Color for style type TITLE 90 MinorTitleColor = R:222 G:74 B:24 A:255 ;Color for style type MINORTITLE 91 NormalColor = R:222 G:74 B:24 A:255 ;Color for style type NORMAL ;R:255 G:190 B:0 A:255 92 ; END HEADER 93 94 95 96 97 98 Style = TITLE 99 Text = "AirForceMod v.1.2 by eRe" 100 Blank 101 Blank 102 Blank 103 Blank 104 Blank 105 Blank 106 Blank 107 Blank 108 Blank 109 Style = TITLE 110 Text = "Testers" 111 Blank 112 Blank 113 Style = NORMAL 114 Text = "JimmiMcHendrix, Jarmo and Prince" 115 Blank 116 Blank 117 Blank 118 Blank 119 Style = TITLE 120 Text = "Thanks" 121 Blank 122 Blank 123 Style = NORMAL 124 Text = "BananasTheClown, Prince, SuperGabber and ? for giving their advices." 125 Blank 126 Text = "Aerospaceweb.org for providing high quality pictures and schematics." 127 Blank 128 Text = "Chris T Hill for making a good base for this mod" 129 Blank 130 Text = "And all of you who helped me in gamingforums." 131 Blank 132 Blank 133 Blank 134 Blank 135 Style = MINORTITLE 136 Text = "Thank you for downloading this mod" 137 Blank 138 Blank 139 Blank 140 Blank 141 142 143 144 End 145
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sat Mar 28 08:18:23 2009 | Cross-referenced by PHPXref 0.7 |