building replaced: Skyscraper

Discuss, get help with, or post new graphics for TTDPatch and OpenTTD, using the NewGRF system, here. Graphics for plain TTD also acceptable here.

Moderator: Graphics Moderators

User avatar
Korenn
Tycoon
Tycoon
Posts: 1735
Joined: 26 Mar 2004 01:27
Location: Netherlands
Contact:

building replaced: Skyscraper

Post 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.

Image

http://home.student.utwente.nl/m.j.a.plass/korb1w.grf
User avatar
Korenn
Tycoon
Tycoon
Posts: 1735
Joined: 26 Mar 2004 01:27
Location: Netherlands
Contact:

Post by Korenn »

since the stadium doesn't have any construction sprites, it kinda plops out of nowhere =]
User avatar
Spaceball
Transport Coordinator
Transport Coordinator
Posts: 278
Joined: 31 Aug 2003 22:47
Location: Munich, Germany
Contact:

Post by Spaceball »

Looks really nice.

cu, Spaceball
Contributor to the Planeset.Planeset Thread
DVDs - Gotta Catch Them All!
User avatar
Sinaasappel
Transport Coordinator
Transport Coordinator
Posts: 286
Joined: 05 Apr 2003 11:35
Location: Enschede, The Netherlands
Contact:

Post 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').
Hard Work Often Pays Off After Time,
but Laziness Always Pays Off Now.
-- Despair.com
Dakkus
Engineer
Engineer
Posts: 27
Joined: 07 Mar 2004 10:34
Skype: daccus
Location: Berlin, DE, EU
Contact:

Post 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 :)
Where have my euro notes travelled? *click* http://eurobilltracker.eu/
Hmm..?! From Portugal to Finland?
See it for yourself!
User avatar
Steijn
Engineer
Engineer
Posts: 72
Joined: 12 May 2003 15:14
Location: Amersfoort/Rotterdam

Post 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: :wink:
http://skyscrapercity.com/
http://skylinecity.info/ (a lot of dutch skyscrapers)
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post 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." :lol:
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
User avatar
Born Acorn
Tycoon
Tycoon
Posts: 7595
Joined: 10 Dec 2002 20:36
Skype: bornacorn
Location: Wrexham, Wales
Contact:

Post by Born Acorn »

maybe we could animate it so it rips it half and smashes a window.
Image
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

Born Acorn wrote:maybe we could animate it so it rips it half and smashes a window.
:lol:
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
User avatar
Born Acorn
Tycoon
Tycoon
Posts: 7595
Joined: 10 Dec 2002 20:36
Skype: bornacorn
Location: Wrexham, Wales
Contact:

Post by Born Acorn »

the strange thing is that is the only part of the movie I remember! :lol:

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
Image
User avatar
Korenn
Tycoon
Tycoon
Posts: 1735
Joined: 26 Mar 2004 01:27
Location: Netherlands
Contact:

Post 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...
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post 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.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
User avatar
Korenn
Tycoon
Tycoon
Posts: 1735
Joined: 26 Mar 2004 01:27
Location: Netherlands
Contact:

Post 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.
User avatar
Born Acorn
Tycoon
Tycoon
Posts: 7595
Joined: 10 Dec 2002 20:36
Skype: bornacorn
Location: Wrexham, Wales
Contact:

Post by Born Acorn »

I meant the lower part.
Very bottom
Image
BobXP
Tycoon
Tycoon
Posts: 2720
Joined: 04 May 2003 11:00
Location: Torquay, England
Contact:

Post by BobXP »

Hey Korenn, I tidied the GRF up a bit for you. Now it looks better in the graphics window:
Attachments
korb1w.grf
(9.34 KiB) Downloaded 678 times
SCR18.png
SCR18.png (35.4 KiB) Viewed 11163 times
<!-- End Of Post !-->
Image
User avatar
Korenn
Tycoon
Tycoon
Posts: 1735
Joined: 26 Mar 2004 01:27
Location: Netherlands
Contact:

Post 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/
User avatar
George
Tycoon
Tycoon
Posts: 4362
Joined: 16 Apr 2003 16:09
Skype: george-vb
Location: Varna, Bulgaria
Contact:

Post 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();
Patchman
Tycoon
Tycoon
Posts: 7576
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post 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
User avatar
GoneWacko
Tycoon
Tycoon
Posts: 8680
Joined: 10 Jul 2002 15:08
Location: Enschede, The Netherlands
Contact:

Post 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 :roll:
GoneWacko. Making [url=irc://irc.oftc.net/tycoon]#tycoon[/url] sexy and exciting since 1784.
Patchman
Tycoon
Tycoon
Posts: 7576
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

Now to make it really convenient, just go to http://www.ttdpatch.net/cgi-bin/str2hex.pl
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: Google [Bot], Google Adsense [Bot] and 18 guests