Some Requests (Help Needed)

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
Hyronymus
Tycoon
Tycoon
Posts: 13235
Joined: 03 Dec 2002 10:36
Location: The Netherlands
Contact:

Re: Some Requests (GRF Released: PBS Signal Replacement)

Post by Hyronymus »

I have removed the grf and image of the replacing signals until the code is shared as required by the license under which Michael Blunck published his signals.

Furthermore I strongly advise you to cut on needless doublepostings, RL Conroy.
michael blunck
Tycoon
Tycoon
Posts: 5954
Joined: 27 Apr 2005 07:09
Contact:

Re: Some Requests (GRF Released: PBS Signal Replacement)

Post by michael blunck »

Well, it´s unclear to me what he´s going to approach, and what exactly and how he does use something of "my" graphics. As already written, some signals (the older signals.grf) is under the GPL and is included both in ttdpbase.grf and somewhere in OTTD´s basic grf files. OTOH, the DB Set uses slightly different signals which are not under the GPL at the time being.

regards
Michael
Image
User avatar
RL Conroy
Transport Coordinator
Transport Coordinator
Posts: 273
Joined: 04 Sep 2010 12:28
Location: Nijmegen, Holland

Re: Some Requests (GRF Released: PBS Signal Replacement)

Post by RL Conroy »

Timmaexx wrote:I just wanted to publish my opinion, not to accuse you!
Oh sorry about that :oops:
Hyronymus wrote:Furthermore I strongly advise you to cut on needless doublepostings, RL Conroy.
Whoops :oops: i will be Careful next Time.

I'm so sorry! :(
I wil Delete the GRF and the Pictures.
Is that a Better Option? And continue this Topic with Station GRF's?

Sorry! I hate to make Mistakes!
And i will Study the GPLv2 and what to need to Release a GRF.

I use also this Phrase now:"Think Before You Do."

And also: What is a Source Code?
Last edited by RL Conroy on 20 Sep 2010 14:40, edited 1 time in total.
Conroy: This is Rebel Leader to base. Rebel Transport 2001 has been destroyed and parts for Teleport Device have been lost. We need those Parts! Conroy out.
Erik: What the... What was that all about?
Baleog: I don't know. But he did mention the words "Teleport Device" and "Parts". Quote from the Game "Lost Vikings 2"
4f 70 65 6e 54 54 44 20 52 6f 63 6b 73 21 Hex Code
Find out what the Hex Code means! | Dec/Hex/Oct/Bin Table | Screenshots! | Topic TrafficLight Junction | TTDPatch Wiki | My Website! |
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: Some Requests (GRF Released: PBS Signal Replacement)

Post by planetmaker »

RL Conroy wrote:And also: What is a Source Code?
In the case of a newgrf: the nfo and pcx in the form in which you prefer to edit them. Prior to running nforenum and grfcodec.
User avatar
RL Conroy
Transport Coordinator
Transport Coordinator
Posts: 273
Joined: 04 Sep 2010 12:28
Location: Nijmegen, Holland

Re: Some Requests (Help Needed with Station GRF)

Post by RL Conroy »

planetmaker wrote:the nfo and pcx in the form in which you prefer to edit them
You mean like this: NFO with Notepad, PCX with GIMP?

<Reedited the Topic Name, Download Location is Removed and Removed it from my Signature>

I'm now Busy with Creating a Station GRF but then i found something...
What means This Code:

Code: Select all

128 * 22	 00 04 07 01 0C 08 "OLDS" 0C FE 0D FE 11 00 14 FF 15 FF 0A 0B
And what is that with "OLDS"? :?:
Conroy: This is Rebel Leader to base. Rebel Transport 2001 has been destroyed and parts for Teleport Device have been lost. We need those Parts! Conroy out.
Erik: What the... What was that all about?
Baleog: I don't know. But he did mention the words "Teleport Device" and "Parts". Quote from the Game "Lost Vikings 2"
4f 70 65 6e 54 54 44 20 52 6f 63 6b 73 21 Hex Code
Find out what the Hex Code means! | Dec/Hex/Oct/Bin Table | Screenshots! | Topic TrafficLight Junction | TTDPatch Wiki | My Website! |
michael blunck
Tycoon
Tycoon
Posts: 5954
Joined: 27 Apr 2005 07:09
Contact:

