GTAMP.com

Grand Theft Auto Media Press
It is currently Wed Jun 19, 2013 8:39 am

All times are UTC




Post new topic Reply to topic  [ 345 posts ]  Go to page Previous  1 ... 8, 9, 10, 11, 12, 13, 14 ... 18  Next
Author Message
PostPosted: Wed Nov 30, 2011 8:20 pm 
Offline
User avatar

Joined: Fri Jan 29, 2010 3:03 pm
Posts: 796
Oops!

Code:
Color number:   1
60,56,8,
172,145,86,
141,112,52,

Color number:   2
64,53,36,
179,149,100,
140,116,78,

Color number:   3
91,91,91,
255,255,255,
199,199,199,

Color number:   4
58,74,91,
162,208,255,
126,162,199,

Color number:   5
53,68,84,
149,191,234,
116,149,183,

Color number:   6
0,55,91,
0,153,255,
0,119,199,

Color number:   7
91,91,39,
255,255,110,
199,199,86,

Color number:   8
91,58,28,
255,163,79,
199,127,62,

Color number:   9
84,72,91,
236,203,255,
184,158,199,

Color number:   10
91,35,6,
255,99,18,
199,77,14,

Color number:   11
35,91,9,
97,255,24,
76,199,19,

Color number:   12
91,75,39,
255,210,109,
199,164,85,

Color number:   13
0,44,25,
0,123,70,
0,96,55,

Color number:   14
20,29,91,
56,82,255,
44,64,199,

Color number:   15
79,16,16,
221,44,44,
172,34,34,

Color number:   16
91,65,0,
255,182,0,
199,142,0,

Color number:   17
26,23,91,
73,65,255,
57,51,199,

Color number:   18
67,67,67,
187,187,187,
146,146,146,

_________________
"Only Silky Milky implants by Zaibatsu feel and taste like the real thing."


Top
 Profile  
 
PostPosted: Wed Nov 30, 2011 8:21 pm 
Offline
User avatar

Joined: Fri Jan 29, 2010 3:00 pm
Posts: 829
Location: F21B3EED
the image with 18 colors doesnt have the mixed color from highlight/font color at all, how did you generate that image? and is the highlight actually the highest-light color, and not the mixed one?

edit: looks like you used the mixed highlight color! i checked the paste you sent of 18 colors, it doesnt match with the brightest highlight color in the image!

edit: also managed to fix your image incorrect black color i talked about.

_________________
My GTA2 related projects:


Top
 Profile  
 
PostPosted: Wed Nov 30, 2011 8:27 pm 
Offline
User avatar

Joined: Fri Jan 29, 2010 3:03 pm
Posts: 796
Image 18 is Zaibatsu, which is like a grey version of the normal font colour. :)

the high-light colour might be a mixed one, because I saw that the normal font colour has like two highlight colours. version 3 of txt2gta2 uses imagemagick color effect filter, maybe it "average" it something.


Attachments:
2.png
2.png [ 4.56 KiB | Viewed 460 times ]

_________________
"Only Silky Milky implants by Zaibatsu feel and taste like the real thing."
Top
 Profile  
 
PostPosted: Wed Nov 30, 2011 8:29 pm 
Offline
User avatar

Joined: Fri Jan 29, 2010 3:03 pm
Posts: 796
T.M. wrote:
edit: also managed to fix your image incorrect black color i talked about.


gta2 has nowhere in game real black. real black is transparent colour. so the shadow colour of the font is not perfect black. or did you mean something else?

_________________
"Only Silky Milky implants by Zaibatsu feel and taste like the real thing."


Top
 Profile  
 
PostPosted: Wed Nov 30, 2011 8:39 pm 
Offline
User avatar

Joined: Fri Jan 29, 2010 3:00 pm
Posts: 829
Location: F21B3EED
look in your normal.png file, it has 0,0,0 (pure black) instead of 7,7,7. thats what i mean.

too bad you messed up the highlight color... well i dont think it matters that much, maybe darker is even better :D

_________________
My GTA2 related projects:


Top
 Profile  
 
PostPosted: Wed Nov 30, 2011 8:45 pm 
Offline
User avatar

Joined: Fri Jan 29, 2010 3:00 pm
Posts: 829
Location: F21B3EED
theres something wrong with your large font width data? cant get it to work :S

_________________
My GTA2 related projects:


Top
 Profile  
 
PostPosted: Wed Nov 30, 2011 8:50 pm 
Offline
User avatar

Joined: Fri Jan 29, 2010 3:03 pm
Posts: 796
strange, here it says shadow is 7,7,7 - on all the images I posted. oh well, you won't see the difference anyway. :)

How are you gonna apply the colour change? Changing palette will only work if you change the whole text in a different colour, if someone wants in a text line only one word in red - how then? as soon as you start looping the pixels too find and change a certain colour things get slow (and eating up your server cpu time).

Quote:
theres something wrong with your large font width data? cant get it to work :S


The array can't be wrong - in my java version it works:

