Page 4 of 6
Re: Romania in OpenTTD
Posted: 06 May 2009 15:32
by andythenorth
Cudar wrote:But who gets money for coding? Everybody does it for the result, that we have a new GRF with we can play. We don't sell the files. That's the OTTD. Nobody pays anything! I only need some help, because we need to help each other in the good projects. I don't help nobody, because I'm not so clever than others. You can help me in coding, to be the rvr set really good grf!

I don't know if this will help you guys, but here's the nfo for the HEQS RV set. It's quite well commented and includes both simple and complicated code. Feel free to reuse my code, preferably under GPL (are you planning to GPL your set?)
If you want to look at simple trucks, skip to sprite 1849 or line 3830.
If you want to look at complex articulated RVs, with things like
- different livery according to cargo
- different capacity according to date
then have a look at the various bulldozers or the fourtrac.
I can't help you code the Romanian set, but if you've got a problem I've solved before, I'll try and help you figure it out.
cheers,
Andy
Re: Romania in OpenTTD
Posted: 06 May 2009 15:39
by Cudar
Thank you very much for the help! But I can't use the nfo, I'm using only grf maker for coding, and my problem is that I can't code trucks with trailers... But in the end somebody who wants to help me.
Re: Romania in OpenTTD
Posted: 06 May 2009 17:03
by Benny
So thats why the train NFO looked so weird..

Re: Romania in OpenTTD
Posted: 06 May 2009 19:10
by AndersI
Cudar wrote:But I can't use the nfo, I'm using only grf maker for coding,
You can still get tips and ideas from the NFO, although it might need a lot of reading in the Wiki too...
You can also use raw nfo In GRFMaker to create things that are not implemented in GRFMaker. In the long run, it is probably easier to code directly in NFO, though (although I prefer GRFMaker).
Re: Romania in OpenTTD
Posted: 08 May 2009 21:20
by Benny
How much HP does the Blue arrow engine have?
Re: Romania in OpenTTD
Posted: 09 May 2009 07:43
by Cudar
Around 1600 HP.

Re: Romania in OpenTTD
Posted: 09 May 2009 11:54
by Benny
Thank you.

Re: Romania in OpenTTD
Posted: 17 May 2009 16:35
by Cudar
I have created my first truck with trailer. I made a test version. Is it passably?
Re: Romania in OpenTTD
Posted: 17 May 2009 17:16
by andythenorth
Cudar wrote:I have created my first truck with trailer. I made a test version. Is it passably?
rvr_052w.GRF
Looks pretty good so far. You could probably get it looking better, but you will spend a long time tweaking offsets
You might find callback 11 useful. You'll need to add it yourself, I guess it might not be possible with GRFMaker (haven't tried though).
http://wiki.ttdpatch.net/tiki-index.php ... allback_11_
Sprite 853 in my HEQS nfo might give you clues.
I like the flashing lights. I was thinking of the same thing for HEQS vehicles, but I couldn't find an action colour sequence that looked right to me (my vehicles all have orange beacons, as used in the UK).
Re: Romania in OpenTTD
Posted: 17 May 2009 17:23
by Cudar
I guess it might not be possible with GRFMaker
The GRFMaker can make lot of things, and there is a list with all callbacks in the program. I'm now learning how to use them.
Re: Romania in OpenTTD
Posted: 21 Jul 2009 13:18
by Cudar
Hello to everybody!
After a long time of work I release the:
Road Vehicles in Romania 0.6.0-beta
Yes, it is a beta version. My first truck with trailers are in this version, five new Roman Diesel trucks. Of course, the first part of the truck, turns separately from the trailer. Unfortunately I couldn't resolve in the GRFMaker to the vehicles work properly in the vehicle list, when I buy them. So, first time when you buy a timber or steel truck, you'll get an error massage, but then you can play without any serious problem. The problem is that, I can't make that the trailer appears in the vehicle list, without that error massage. But the trucks without the trailer in the vehicle list are very annoying.
If you find any other problem with the grf please tell me.
So, this set includes the already known buses, and now the Roman Diesel trucks.
The set is compatible with the temperate climate, and playable with OTTD 0.7.X versions.
Some screenshots:

- Vehicle list
- Jarmuvek listaja.PNG (10.15 KiB) Viewed 4435 times

- DAC 112 UDM buses
- dacoc.PNG (32.57 KiB) Viewed 4435 times

- Roman Diesel timber trucks
- roman dieselek.PNG (49.5 KiB) Viewed 4437 times
Edit: I forgot to post the download link
DOWNLOAD THE GRF HERE!
Thanks Colossal

!
Re: Romania in OpenTTD
Posted: 21 Jul 2009 16:08
by Benny
Wow, stunning.

Re: Romania in OpenTTD
Posted: 21 Jul 2009 16:59
by SwissFan91
Wow, stunning.
Now now Benny.. according to the rules.. that post is classed as spam !
Re: Romania in OpenTTD
Posted: 21 Jul 2009 17:03
by Benny
jake.grimshaw wrote:Wow, stunning.
Now now Benny.. according to the rules.. that post is classed as spam !
It aint spam before Hyro is here, and he isn't.
Edit: Where do I download 0.6.0? The Bananas version is 0.5.0
Re: Romania in OpenTTD
Posted: 21 Jul 2009 17:20
by colossal404
I think Cudar forget to upload the file, so I gawe you the download link:
Donwnload link
Re: Romania in OpenTTD
Posted: 21 Jul 2009 19:03
by Benny
Thanks.
Will be included in my next game.
Re: Romania in OpenTTD
Posted: 21 Jul 2009 21:21
by andythenorth
Cudar wrote:So, first time when you buy a timber or steel truck, you'll get an error massage, but then you can play without any serious problem. The problem is that, I can't make that the trailer appears in the vehicle list, without that error massage. But the trucks without the trailer in the vehicle list are very annoying.
We can help you get that fixed
Here's a clue towards having the trailer appear in the buy menu:

- buy_menu.png (3.32 KiB) Viewed 4306 times
DJ Nekkid has a solution to the error message. He'll probably popup and post it, otherwise I'll dig it out and stick it here. Or you can figure it out from the HEQS code (sprite 2452 at line 4800 would be a good place to look)
http://dev.openttdcoop.org/projects/heq ... eader.pnfo
Re: Romania in OpenTTD
Posted: 22 Jul 2009 11:52
by Cudar
How you say Andy? You know, I code my trucks with GRFMaker. I tried to select nine sprites in the sprite-block, and then in the vehicle-list sprite block and the program doesn't allow to make the grf, because it sais that the number of the selected sprites must be 8, 16, 32 and so on.
Can I fix the problem in GRFMaker somehow?
Re: Romania in OpenTTD
Posted: 22 Jul 2009 11:55
by Cudar
Bennythen00b wrote:Thanks.
Will be included in my next game.
Benny: Please do not use the grf with LV4 activated, because won't work properly.
Re: Romania in OpenTTD
Posted: 22 Jul 2009 15:16
by AndersI
Cudar wrote:You know, I code my trucks with GRFMaker. I tried to select nine sprites in the sprite-block, and then in the vehicle-list sprite block and the program doesn't allow to make the grf, because it sais that the number of the selected sprites must be 8, 16, 32 and so on.
The way I do it is to define one more 8-sprite block, containing only the depot view and very small (1x1) sprites for the rest:

- Example72.png (3.35 KiB) Viewed 4194 times
See the
GRFMaker thread for more details.