Re: Some Requests (Help Needed with Station GRF)

Post by michael blunck »

RL Conroy wrote: What means This Code:

Code: Select all

128 * 22	 00 04 07 01 0C 08 "OLDS" 0C FE 0D FE 11 00 14 FF 15 FF 0A 0B
And what is that with "OLDS"? :?:
It´s the "station class", look here: http://wiki.ttdpatch.net/tiki-index.php ... n0Stations , also for the rest of your question.

regards
Michael
Image
User avatar
RL Conroy
Transport Coordinator
Transport Coordinator
Posts: 273
Joined: 04 Sep 2010 12:28
Location: Nijmegen, Holland

Re: Some Requests (Help Needed with Station GRF)

Post by RL Conroy »

I finded out (Hopefully...) what "OLDS" mean: "In addition, each station can alter its appearance using variational and/or random action 2 entries"
Directly from TTDPatch Wiki

Also the Part with

Code: Select all

0C 08 "OLDS" 0C
i don't understand it really.
I know that the Code "0C" means "Selection of numbers of platforms and length (0C, 0D)".
But how to Edit that? Must i Edit the 0 Value or must i Edit the Value Behind the 0C Code?
It is a Little Confusing for me
Conroy: This is Rebel Leader to base. Rebel Transport 2001 has been destroyed and parts for Teleport Device have been lost. We need those Parts! Conroy out.
Erik: What the... What was that all about?
Baleog: I don't know. But he did mention the words "Teleport Device" and "Parts". Quote from the Game "Lost Vikings 2"
4f 70 65 6e 54 54 44 20 52 6f 63 6b 73 21 Hex Code
Find out what the Hex Code means! | Dec/Hex/Oct/Bin Table | Screenshots! | Topic TrafficLight Junction | TTDPatch Wiki | My Website! |
michael blunck
Tycoon
Tycoon
Posts: 5954
Joined: 27 Apr 2005 07:09
Contact:

Re: Some Requests (Help Needed with Station GRF)

Post by michael blunck »

RL Conroy wrote: [...] Also the Part with

Code: Select all

0C 08 "OLDS" 0C
i don't understand it really.
I know that the Code "0C" means "Selection of numbers of platforms and length (0C, 0D)".
But how to Edit that? Must i Edit the 0 Value or must i Edit the Value Behind the 0C Code?
It is a Little Confusing for me
You have to read carefully, stations are a bit more complicated than vehicles or buildings (you´ll soon find out):

First of all, break the code down to a more readable form:

Code: Select all

128 * 22    00 04 07 01 0C // station ID is "C" (12)
	08 "OLDS" // class "OLDS" (whatever that means, its unimportant)
	0C FE     // disabled number of platforms: only platform 1 allowed 
	0D FE     // disabled platform lengths: only length 1 allowed
	11 00     // pylon placement: no pylons
	14 FF     // catenary placement: no wires
	15 FF     // can train enter tile? cannot enter
	0A 0B     // copy sprite layout from station "B" (11)
HTH
regards
Michael
Image
User avatar
RL Conroy
Transport Coordinator
Transport Coordinator
Posts: 273
Joined: 04 Sep 2010 12:28
Location: Nijmegen, Holland

Re: Some Requests (Help Needed with Station NFO)

Post by RL Conroy »

Code: Select all

0C FE     // disabled number of platforms: only platform 1 allowed
0D FE     // disabled platform lengths: only length 1 allowed
So if i Remove the Value "FE" from both 0C & 0D and Replace it with 04 (What i Read from TTDPatch Wiki) I should be Able to Build and Drag&Drop that Stationtile 5x5?
And if i want to Allow more that 7 Tiles i must Add the Value 7+ or...?

Code: Select all

