Reply To: Road.bin Editor
Home / Forums / Modders Corner / Mafia Scene Modders / Boz’s Mods / Road.bin Editor / Reply To: Road.bin Editor
Wait’ date=’ when you must keep file lenght, you cannot add/remove more cars, you can only modify parameters of existing cars?[/quote’]
Every name of car in traffic definition object have buffer with size 20 Bytes. For exammple: car_ford – length of this string is 8 Bytes, remainder to 20 Bytes (here 20 – 8 = 12 Bytes) is filled zero Bytes (see picture below). So if you don’t need add new cars to traffic, by editing names of old cars (in hex editor) you don’t change lenght of file.
About Add or remove cars: cars are in this obj. definition in a little database with number of cars and others values. If you extract this traffic definition with DNC Extractor to DNC file, then you can change legth in this DNC file, because it contains only one extracted object. But then you have to recalculate length of item and import DNC (overwrite old object definition) into scene2.bin.
[img]//dl.dropbox.com/s/91khuf4ngp7e140/screen04.jpg&key=aed474a4bc32befae832e1b3c3c4f4d0e82a66775abc9dd7150d931582163f34[/img]
