George's Long vehicles V4 beta4 is out (07 sep 2007)

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
RailJade
Engineer
Engineer
Posts: 92
Joined: 27 Jul 2004 15:19
Location: On the Northeast Corridor

Post by RailJade »

Something is wrong with my 3 3/4 vehicle set.

the AI manager keeps telling me that Long Vehicles v3 Mercedes Trucs. is needed to be loaded. So I went and downloaded it and loaded it and it still keeps telling me this error.

To note I am using version a66 of the patch.

The rest of the 3 3/4 vehicles are funtioning normaly except for the AI manager.

The 3 3/4 Vehicles were funtioning normaly before I upgraded to a66.
Attachments
untitled.JPG
untitled.JPG (67.5 KiB) Viewed 4408 times
User avatar
George
Tycoon
Tycoon
Posts: 4364
Joined: 16 Apr 2003 16:09
Skype: george-vb
Location: Varna, Bulgaria
Contact:

Post by George »

RailJade wrote:Something is wrong with my 3 3/4 vehicle set.
the AI manager keeps telling me that Long Vehicles v3 Mercedes Trucks. is needed to be loaded. So I went and downloaded it and loaded it and it still keeps telling me this error.
To note I am using version a66 of the patch.
The rest of the 3 3/4 vehicles are functioning normally except for the AI manager.
The 3 3/4 Vehicles were functioning normally before I upgraded to a66.
Yes, it happens since a66 and I could not understand why. I hope Josef or DaleStan can suggest a way to fix it.
The problem is with files order check. AIManager sets prop 06 of all RVs to 0, while other sets change them to 0f. That makes it necessary to check the files order. I used action 07 condition 06 for GRFIDs. It worked fine before a66. Now it has to be changed, I think. The question is – how?
Image Image Image Image
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

George wrote:Yes, it happens since a66 and I could not understand why. I hope Josef or DaleStan can suggest a way to fix it.
I think I've suggested this before, but I'll try it again.

Solution: Put the whole of LVs in *ONE* *SINGLE* *GRF* *FILE*.

I can find a decent reason to use up to three files: One for the vehicles (graphics, stats, &c.), one for the AI, and one for newsounds. And I'm not entirely convinced that the AI callbacks really belong in their own GRF.
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
ISA
Tycoon
Tycoon
Posts: 3384
Joined: 17 Oct 2005 20:56
Location: Estonia

Post by ISA »

RailJade wrote:Something is wrong with my 3 3/4 vehicle set.

the AI manager keeps telling me that Long Vehicles v3 Mercedes Trucs. is needed to be loaded. So I went and downloaded it and loaded it and it still keeps telling me this error.

To note I am using version a66 of the patch.

The rest of the 3 3/4 vehicles are funtioning normaly except for the AI manager.

The 3 3/4 Vehicles were funtioning normaly before I upgraded to a66.
I can see yor pic that your Long Vehicles v3 3/4 Mercedes Trucs is loaded, to load other 3 3/4 try this, download all version3 vehicles what you have missing in ur AI manager http://ttd.cernun.net/newgrf/downloadsold.html , and place all v3 vehicles in newgrf file and the 3 3/4 should work fine. :wink:
If it wont work sry, but I have load all long vehicles so and no problem I use a66 too. :roll:
User avatar
George
Tycoon
Tycoon
Posts: 4364
Joined: 16 Apr 2003 16:09
Skype: george-vb
Location: Varna, Bulgaria
Contact:

Post by George »

DaleStan wrote:
George wrote:Yes, it happens since a66 and I could not understand why. I hope Josef or DaleStan can suggest a way to fix it.
I think I've suggested this before, but I'll try it again.

Solution: Put the whole of LVs in *ONE* *SINGLE* *GRF* *FILE*.
that is 2.25Mb in size or 720Kb in archive. That’s a very wise idea. That means, that were would be no fast updates and bug fixes, it would not be possible to choose a part of vehicles. You'll have to use them all mandatory (I doubt that I'll add a lot of parameters to choose). And the main problem it will reduce my speed of testing about two or more times.
I can only aim to repeat my suggestion to krtaylor.
DaleStan wrote:I can find a decent reason to use up to three files: One for the vehicles (graphics, stats, &c.), one for the AI, and one for new sounds. And I'm not entirely convinced that the AI call-backs really belong in their own GRF.
I do not see the reason to split the AI file if all the other are united.

But the question stays. What is wrong with actions 7 that check for loaded files?