0A 0B     // copy sprite layout from station "B" (11)
If i Change the Value 0B into 00 it will not use the Sprite Layout but the Sprites from the PCX if it already has a Ground Sprite?
Conroy: This is Rebel Leader to base. Rebel Transport 2001 has been destroyed and parts for Teleport Device have been lost. We need those Parts! Conroy out.
Erik: What the... What was that all about?
Baleog: I don't know. But he did mention the words "Teleport Device" and "Parts". Quote from the Game "Lost Vikings 2"
4f 70 65 6e 54 54 44 20 52 6f 63 6b 73 21 Hex Code
Find out what the Hex Code means! | Dec/Hex/Oct/Bin Table | Screenshots! | Topic TrafficLight Junction | TTDPatch Wiki | My Website! |
michael blunck
Tycoon
Tycoon
Posts: 5954
Joined: 27 Apr 2005 07:09
Contact:

Re: Some Requests (Help Needed with Station NFO)

Post by michael blunck »

RL Conroy wrote:

Code: Select all

0C FE     // disabled number of platforms: only platform 1 allowed
0D FE     // disabled platform lengths: only length 1 allowed
So if i Remove the Value "FE" from both 0C & 0D and Replace it with 04 (What i Read from TTDPatch Wiki) I should be Able to Build and Drag&Drop that Stationtile 5x5?
No, "04" would disable track number 3 only. To allow tracks 1 to 5 would need "E0".

See, you didn´t read carefully. Setting bits via properties 0C and 0D would disallow that particular track resp platform length:

11111110 -> allow track 1
11111100 -> allow tracks 1-2
11111000 -> allow tracks 1-3
11110000 -> allow tracks 1-4

And now, the trick! Tada ...

11111110 is a number (in binary notation). It´s the value you have to attach to property 0C, although not in binary but in hexadecimal notation:

11111110 -> FE (you might use the Windows calculator for those wizardry).
11111100 -> FC
11111000 -> F8
11110000 -> F0 etc., pp.
RL Conroy wrote:

Code: Select all

0A 0B     // copy sprite layout from station "B" (11)
If i Change the Value 0B into 00 it will not use the Sprite Layout but the Sprites from the PCX if it already has a Ground Sprite?
No. That makes no sense. Real sprites (from a .pcx file) have to go into a spriteblock (action1). "Sprite layout" is something very different. Re-read the Wiki.

regards
Michael
Image
User avatar
RL Conroy
Transport Coordinator
Transport Coordinator
Posts: 273
Joined: 04 Sep 2010 12:28
Location: Nijmegen, Holland

Re: Some Requests (Help Needed with Station NFO)

Post by RL Conroy »

When i was at Work I Calculated what the Binary Codes mean:

Code: Select all

11111110 = FE = 1
11111100 = FC = 2
11111000 = F8 = 3
11110000 = F0 = 4
11100000 = E0 = 5
11000000 = C0 = 6
10000000 = 80 = 7
So if i want to Create Station Tiles more than 7 i must Add Value 80 at 0C & 0D?
Conroy: This is Rebel Leader to base. Rebel Transport 2001 has been destroyed and parts for Teleport Device have been lost. We need those Parts! Conroy out.
Erik: What the... What was that all about?
Baleog: I don't know. But he did mention the words "Teleport Device" and "Parts". Quote from the Game "Lost Vikings 2"
4f 70 65 6e 54 54 44 20 52 6f 63 6b 73 21 Hex Code
Find out what the Hex Code means! | Dec/Hex/Oct/Bin Table | Screenshots! | Topic TrafficLight Junction | TTDPatch Wiki | My Website! |
michael blunck
Tycoon
Tycoon
Posts: 5954
Joined: 27 Apr 2005 07:09
Contact:

Re: Some Requests (Help Needed with Station NFO)

Post by michael blunck »

