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: 1628
Joined: 26 Mar 2004 01:27
Location: Netherlands, Enschede
Contact:

building replaced: Skyscraper

Post by Korenn » 26 Mar 2004 04:10

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
Creator of the Openttd Challenge Spinoff, Town Demand patch
The path to riches, a report on playing on a daylength server on ultra hard mode.

User avatar
Korenn
Tycoon
Tycoon
Posts: 1628
Joined: 26 Mar 2004 01:27
Location: Netherlands, Enschede
Contact:

Post by Korenn » 26 Mar 2004 04:14

since the stadium doesn't have any construction sprites, it kinda plops out of nowhere =]
Creator of the Openttd Challenge Spinoff, Town Demand patch
The path to riches, a report on playing on a daylength server on ultra hard mode.

User avatar
Spaceball
Transport Coordinator
Transport Coordinator
Posts: 278
Joined: 31 Aug 2003 22:47
Location: Munich, Germany
Contact:

Post by Spaceball » 26 Mar 2004 05:57

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 » 26 Mar 2004 11:02

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: 26
Joined: 07 Mar 2004 10:34
Skype: daccus
Location: Berlin, DE, EU
Contact:

Post by Dakkus » 26 Mar 2004 12:03

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 » 26 Mar 2004 14:25

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: 11773
Joined: 07 Feb 2003 01:58
Location: Washington DC, USA
Contact:

Post by krtaylor » 26 Mar 2004 15:42

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: 7571
Joined: 10 Dec 2002 20:36
Skype: Bornacorn
Location: Wrexham, Wales
Contact:

Post by Born Acorn » 26 Mar 2004 19:12

maybe we could animate it so it rips it half and smashes a window.

User avatar
krtaylor
Tycoon
Tycoon
Posts: 11773
Joined: 07 Feb 2003 01:58
Location: Washington DC, USA
Contact:

Post by krtaylor » 26 Mar 2004 19:14

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: 7571
Joined: 10 Dec 2002 20:36
Skype: Bornacorn
Location: Wrexham, Wales
Contact:

Post by Born Acorn » 26 Mar 2004 23:41

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

User avatar
Korenn
Tycoon
Tycoon
Posts: 1628
Joined: 26 Mar 2004 01:27
Location: Netherlands, Enschede
Contact:

Post by Korenn » 27 Mar 2004 02:19

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...
Creator of the Openttd Challenge Spinoff, Town Demand patch
The path to riches, a report on playing on a daylength server on ultra hard mode.

User avatar
krtaylor
Tycoon
Tycoon
Posts: 11773
Joined: 07 Feb 2003 01:58
Location: Washington DC, USA
Contact:

Post by krtaylor » 27 Mar 2004 03:05

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: 1628
Joined: 26 Mar 2004 01:27
Location: Netherlands, Enschede
Contact:

Post by Korenn » 27 Mar 2004 13:42

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.
Creator of the Openttd Challenge Spinoff, Town Demand patch
The path to riches, a report on playing on a daylength server on ultra hard mode.

User avatar
Born Acorn
Tycoon
Tycoon
Posts: 7571
Joined: 10 Dec 2002 20:36
Skype: Bornacorn
Location: Wrexham, Wales
Contact:

Post by Born Acorn » 28 Mar 2004 15:16

I meant the lower part.
Very bottom

BobXP
Tycoon
Tycoon
Posts: 2720
Joined: 04 May 2003 11:00
Location: Torquay, England
Contact:

Post by BobXP » 28 Mar 2004 15:39

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 351 times
SCR18.png
SCR18.png (35.4 KiB) Viewed 6887 times
<!-- End Of Post !-->
Image

User avatar
Korenn
Tycoon
Tycoon
Posts: 1628
Joined: 26 Mar 2004 01:27
Location: Netherlands, Enschede
Contact:

Post by Korenn » 28 Mar 2004 18:21

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/
Creator of the Openttd Challenge Spinoff, Town Demand patch
The path to riches, a report on playing on a daylength server on ultra hard mode.

User avatar
George
Tycoon
Tycoon
Posts: 4306
Joined: 16 Apr 2003 16:09
Skype: george-vb
Location: SPb, Russia.
Contact:

Post by George » 28 Mar 2004 18:31

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: 5552
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman » 28 Mar 2004 18:51

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: 8683
Joined: 10 Jul 2002 15:08
Location: Enschede, The Netherlands
Contact:

Post by GoneWacko » 28 Mar 2004 19:39

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: 5552
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman » 28 Mar 2004 19:45

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 Adsense [Bot] and 7 guests