Attachment:
render.png
render.png [ 9.88 KiB | Viewed 457 times ]

_________________
"Only Silky Milky implants by Zaibatsu feel and taste like the real thing."


Top
 Profile  
 
PostPosted: Wed Nov 30, 2011 8:51 pm 
Offline
User avatar

Joined: Fri Jan 29, 2010 3:03 pm
Posts: 796
Keep in mind that you need to convert small characters to big for it to work! Only capital are stored in array. :roll:

_________________
"Only Silky Milky implants by Zaibatsu feel and taste like the real thing."


Top
 Profile  
 
PostPosted: Wed Nov 30, 2011 8:54 pm 
Offline
User avatar

Joined: Fri Jan 29, 2010 3:00 pm
Posts: 829
Location: F21B3EED
Quote:
strange, here it says shadow is 7,7,7 - on all the images I posted. oh well, you won't see the difference anyway. :)
i meant the alphabet image png you sent to me first, not that 18 color thing. there you said you changed some pixels: apparently you used wrong color to change them. now when i want to make this paletted, i needed to change your black color to 7,7,7 so i can generate the palet...

Quote:
Keep in mind that you need to convert small characters to big for it to work! Only capital are stored in array. :roll:

omg thats it! just noticed it myself: http://epicgta2.omnitude.net/gta2text/? ... PENING%3F1 lol. edit: fixed now though.

Quote:
How are you gonna apply the colour change? Changing palette will only work if you change the whole text in a different colour, if someone wants in a text line only one word in red - how then? as soon as you start looping the pixels too find and change a certain colour things get slow (and eating up your server cpu time).
i will generate 18 different font images, with paletted (or not) colors. then i just copypaste rectangles from those images!

_________________
My GTA2 related projects:


Top
 Profile  
 
PostPosted: Wed Nov 30, 2011 8:56 pm 
Offline
User avatar

Joined: Fri Jan 29, 2010 3:03 pm
Posts: 796
Difference is 32?