Code: Select all

 //  Check for other files being loaded
// Check for Mercedes trucks. Skip the rest of file if will not activated
   44 * 9	 07 88 04 08 4D 65 6F 07 02
   45 * 62	 0B 02 1F FF 4C 6F 6E 67 20 76 65 68 69 63 6C 65 73 20 76 33 BE 2E 20 4D 65 72 63 65 64 65 73 20 54 72 75 63 6B 73 20 66 69 6C 65 20 68 61 73 20 74 6F 20 62 65 20 6C 6F 61 64 65 64 00 00
   46 * 6	 07 83 01 03 04 00
…
// Check for files order. Skip the rest of file if some file is already loaded
// Check for Mercedes trucks being loaded. Skip the rest of file if loaded
   94 * 9	 07 88 04 07 4D 65 6F 07 02
   95 * 77	 0B 03 1F FF 41 49 20 6D 61 6E 61 67 65 72 20 66 69 6C 65 20 68 61 73 20 74 6F 20 62 65 20 6C 6F 61 64 65 64 20 62 65 66 6F 72 65 20 61 6E 79 20 6F 66 20 4C 6F 6E 67 20 76 65 68 69 63 6C 65 73 20 76 33 BE 20 66 69 6C 65 73 21 00 00
   96 * 6	 07 83 01 03 04 00 
…
// Activate this file                       
  143 * 169	 08 06 4D 65 6F 0F 4C 6F 6E 67 20 76 65 68 69 63 6C 65 73 20 76 33 20 BE 2E ... 
Image Image Image Image
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

George wrote:
DaleStan wrote:Solution: Put the whole of LVs in *ONE* *SINGLE* *GRF* *FILE*.
that is 2.25Mb in size or 720Kb in archive.
Which is a 3 minute download at 32kbps. Seems quite reasonable to me.
George wrote:it would not be possible to choose a part of vehicles. You'll have to use them all mandatory
As if using the AI manager doesn't enforce that already?
As if the autoreplace manager (I'm assuming you're planing to implement one?) won't enforce that too?

Is there any instance whatsoever where you support or plan to support the replacement of GRF file $FOO with GRF file $BAR, where GRFID($FOO)!=GRFID($BAR)?
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
George
Tycoon
Tycoon
Posts: 4364
Joined: 16 Apr 2003 16:09
Skype: george-vb
Location: Varna, Bulgaria
Contact:

Post by George »

DaleStan wrote:
George wrote:
DaleStan wrote:Solution: Put the whole of LVs in *ONE* *SINGLE* *GRF* *FILE*.
that is 2.25Mb in size or 720Kb in archive.
Which is a 3 minute download at 32kbps. Seems quite reasonable to me.
for 1-2 bytes of fix?
DaleStan wrote:
George wrote:it would not be possible to choose a part of vehicles. You'll have to use them all mandatory
As if using the AI manager doesn't enforce that already?
Yes. But without it you can use any combination of files
DaleStan wrote:As if the autoreplace manager (I'm assuming you're planing to implement one?) won't enforce that too?
Yes, it would.
DaleStan wrote:Is there any instance whatsoever where you support or plan to support the replacement of GRF file $FOO with GRF file $BAR, where GRFID($FOO)!=GRFID($BAR)?
Well there 2 places now where it can be done that way (but done with the same ID)
  • Cut version (no girls) vs standard version
    Truncated version of NA buses vs standard version
Image Image Image Image
User avatar
George
Tycoon
Tycoon
Posts: 4364
Joined: 16 Apr 2003 16:09
Skype: george-vb
Location: Varna, Bulgaria
Contact:

Post by George »

As the P.S. for the previous letter.

Is it possible to have more than 256 strings for vehicles callback 19 (refit name)?
Image Image Image Image
User avatar
Snail
Tycoon
Tycoon
Posts: 1287
Joined: 28 Apr 2003 18:52
Contact:

renault R312

Post by Snail »

Hi George,

I'm sorry if I come now to re-open an ages-old discussion. Can you remember the Renault R312, the city bus from the Eighites I suggested you a long time ago? Well, I was able to find a technical drawing of it: apparently, Frenchy Alex posted it on the Locomotion mods thread, and it is exactly what you would need to draw that bus. I'm posting it here, too, of course you should credit him if you decide to use this.

I know you're currently very busy with stuff other that drawing buses, but it would be cool if you at least thought about drawing this bus. Together with your excellent SC10, it would be a very nice thing to have along with the forthcoming French Set.

