Page 12 of 80

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

Posted: 31 Jan 2009 12:31
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 152 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:

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

Posted: 31 Jan 2009 12:57
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.

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

Posted: 31 Jan 2009 20:07
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

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

Posted: 01 Feb 2009 12:26
by DJ Nekkid
post us your code?

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

Posted: 01 Feb 2009 18:46
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.

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

Posted: 02 Feb 2009 22:02
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

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

Posted: 02 Feb 2009 22:05
by Beardie
Mega when you think you have finished this i can post this file on the first post for you :)

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

Posted: 06 Feb 2009 04:13
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

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

Posted: 07 Feb 2009 08:15
by Mega:Map Creator!!
I'm beginning to wonder if its possible at all to ad another sound to a helicopter based vehicle.?

?( Mega

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

Posted: 07 Feb 2009 08:25
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.

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

Posted: 07 Feb 2009 08:34
by PikkaBird
Are you setting the bit in property 14, Mega? If you're still stuck, let's see the code.

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

Posted: 07 Feb 2009 09:54
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

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

Posted: 07 Feb 2009 10:04
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...

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

Posted: 07 Feb 2009 10:13
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

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

Posted: 20 Feb 2009 08:59
by EXTspotter
First go at Iberia A320:

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

Posted: 20 Feb 2009 20:39
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.

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

Posted: 28 Feb 2009 14:59
by EXTspotter
New sprites! Yay!

Iberia A320:

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

Posted: 28 Feb 2009 23:36
by trainboy2004
Nice Iberia. :D

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

Posted: 01 Mar 2009 10:50
by Beardie
Brill we need to realign know :D

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

Posted: 27 Mar 2009 09:45
by donchatryit
Can this set be downloaded in game or does it need to be applied manually?