Code:
65 A
66 B
67 C
68 D
69 E
70 F
71 G
72 H
73 I
74 J
75 K
76 L
77 M
78 N
79 O
80 P
81 Q
82 R
83 S
84 T
85 U
86 V
87 W
88 X
89 Y
90 Z
91 [
92 \
93 ]
94 ^
95 _
96 `
97 a
98 b
99 c
100 d
101 e
102 f
103 g
104 h
105 i
106 j
107 k
108 l
109 m
110 n
111 o
112 p
113 q
114 r
115 s
116 t
117 u
118 v
119 w
120 x
121 y
122 z

_________________
"Only Silky Milky implants by Zaibatsu feel and taste like the real thing."


Top
 Profile  
 
PostPosted: Wed Nov 30, 2011 8:57 pm 
Offline
User avatar

Joined: Fri Jan 29, 2010 3:00 pm
Posts: 829
Location: F21B3EED
yeah i know! PHP has function for that: strtoupper() ;)

_________________
My GTA2 related projects:


Top
 Profile  
 
PostPosted: Wed Nov 30, 2011 8:59 pm 
Offline
User avatar

Joined: Fri Jan 29, 2010 3:03 pm
Posts: 796
Ooh, lazy PHP. I wanted to do it this way:

Code:
if($val >= 97 || $val <= 122){
   $val = $val - 32;
}

_________________
"Only Silky Milky implants by Zaibatsu feel and taste like the real thing."


Top
 Profile  
 
PostPosted: Wed Nov 30, 2011 9:00 pm 
Offline
User avatar

Joined: Fri Jan 29, 2010 3:03 pm
Posts: 796
Image

_________________
"Only Silky Milky implants by Zaibatsu feel and taste like the real thing."


Top
 Profile  
 
PostPosted: Wed Nov 30, 2011 9:02 pm 
Offline
User avatar

Joined: Fri Jan 29, 2010 3:03 pm
Posts: 796
Are you up to also doing the car and street font?

_________________
"Only Silky Milky implants by Zaibatsu feel and taste like the real thing."


Top
 Profile  
 
PostPosted: Wed Nov 30, 2011 9:04 pm 
Offline
User avatar

Joined: Fri Jan 29, 2010 3:00 pm
Posts: 829
Location: F21B3EED
car and street font? dunno what those are, but sure!

_________________
My GTA2 related projects:


Top
 Profile  
 
PostPosted: Wed Nov 30, 2011 9:08 pm 
Offline
User avatar

Joined: Fri Jan 29, 2010 3:00 pm
Posts: 829
Location: F21B3EED
have you modified the large font too? it has 266 colors total o_O shouldnt it be max 256? or is it using multiple (and similar) palets in gta2? O_O

_________________
My GTA2 related projects:


Top
 Profile  
 
PostPosted: Wed Nov 30, 2011 9:09 pm 
Offline
User avatar

Joined: Fri Jan 29, 2010 3:03 pm
Posts: 796
T.M. wrote:
car and street font? dunno what those are, but sure!


Image

Car font array
Code:
{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,13},{13,6},{19,11},{0,0},{0,0},{0,0},{0,0},{30,5},{0,0},{0,0},{0,0},{0,0},{35,5},{40,11},{51,5},{0,0},{56,12},{68,7},{75,12},{87,12},{99,15},{114,12},{126,12},{138,14},{152,12},{164,12},{176,5},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{181,12},{193,12},{205,12},{217,12},{229,12},{241,12},{253,12},{265,12},{277,9},{286,12},{298,14},{312,12},{324,19},{343,12},{355,12},{367,12},{379,14},{393,12},{405,12},{417,11},{428,13},{441,16},{457,22},{479,15},{494,15},{509,15},{0,0},{0,0},{0,0},{0,0},{0,0},{524,5},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{529,12},{541,12},{553,12},{0,0},{565,12},{0,0},{577,19},{596,12},{608,12},{620,12},{632,12},{644,12},{656,9},{665,9},{674,12},{686,11},{0,0},{697,12},{709,12},{721,12},{733,12},{0,0},{745,12},{0,0},{0,0},{757,12},{769,12},{781,12},{793,12},{0,0},{0,0},{805,13},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{818,12},{0,0},{830,12},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{842,12},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{854,12},{0,0},{866,12},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{878,12},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{890,15},{0,0},{905,15},{0,0}


There is a standard background size (this one):
Attachment:
background_car.png
background_car.png [ 12.97 KiB | Viewed 453 times ]


But I also like (in txt2gta2 v3 at least) to have auto-size background. I did this with 3 parts. A left side, middle and right side.
Attachment:
background_left.png
background_left.png [ 3.29 KiB | Viewed 453 times ]

Attachment:
background_middle.png
background_middle.png [ 3.35 KiB | Viewed 453 times ]

Attachment:
background_right.png
background_right.png [ 3.3 KiB | Viewed 453 times ]


And of course the main image:
Attachment:
result.png
result.png [ 3.27 KiB | Viewed 453 times ]

_________________
"Only Silky Milky implants by Zaibatsu feel and taste like the real thing."


Top
 Profile  
 
PostPosted: Wed Nov 30, 2011 9:10 pm 
Offline
User avatar

Joined: Fri Jan 29, 2010 3:03 pm
Posts: 796
T.M. wrote:
have you modified the large font too? it has 266 colors total o_O shouldnt it be max 256? or is it using multiple (and similar) palets in gta2? O_O


Not sure, I used images from version 3. Been a year since I worked on those files.

_________________
"Only Silky Milky implants by Zaibatsu feel and taste like the real thing."


Top
 Profile  
 
PostPosted: Wed Nov 30, 2011 9:14 pm 
Offline
User avatar

Joined: Sat Dec 26, 2009 11:53 pm
Posts: 933
i dont have access to my pc, so get it from the packs
http://gta2dare.omnitude.net/maplist/packs.php

_________________
yur sa'nok ngeyä


Top
 Profile  
 
PostPosted: Wed Nov 30, 2011 9:18 pm 
Offline
User avatar

Joined: Fri Jan 29, 2010 3:03 pm
Posts: 796
Stree also has one background size. I did not make this auto-size because it is very visible if you do. Car background is hard to see, but street not.

Attachment:
background_street.png
background_street.png [ 28.72 KiB | Viewed 450 times ]


The array:
Code:
{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,14},{14,6},{20,11},{0,0},{0,0},{0,0},{0,0},{31,6},{0,0},{0,0},{0,0},{0,0},{37,6},{43,12},{55,6},{0,0},{61,15},{76,9},{85,15},{100,15},{115,18},{133,15},{148,15},{163,15},{178,15},{193,15},{0,0},{208,6},{0,0},{0,0},{0,0},{0,0},{0,0},{214,15},{229,15},{244,15},{259,15},{274,14},{288,14},{302,15},{317,15},{332,10},{342,15},{357,17},{374,14},{388,20},{408,15},{423,13},{436,15},{451,16},{467,15},{482,15},{497,14},{511,15},{526,17},{543,20},{563,18},{581,18},{599,16},{0,0},{0,0},{0,0},{0,0},{0,0},{615,6},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{621,6},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{627,15},{642,15},{657,15},{0,0},{672,15},{0,0},{687,25},{712,15},{727,14},{741,14},{755,14},{769,14},{783,10},{793,10},{803,10},{813,11},{0,0},{824,15},{839,13},{852,13},{865,13},{0,0},{878,13},{0,0},{0,0},{891,15},{906,15},{921,15},{936,15},{0,0},{0,0},{951,14},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{965,15},{0,0},{980,15},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{995,14},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{1009,14},{0,0},{1023,15},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{1038,15},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},{1053,16},{0,0},{1069,16},{0,0}


The main image:
Attachment:
result.png
result.png [ 3.7 KiB | Viewed 450 times ]

_________________
"Only Silky Milky implants by Zaibatsu feel and taste like the real thing."


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 345 posts ]  Go to page Previous  1 ... 8, 9, 10, 11, 12, 13, 14 ... 18  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group