Here I post the zipfile with the drawing, you'll find lots of pics and info earlier in this thread, when I first suggested you that bus.

Cheers

Snail
Attachments
R312_documentation.zip
thanks to Frenchy Alex for this
(886.06 KiB) Downloaded 140 times
User avatar
George
Tycoon
Tycoon
Posts: 4364
Joined: 16 Apr 2003 16:09
Skype: george-vb
Location: Varna, Bulgaria
Contact:

Re: renault R312

Post by George »

Snail wrote:I'm sorry if I come now to re-open an ages-old discussion.
It is Ok
Snail wrote:Can you remember the Renault R312, the city bus from the Eighites I suggested you a long time ago?
Yes
Snail wrote:Well, I was able to find a technical drawing of it: apparently, Frency Alex posted it on the Locomotion mods thread, and it is exactly what you would need to draw that bus. I'm posting it here, too, of course you should credit him if you decide to use this.
I'm afraid I can forget it. Please control me
Snail wrote:I know you're currently very busy with stuff other that drawing buses, but it would be cool if you at least thought about drawing this bus. Together with your excellent SC10, it would be a very nice thing to have along the forthcoming French Set.
Well, referring to my todo list, it will not happen soon :(
Snail wrote:Here I post the zipfile with the drawing, you'll find lots of pics and info earlier in this thread, when I first suggested you that bus.
Thank you. Pics are stored on my HDD if the bus folder.
Image Image Image Image
User avatar
George
Tycoon
Tycoon
Posts: 4364
Joined: 16 Apr 2003 16:09
Skype: george-vb
Location: Varna, Bulgaria
Contact:

Long Vehicles v4 realised

Post by George »

Due to the new cargo representation, introduced in alpha 66, I've completely recoded Long vehicles. Now they are absolutely landscape independent, and only cargo based. That means they can be used even in toyland and with cargo mods. The cargo support is not class based, but identifier based, so, new unknown cargos are not supported yet. If LV4 do not support some cargo - let me know!.
All the trucks now transport mail by default. You can get other cargos with refitting. Not every truck supports every cargo

I've also recoded the IDs usage. That means, that LV4 is not compatible with previously saved games with LV1, LV2, LV3, LV334

On many requests, I've coded all the LV4 into one file. That may cause some errors, because it is hard to maintain the 500K NFO file. So, I hope that because I made it on your request you'll help me with reports about bugs, caused by this action.

Please, test them and give me bug reports, thank you

Known problems:
BEER cargo is not supported
Autoreplace does not work
AI management does not work
Ikarus 55/66 dos not work
Last edited by George on 25 Nov 2005 10:43, edited 2 times in total.
Image Image Image Image
Prof. Frink
Tycoon
Tycoon
Posts: 3849
Joined: 20 Jan 2003 14:51
Location: Broadstone, Dorset
Contact:

Post by Prof. Frink »

Dunno whether this is detection or error message that's wrong:
Error: This set is ncompatible with Cargo set. To use both this set and Cargo set put the set before cargo set in the newgrf.cfg
4longvehiclesw.grf is the first entry in the cfg.

Also, th JIuA3 677 is marked as refittable, but has only one refit option.
User avatar
George
Tycoon
Tycoon
Posts: 4364
Joined: 16 Apr 2003 16:09
Skype: george-vb
Location: Varna, Bulgaria
Contact:

Post by George »

Prof. Frink wrote:Dunno whether this is detection or error message that's wrong:
Error: This set is ncompatible with Cargo set. To use both this set and Cargo set put the set before cargo set in the newgrf.cfg
4longvehiclesw.grf is the first entry in the cfg.
You have to deactivate CargoSet or put LV4 after other sets in the end of the file
Prof. Frink wrote:Also, th JIuA3 677 is marked as refittable, but has only one refit option.
Will be fixed

BTW, what to do with russian names as LiAZ? Should it be transliterated (LiAZ) or emulated (JIuA3 or /|uA3)?
Image Image Image Image
User avatar
Snail
Tycoon
Tycoon
Posts: 1287
Joined: 28 Apr 2003 18:52
Contact:

Post by Snail »

I guess transliterating (LiAZ) would be better and would look smoother, whereas something like /|uA3 or JIuA3 would look funny... when writing in another language, it's perfectly sensible to convert text so that the recipient language's alphabet is used (for instance, in western Europe, Lada cars are sold as "Lada" with Latin characters).
User avatar
Prebral
Traffic Manager
Traffic Manager
Posts: 141
Joined: 20 May 2005 13:22
Location: Prague
Contact:

Post by Prebral »

George wrote:BTW, what to do with russian names as LiAZ? Should it be transliterated (LiAZ) or emulated (JIuA3 or /|uA3)?
I prefer LiAZ.
goalie
Route Supervisor
Route Supervisor
Posts: 406
Joined: 28 Aug 2003 14:54
Location: Düsseldorf
Contact:

Post by goalie »

no bus is refitable to toursists
because the file says there is no cargo tourists avalible
even if th new cargo file is after or before lv4
goalie
Route Supervisor
Route Supervisor
Posts: 406
Joined: 28 Aug 2003 14:54
Location: Düsseldorf
Contact:

Post by goalie »

@george ypour page does not work
User avatar
George
Tycoon
Tycoon
Posts: 4364
Joined: 16 Apr 2003 16:09
Skype: george-vb
Location: Varna, Bulgaria
Contact:

Post by George »

goalie wrote:no bus is refitable to tourists
because the file says there is no cargo tourists available
even if th new cargo file is after or before lv4
Because the old file does not define cargo identifier. The new file will be done later.
goalie wrote:@george your page does not work
do you mean the mirror?

One more bug found with Ikarus 620

2All: What to do with cut version of the buses now? I do not plan to realise the LV4 cut version. The only thing I can do is to realise the file, that changes graphics, but nothing more.

2All: Could someone check, are whose names correct for refitting? Could someone translate them into German, Spanish, France?
box van
semi-trailer tanker
platform
tarpaulin van
refrigerator
timber truck
container platform
tanker with trailer
dump truck
drop-side truck
armoured truck
low bed platform
mixer
logger
KMB
city bus
2-axle bus
3-axle bus
4-axle bus
2-doors bus
3-doors bus
4-doors bus
coach bus
double-decker bus
articulated bus
single bus
tourists version
Image Image Image Image
goalie
Route Supervisor
Route Supervisor
Posts: 406
Joined: 28 Aug 2003 14:54
Location: Düsseldorf
Contact:

Post by goalie »

George wrote:
goalie wrote:no bus is refitable to tourists
because the file says there is no cargo tourists available
even if th new cargo file is after or before lv4
Because the old file does not define cargo identifier. The new file will be done later.
goalie wrote:@george your page does not work
do you mean the mirror?
please release the new file soon ill play with touristbusses

yes i mean the mirror(your homepage)
User avatar
Snail
Tycoon
Tycoon
Posts: 1287
Joined: 28 Apr 2003 18:52
Contact:

Post by Snail »

Ok, showing off my two words of French here :P

box van = "Fourgon fermé" or "Camion fermé"
semi-trailer tanker = "Camion citerne à semi-rémorque"
platform = "Camion à plate-forme"
tarpaulin van = "Fourgon à bâche" or "Camion à bâche"
refrigerator = "Fourgon refrigérateur" or "Camion refrigérateur"
timber truck = "Camion pour transport de bois"
container platform = "Camion à plate-forme porte-containers"
tanker with trailer = "Camion citerne à rémorque"
dump truck = "Camion de décharge"
drop-side truck = "Camion à décharge latérale"
armoured truck = "Fourgon blindé" or "Camion blindé"
low bed platform = "Camion à plate-forme baisse"
mixer = what do you mean?
logger = "Camion pour transport de bois"
KMB = what do you mean?
city bus = "Autobus urbain"
2-axle bus = "Autobus à 2 essieux"
3-axle bus = "Autobus à 3 essieux"
4-axle bus = "Autobus à 4 essieux"
2-doors bus = "Autobus à 2 portes"
3-doors bus = "Autobus à 3 portes"
4-doors bus = "Autobus à 4 portes"
coach bus = "Autocar"
double-decker bus = "Autobus à 2 niveaux"
articulated bus = "Autobus articulé"
single bus = "Autobus monocaisse"
tourists version = "Version pour touristes"

Note: "Fourgon" means "van" and should work for small trucks, like the Opel Blitz, the Steyr (if you ever draw it :roll: ) etc., while "Camion" is more generic and works for larger vehicles.

Now...
George wrote:2All: What to do with cut version of the buses now? I do not plan to realise the LV4 cut version. The only thing I can do is to realise the file, that changes graphics, but nothing more.
That's a shame, I always used the cut version. What do you mean by the "file that changes graphics"?
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: Bing [Bot] and 16 guests