Page 1 of 2
building replaced: Skyscraper
Posted: 26 Mar 2004 04:10
by Korenn
This is my first own building, so don't complain. I wasn't even going to post it but some people asked. replaces the modern stadium.
http://home.student.utwente.nl/m.j.a.plass/korb1w.grf
Posted: 26 Mar 2004 04:14
by Korenn
since the stadium doesn't have any construction sprites, it kinda plops out of nowhere =]
Posted: 26 Mar 2004 05:57
by Spaceball
Looks really nice.
cu, Spaceball
Posted: 26 Mar 2004 11:02
by Sinaasappel
Ooh! looks really nice. It even blends in in the environment! (wasn't really sure which building it was until i reread the topic
This can't be said of the graphics of all other artists
Maybe it only needs something on the roof, cause it's kindof empty ('kaal').
Posted: 26 Mar 2004 12:03
by Dakkus
Also the walls could be somehow more lively. I guess there could be something hanging from a window somewhere or something like that. Some nice accent in the wall would be nice anyway
Posted: 26 Mar 2004 14:25
by Steijn
That looks very nice
but I think the building is too large compared to it's height. The dithering look very good, so keep on track with that.
Here are some good website to gather up some ideas:
http://skyscrapercity.com/
http://skylinecity.info/ (a lot of dutch skyscrapers)
Posted: 26 Mar 2004 15:42
by krtaylor
Dakkus wrote:Also the walls could be somehow more lively. I guess there could be something hanging from a window somewhere or something like that. Some nice accent in the wall would be nice anyway
Yes, you could have that big banner of Elliot Carver like in "Tomorrow Never Dies."
Posted: 26 Mar 2004 19:12
by Born Acorn
maybe we could animate it so it rips it half and smashes a window.
Posted: 26 Mar 2004 19:14
by krtaylor
Born Acorn wrote:maybe we could animate it so it rips it half and smashes a window.
Posted: 26 Mar 2004 23:41
by Born Acorn
the strange thing is that is the only part of the movie I remember!
anyways, that is an exceptionaly good skyscraper, but maybe for next movie make the left side more darker as the sun in TTD is on the right
Posted: 27 Mar 2004 02:19
by Korenn
I'll touch it up sometime soon.
Born Acorn: left side darker? I sampled the colors from existing sprites, this is exactly as dark as ttd buildings...
Posted: 27 Mar 2004 03:05
by krtaylor
Korenn wrote:I'll touch it up sometime soon.
Born Acorn: left side darker? I sampled the colors from existing sprites, this is exactly as dark as ttd buildings...
No, what he means is, the left side needs to be darker than the right side, because it is in shadow. Light in TTD comes from the right.
Posted: 27 Mar 2004 13:42
by Korenn
krtaylor wrote:
No, what he means is, the left side needs to be darker than the right side, because it is in shadow. Light in TTD comes from the right.
yes I got that. What I meant is, it is already darker than the right side, in exactly the same way as normal ttd buildings.
Posted: 28 Mar 2004 15:16
by Born Acorn
I meant the lower part.
Very bottom
Posted: 28 Mar 2004 15:39
by BobXP
Hey Korenn, I tidied the GRF up a bit for you. Now it looks better in the graphics window:
Posted: 28 Mar 2004 18:21
by Korenn
heh thanx
I was gonna do that myself, but it's too much of a bother to find the ascii values for the entire string :/
this saves me work \o/
Posted: 28 Mar 2004 18:31
by George
Korenn wrote:heh thanx
I was gonna do that myself, but it's too much of a bother to find the ascii values for the entire string :/
this saves me work \o/
You'll need perl
Code: Select all
#!perl -w
use strict;
sub mhex($)
{
my($num)=(@_);
my($d,$r,$str);
$str="";
$num=0 if ($num<0);
return "00" if ($num==0);
while ($num>0)
{
$d=$num/16;
$d=~s/\..*$//;
$r=$num-$d*16;
if ($r<10)
{ $r=chr($r+48); }
else
{ $r=chr($r+55); }
$str=$r.$str;
$num=$d;
}
$str="0".$str if (length ($str)<2);
return ($str);
}
sub main()
{
print("String2hex convertor.\n\nUsage: Str2hex from [to]\n\n");
my($name,$to,$res,$str);
$name=$ARGV[0];
$name="!-!" if ($name eq "");
$to=$ARGV[1];
$to="!-!" if ($to eq "");
open(FFILE,"<$name") || die "Can\'t open $name\n";
while(<FFILE>)
{
chomp;
s/^\s+//;
s/\s+$//;
unless ((/^(#|\;)\s+/) or ($_ eq ""))
{
s/\t/ /g;
s/\s+/ /g;
$str=$_;
$res=$res."# ".$str."\t\t";
for (my($i)=0;$i<length($str);$i++)
{
$res=$res.(mhex(ord(substr($str,$i,1)))." ");
}
$res=$res."00\n";
}
else
{ $res=$res.$_."\n"; }
}
close (FFILE);
open(FFILE,">$to") || die "Can\'t write to $to\n";
{
print FFILE $res
}
close (FFILE);
}
main();
Posted: 28 Mar 2004 18:51
by Patchman
Or this:
Code: Select all
#!/usr/bin/perl -l
print join " ", map { sprintf "%02x", ord } split //, "@ARGV";
You use it like
Code: Select all
perl charcode.pl I want this string in hex! >> file.nfo
Posted: 28 Mar 2004 19:39
by GoneWacko
Any programming language would do, really...
In delphi:
Code: Select all
unit Unit1;
interface
uses
SysUtils, Forms, StdCtrls, Classes, Controls;
type
TForm1 = class(TForm)
Edit1: TEdit;
Edit2: TEdit;
Button1: TButton;
procedure Button1Click(Sender: TObject);
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.Button1Click(Sender: TObject);
var i: integer;
begin
Edit2.Text:='';
for i:=1 to Length(Edit1.Text) do
Edit2.Text := Edit2.Text + #32 + IntToStr(Ord(Edit1.Text[i]));
end;
end.
the result would be
83 107 121 115 99 114 97 112 101 114
in the event of the word 'Skyscraper'.
Ofcourse, this isn't in hex, because I wasn't sure if that would be needed or not
Posted: 28 Mar 2004 19:45
by Patchman
Now to make it really convenient, just go to
http://www.ttdpatch.net/cgi-bin/str2hex.pl