Lorry

Discuss, get help with, or post new modifications, graphics or related tools for Locomotion in this forum.

Moderator: Locomotion Moderators

Post Reply
User avatar
jjlor
Traffic Manager
Traffic Manager
Posts: 160
Joined: 18 Dec 2004 12:51
Location: Madrid, Spain

Lorry

Post by jjlor »

Hi

What file I need modify to change the vehicle of the image?
How do I make to have the original vehicle and the vehicle modified at the same time?



Sorry for my bad english.
Attachments
Mail
Mail
Mail.png (12.63 KiB) Viewed 2039 times
User avatar
barney_5uk
Engineer
Engineer
Posts: 85
Joined: 03 Feb 2005 10:08

Re: modified vehicles

Post by barney_5uk »

look for

<object class=0x(...) subclass=0x (...) name="FILENAME"><chunk(...) etc...

it's the second line in the vehicles' script. FILENAME is the vehicles internal name in 8 digits where not used digits should be spaces. The vehicles' file name should be equal (with .dat extension).

look also for

<useobject desc="compatible" class=(...)>FILENAME</useobject>

when you have this entry in the script, you should also use the same name you want to give for your modified vehicle here.

So you can add modified vehicles without deleting or overwriting existing ones.
User avatar
Villem
Tycoon
Tycoon
Posts: 3310
Joined: 28 Aug 2003 09:38

Post by Villem »

barney i think he needs to know how to decompile the files to modify them too.
User avatar
jjlor
Traffic Manager
Traffic Manager
Posts: 160
Joined: 18 Dec 2004 12:51
Location: Madrid, Spain

Post by jjlor »

Thanks to answer, I will try to modify a vehicle to prove. You do not worry Akalamanaia, I know how to decompile the archives .dat

Only one pregunsta more. Which is the name of the .dat file of mail van?

A greeting
User avatar
Villem
Tycoon
Tycoon
Posts: 3310
Joined: 28 Aug 2003 09:38

Post by Villem »

its MTRUCK1.DAT, or MTRUCK2.DAT or MTRUCK3.DAT if im right..
User avatar
barney_5uk
Engineer
Engineer
Posts: 85
Joined: 03 Feb 2005 10:08

Re: modify

Post by barney_5uk »

Well, and when he changes both the filename and the vehicles internal name, he can use the modded one and the origin one at same time.
Post Reply

Return to “Locomotion Graphics, Modifications & Tools”

Who is online

Users browsing this forum: No registered users and 4 guests