RL Conroy wrote: So if i want to Create Station Tiles more than 7 i must Add Value 80 at 0C & 0D?
http://wiki.ttdpatch.net/tiki-index.php?page=Action0Stations#Selection_of_numbers_of_platforms_and_length_0C_0D_ wrote: The values are a byte, used as a bit mask. Bits 0 to 6 control the availability of number or length 1 to 7, and bit 7 controls the availability of the "+7" button. Each bit that is set disables the corresponding length or number of platforms.
regards
Michael
Image
User avatar
RL Conroy
Transport Coordinator
Transport Coordinator
Posts: 273
Joined: 04 Sep 2010 12:28
Location: Nijmegen, Holland

Re: Some Requests (Help Needed with Station NFO)

Post by RL Conroy »

Whoops... :oops: Sorry I must Look better on the Wiki. Thanks.

How do I Create a Simple Animation Tile?
I Trying to Find out how to Create one.
Conroy: This is Rebel Leader to base. Rebel Transport 2001 has been destroyed and parts for Teleport Device have been lost. We need those Parts! Conroy out.
Erik: What the... What was that all about?
Baleog: I don't know. But he did mention the words "Teleport Device" and "Parts". Quote from the Game "Lost Vikings 2"
4f 70 65 6e 54 54 44 20 52 6f 63 6b 73 21 Hex Code
Find out what the Hex Code means! | Dec/Hex/Oct/Bin Table | Screenshots! | Topic TrafficLight Junction | TTDPatch Wiki | My Website! |
michael blunck
Tycoon
Tycoon
Posts: 5954
Joined: 27 Apr 2005 07:09
Contact:

Re: Some Requests (Help Needed with Station NFO)

Post by michael blunck »

RL Conroy wrote: How do I Create a Simple Animation Tile?
I Trying to Find out how to Create one.
I´d propose to first create a simple station, w/o animation.

regards
Michael
Image
User avatar
RL Conroy
Transport Coordinator
Transport Coordinator
Posts: 273
Joined: 04 Sep 2010 12:28
Location: Nijmegen, Holland

Re: Some Requests (Help Needed with Station NFO)

Post by RL Conroy »

michael blunck wrote:w/o animation
Sorry to Ask but what is "w/o"?

Oh is that Hard to do then?
Conroy: This is Rebel Leader to base. Rebel Transport 2001 has been destroyed and parts for Teleport Device have been lost. We need those Parts! Conroy out.
Erik: What the... What was that all about?
Baleog: I don't know. But he did mention the words "Teleport Device" and "Parts". Quote from the Game "Lost Vikings 2"
4f 70 65 6e 54 54 44 20 52 6f 63 6b 73 21 Hex Code
Find out what the Hex Code means! | Dec/Hex/Oct/Bin Table | Screenshots! | Topic TrafficLight Junction | TTDPatch Wiki | My Website! |
User avatar
lawton27
Tycoon
Tycoon
Posts: 1418
Joined: 03 Aug 2009 14:29
Location: Manchester

Re: Some Requests (Help Needed with Station NFO)

Post by lawton27 »

RL Conroy wrote: Sorry to Ask but what is "w/o"?
Without.
User avatar
Lakie
TTDPatch Developer
TTDPatch Developer
Posts: 1799
Joined: 26 May 2004 16:37
Location: Britain
Contact:

Re: Some Requests (Help Needed with Station NFO)

Post by Lakie »

Michael is just advising you to 'use small building steps' rather than trying to do everything at once, making the learning process somewhat easier.

~ Lakie
TTDpatch Developer 2005 - 2010 ~ It all started because of shortened vehicle not loading correctly, now look where I've gone with it!
Grfs coded ~ Finnish Train Set (Teaser) | Bm73 (Release 3) | Emu 680 (Release 3)| Glass Station (Release 1) | UK Roadset (Version 1.1a) | New Water Coasts (Version 7)
Pikka: "Lakie's a good coder, but before he'll add any feature to TTDP you have to convince him that you're not going to use it to destroy the world as we know it."
User avatar
RL Conroy
Transport Coordinator
Transport Coordinator
Posts: 273
Joined: 04 Sep 2010 12:28
Location: Nijmegen, Holland

