FONTDEFS error help!

Discuss all aspects of editing for ZDoom.
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

FONTDEFS error help!

Postby rico345 » Sun Jan 18, 2009 12:56 am

Script error, "FONTDEFS" line 91:
Missing string (unexpected end of file).

Source ↓

Code: Select allExpand view
GANGFONT
{
   game Doom
   A GTCFN065
   B GTCFN066
   C GTCFN067
   D GTCFN068
   E GTCFN069
   F GTCFN070
   G GTCFN071
   H GTCFN072
   I GTCFN073
   J GTCFN074
   K GTCFN075
   L GTCFN076
   M GTCFN077
   N GTCFN078
   O GTCFN079
   P GTCFN080
   Q GTCFN081
   R GTCFN082
   S GTCFN083
   T GTCFN084
   U GTCFN085
   V GTCFN086
   W GTCFN087
   X GTCFN088
   Y GTCFN089
   Z GTCFN090
   ! GTCFN033
   " GTCFN035
   # GTCFN036
   $ GTCFN037
   % GTCFN039
   ' GTCFN040
   ( GTCFN041
   ) GTCFN042
   * GTCFN043
   + GTCFN044
   - GTCFN045
   . GTCFN046
   / GTCFN047
   0 GTCFN048
   1 GTCFN049
   2 GTCFN050
   3 GTCFN051
   4 GTCFN052
   5 GTCFN053
   6 GTCFN054
   7 GTCFN055
   8 GTCFN056
   9 GTCFN057
   : GTCFN058
   ; GTCFN059
   < GTCFN060
   = GTCFN061
   > GTCFN062
   ? GTCFN063
   [ GTCFN091
   ] GTCFN093
   ^ GTCFN094
   _ GTCFN095
   a GTCFN097
   b GTCFN098
   c GTCFN099
   d GTCFN100
   e GTCFN101
   f GTCFN102
   g GTCFN103
   h GTCFN104
   i GTCFN105
   j GTCFN106
   k GTCFN107
   l GTCFN108
   m GTCFN109
   n GTCFN110
   o GTCFN111
   p GTCFN112
   q GTCFN113
   r GTCFN114
   s GTCFN115
   t GTCFN116
   u GTCFN117
   v GTCFN118
   w GTCFN119
   x GTCFN120
   y GTCFN121
   z GTCFN122
}



What's the problem? I can't found what is wrong.
Please help!
rico345
 
Joined: 08 Sep 2008
Location: Gimhae City, Republic Of Korea

Re: FONTDEFS error help!

Postby Mr.Green » Sun Jan 18, 2009 4:24 am

Zdoom says the end of the FONTDEFS are wrong.
Try end the file like this (scroll to the end :P ) :
Code: Select allExpand view
GANGFONT
{
   game Doom
   A GTCFN065
   B GTCFN066
   C GTCFN067
   D GTCFN068
   E GTCFN069
   F GTCFN070
   G GTCFN071
   H GTCFN072
   I GTCFN073
   J GTCFN074
   K GTCFN075
   L GTCFN076
   M GTCFN077
   N GTCFN078
   O GTCFN079
   P GTCFN080
   Q GTCFN081
   R GTCFN082
   S GTCFN083
   T GTCFN084
   U GTCFN085
   V GTCFN086
   W GTCFN087
   X GTCFN088
   Y GTCFN089
   Z GTCFN090
   ! GTCFN033
   " GTCFN035
   # GTCFN036
   $ GTCFN037
   % GTCFN039
   ' GTCFN040
   ( GTCFN041
   ) GTCFN042
   * GTCFN043
   + GTCFN044
   - GTCFN045
   . GTCFN046
   / GTCFN047
   0 GTCFN048
   1 GTCFN049
   2 GTCFN050
   3 GTCFN051
   4 GTCFN052
   5 GTCFN053
   6 GTCFN054
   7 GTCFN055
   8 GTCFN056
   9 GTCFN057
   : GTCFN058
   ; GTCFN059
   < GTCFN060
   = GTCFN061
   > GTCFN062
   ? GTCFN063
   [ GTCFN091
   ] GTCFN093
   ^ GTCFN094
   _ GTCFN095
   a GTCFN097
   b GTCFN098
   c GTCFN099
   d GTCFN100
   e GTCFN101
   f GTCFN102
   g GTCFN103
   h GTCFN104
   i GTCFN105
   j GTCFN106
   k GTCFN107
   l GTCFN108
   m GTCFN109
   n GTCFN110
   o GTCFN111
   p GTCFN112
   q GTCFN113
   r GTCFN114
   s GTCFN115
   t GTCFN116
   u GTCFN117
   v GTCFN118
   w GTCFN119
   x GTCFN120
   y GTCFN121
   z GTCFN122
   }
}
User avatar
Mr.Green
 
Joined: 05 Jan 2009
Location: Mexico

Re: FONTDEFS error help!

Postby Geometer » Sun Jan 18, 2009 2:44 pm

You'd better use this to define your font:

Code: Select allExpand view
GANGFONT
{
       Template GTCFN%03d
}


It is much shorter, but does the same functions! :)
Geometer
 
Joined: 14 Jan 2009
Location: Russia, Saint-Petersburg

Re: FONTDEFS error help!

Postby rico345 » Mon Jan 19, 2009 5:50 am

Thanks Geometer. FONT now work :)
rico345
 
Joined: 08 Sep 2008
Location: Gimhae City, Republic Of Korea


Return to Editing (Archive)

Who is online

Users browsing this forum: No registered users and 2 guests