[OTTD] WAS - World Airliners Set - v0.1 (24/09/12)

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
Mega:Map Creator!!
Engineer
Engineer
Posts: 76
Joined: 20 Dec 2008 06:55
Location: The Netherlands
Contact:

Re: World Airliners Set, The [WIP][Any Help Wanted!]

Post by Mega:Map Creator!! »

:D my 1st babysteps in the world of coding :mrgreen:

but its become a funny little grf ,maybe even worth sharing..

so ill give it a go..

It needs another sound set to it and i would like some liveries, but the wiki is very minimal on plane codes.. so i cant seem to find out how.. tryed to read back into Pikka's code of av8 but couldn't find a line where it said "replace standart chopper sound with new sound"(in code), some help needed there..
MegaBlimp.grf
(26.93 KiB) Downloaded 149 times
:wink: Mega

Note: i borrowed Pikka's skylift 150 to make myself a little bit familiar with the programs needed to code grf's...sorry for this shameless "abuse" :mrgreen:
User avatar
PikkaBird
Graphics Moderator
Graphics Moderator
Posts: 5601
Joined: 13 Sep 2004 13:21
Location: The Moon

Re: World Airliners Set, The [WIP][Any Help Wanted!]

Post by PikkaBird »

Mega:Map Creator!! wrote::D my 1st babysteps in the world of coding :mrgreen:

It needs another sound set to it and i would like some liveries, but the wiki is very minimal on plane codes.. so i cant seem to find out how.. tryed to read back into Pikka's code of av8 but couldn't find a line where it said "replace standart chopper sound with new sound"(in code), some help needed there..
That'd be Callback 33.
User avatar
Mega:Map Creator!!
Engineer
Engineer
Posts: 76
Joined: 20 Dec 2008 06:55
Location: The Netherlands
Contact:

Re: World Airliners Set, The [WIP][Any Help Wanted!]

Post by Mega:Map Creator!! »

Thx for the heads up Pikka,

i think i managed to include a callback 33, renum gave some erors wich i resolved, but now i try to code it with grfcodec it comes up with the folowing error:


cannot include sprites\av_cvlgo.wav could not open .%. redundancy 59%)
invalid argument:


?( suggestions?

the .wav file i copied from av8 so it should be compatible ..not?
are there some parameters which sound files should have?

edit: searched Wiki, forum Pikkawiki, about everything.. still havn't found what exactly i'm doing wrong here
made sure the wav file has the right specs, is in the right map, the line i used to encode seems to be like everyone else did in all other examples, but still it does give me the same error over and over aggain.. nomatter what i try...: cannot include, could not open...


:wink: Mega
User avatar
DJ Nekkid
Tycoon
Tycoon
Posts: 2141
Joined: 30 Nov 2006 20:33

Re: World Airliners Set, The [WIP][Any Help Wanted!]

Post by DJ Nekkid »

post us your code?
Member of the
ImageImage
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Re: World Airliners Set, The [WIP][Any Help Wanted!]

Post by DaleStan »

Also, make sure sprites\av_cvlgo.wav is where it says it is. Not, for example, .\av_cvlgo.wav or sprites\av_cvlgo.wav.wav.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
User avatar
Mega:Map Creator!!
Engineer
Engineer
Posts: 76
Joined: 20 Dec 2008 06:55
Location: The Netherlands
Contact:

Re: World Airliners Set, The [WIP][Any Help Wanted!]

Post by Mega:Map Creator!! »

I was thinking could i ad the sound sprite before actually using it or should it be used in a code to actually make grfcodec read it?

thx, in advance :mrgreen:

:wink: Mega

ps using: Gimp,grfcodec 0.9.10 and renum 3.4.6 r 2056e
Last edited by Mega:Map Creator!! on 06 Feb 2009 04:14, edited 1 time in total.
User avatar
Beardie
Tycoon
Tycoon
Posts: 2029
Joined: 12 Apr 2008 19:38
Skype: rbeardwell91
Location: Buckshaw Village, Lancashire, UK

Re: World Airliners Set, The [WIP][Any Help Wanted!]

Post by Beardie »

Mega when you think you have finished this i can post this file on the first post for you :)
Previously Known As Beardie27
Check out my UPDATED! Screenshot Thread
Check out my Railway Photography and Deviant Account


Image
User avatar
Mega:Map Creator!!
Engineer
Engineer
Posts: 76
Joined: 20 Dec 2008 06:55
Location: The Netherlands
Contact:

Re: World Airliners Set, The [WIP][Any Help Wanted!]

Post by Mega:Map Creator!! »

Started from scratch aggain but actually did manage to include the sound sprite, and got the callback 33 into it , it aint using the callback yet so i need to further investigate..

after that ill try adding some liveries

:wink: Mega
User avatar
Mega:Map Creator!!
Engineer
Engineer
Posts: 76
Joined: 20 Dec 2008 06:55
Location: The Netherlands
Contact:

Re: World Airliners Set, The [WIP][Any Help Wanted!]

Post by Mega:Map Creator!! »

I'm beginning to wonder if its possible at all to ad another sound to a helicopter based vehicle.?

?( Mega
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Re: World Airliners Set, The [WIP][Any Help Wanted!]

Post by DaleStan »

It definitely is. Just not with the property; you have to use the callback.

Load it in Patch and cht:grfdebug to figure out what is (or isn't) going on.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
User avatar
PikkaBird
Graphics Moderator
Graphics Moderator
Posts: 5601
Joined: 13 Sep 2004 13:21
Location: The Moon

Re: World Airliners Set, The [WIP][Any Help Wanted!]

Post by PikkaBird »

Are you setting the bit in property 14, Mega? If you're still stuck, let's see the code.
User avatar
Mega:Map Creator!!
Engineer
Engineer
Posts: 76
Joined: 20 Dec 2008 06:55
Location: The Netherlands
Contact:

Re: World Airliners Set, The [WIP][Any Help Wanted!]

Post by Mega:Map Creator!! »

Great!

please only show me what i'm doing wrong or where the mistakes are made.. ill try and correct them myself... or else i wont learn from it :oops: :D
I'm beggining to see how different actions /lines are used but fail to see the big picture yet.. i dont see how the actions for 1 grf are interconnected yet..

decyfering the wiki aint so easy, i often need 2 or 3 pages opend at the same time to explain the last..

:wink: Mega
Attachments
megablimp.txt
(3.92 KiB) Downloaded 117 times
Last edited by Mega:Map Creator!! on 07 Feb 2009 10:08, edited 1 time in total.
User avatar
PikkaBird
Graphics Moderator
Graphics Moderator
Posts: 5601
Joined: 13 Sep 2004 13:21
Location: The Moon

Re: World Airliners Set, The [WIP][Any Help Wanted!]

Post by PikkaBird »

Okay... why are you running the callback chain in the buy menu only? :) And that test for cb 36 is going to give you some interesting results...
User avatar
Mega:Map Creator!!
Engineer
Engineer
Posts: 76
Joined: 20 Dec 2008 06:55
Location: The Netherlands
Contact:

Re: World Airliners Set, The [WIP][Any Help Wanted!]

Post by Mega:Map Creator!! »

:oops: caught :oops:

as you can see i resorted to copying some lines from the skylift because i had to find a base from where to work from..

when i look to one of youre codes i see what they are for but when i try to decyfer them trough the wiki i find things not mentioned there.. so failing every time to see connections of the extra added data..

maybe i should start with a basic plane instead of a chopper... it seems the basic code will be somewhat simpler..


:wink: Mega
User avatar
EXTspotter
Tycoon
Tycoon
Posts: 3122
Joined: 08 Jan 2008 18:51
Location: Salisbury, UK

Re: World Airliners Set, The [WIP][Any Help Wanted!]

Post by EXTspotter »

First go at Iberia A320:
Attachments
A320 Iberia.PNG
A320 Iberia.PNG (21.36 KiB) Viewed 3442 times
Image
Image
User avatar
Beardie
Tycoon
Tycoon
Posts: 2029
Joined: 12 Apr 2008 19:38
Skype: rbeardwell91
Location: Buckshaw Village, Lancashire, UK

Re: World Airliners Set, The [WIP][Any Help Wanted!]

Post by Beardie »

Nice start Alex, i have added it to the list, and a few changes to the the tracking table in general.

Can be found here and in the first post.
Attachments
Tracking Table r12.zip
(144.07 KiB) Downloaded 102 times
Previously Known As Beardie27
Check out my UPDATED! Screenshot Thread
Check out my Railway Photography and Deviant Account


Image
User avatar
EXTspotter
Tycoon
Tycoon
Posts: 3122
Joined: 08 Jan 2008 18:51
Location: Salisbury, UK

Re: World Airliners Set, The [WIP][Any Help Wanted!]

Post by EXTspotter »

New sprites! Yay!

Iberia A320:
Attachments
A320 Iberia.PNG
A320 Iberia.PNG (22.45 KiB) Viewed 3217 times
Image
Image
User avatar
Beardie
Tycoon
Tycoon
Posts: 2029
Joined: 12 Apr 2008 19:38
Skype: rbeardwell91
Location: Buckshaw Village, Lancashire, UK

Re: World Airliners Set, The [WIP][Any Help Wanted!]

Post by Beardie »

Brill we need to realign know :D
Previously Known As Beardie27
Check out my UPDATED! Screenshot Thread
Check out my Railway Photography and Deviant Account


Image
donchatryit
Transport Coordinator
Transport Coordinator
Posts: 259
Joined: 16 Mar 2009 21:00

Re: World Airliners Set, The [WIP][Any Help Wanted!]

Post by donchatryit »

Can this set be downloaded in game or does it need to be applied manually?
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: No registered users and 27 guests