Re: Some Requests (Help Needed with Station NFO)

Post by RL Conroy »

Oh yes that is better though. Start Small and build it up.

EDIT: Oh and i Founded Something that is a Little Strange, Look at the Code:

Code: Select all

9 * 22	 00 04 07 01 01 08
16 * 22	 00 04 07 01 02 08
23 * 22	 00 04 07 01 03 08
30 * 22	 00 04 07 01 04 08
37 * 22	 00 04 07 01 05 08
44 * 22	 00 04 07 01 06 08
51 * 22	 00 04 07 01 07 08
58 * 22	 00 04 07 01 08 08
65 * 22	 00 04 07 01 09 08
72 * 82	 00 04 07 01 0A 08
79 * 22	 00 04 07 01 0B 08
86 * 22	 00 04 07 01 0C 08
93 * 22	 00 04 07 01 0D 08
100 * 22	 00 04 07 01 0E 08
107 * 22	 00 04 07 01 0F 08
114 * 22	 00 04 07 01 10 08
Continued...
It Begins at the Fifth Line: It will go from 01 to 09 and Suddenly it says 0A, 0B, 0C, 0D, 0E, 0F and Continues with 10, 11, 12 and so on.
Is this Normal? :?:
Conroy: This is Rebel Leader to base. Rebel Transport 2001 has been destroyed and parts for Teleport Device have been lost. We need those Parts! Conroy out.
Erik: What the... What was that all about?
Baleog: I don't know. But he did mention the words "Teleport Device" and "Parts". Quote from the Game "Lost Vikings 2"
4f 70 65 6e 54 54 44 20 52 6f 63 6b 73 21 Hex Code
Find out what the Hex Code means! | Dec/Hex/Oct/Bin Table | Screenshots! | Topic TrafficLight Junction | TTDPatch Wiki | My Website! |
michael blunck
Tycoon
Tycoon
Posts: 5954
Joined: 27 Apr 2005 07:09
Contact:

Re: Some Requests (Help Needed with Station NFO)

Post by michael blunck »

RL Conroy wrote: [...] It will go from 01 to 09 and Suddenly it says 0A, 0B, 0C, 0D, 0E, 0F and Continues with 10, 11, 12 and so on.
Is this Normal? :?:
Yes, that´s normal hexadecimal counting:

1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F, 10,
11, 12, 13, 14, 15, 16, 17, 18, 19, 1A, 1B, 1C, 1D, 1E, 1F, 20,
21, 22, ...

Use your windows calculator.

regards
Michael
Image
User avatar
RL Conroy
Transport Coordinator
Transport Coordinator
Posts: 273
Joined: 04 Sep 2010 12:28
Location: Nijmegen, Holland

Re: Some Requests (Help Needed with Station NFO)

Post by RL Conroy »

:!: UPDATE: I Created a GRF that Allows you to Create Your own Industries as Station Tiles! :D
I'm Thanking All the People on TT-Forums to Help me with this... Especially michael blunck :mrgreen:
Only Permission Needed to Release it...
michael blunck wrote:Yes, that´s normal hexadecimal counting
Oh Okay. I almost Worried there... But i'm Learning it. It's Awesome & Fun to Work with NFO Coding!

I also want to tell this Earlier but Thanks with Helping me with this! :bow:
You Guys are Awesome! 8) :D

<Removed Questions because i Solved them>
Conroy: This is Rebel Leader to base. Rebel Transport 2001 has been destroyed and parts for Teleport Device have been lost. We need those Parts! Conroy out.
Erik: What the... What was that all about?
Baleog: I don't know. But he did mention the words "Teleport Device" and "Parts". Quote from the Game "Lost Vikings 2"
4f 70 65 6e 54 54 44 20 52 6f 63 6b 73 21 Hex Code
Find out what the Hex Code means! | Dec/Hex/Oct/Bin Table | Screenshots! | Topic TrafficLight Junction | TTDPatch Wiki | My Website! |
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: Amazon [Bot] and 10 guests