Jump to content
nfspdf

help

Recommended Posts

I been trying to finish up my ny mod and I am at the point of change the pic but I notice something .It tryed to change it but I found out that the name is in I think that is german .But where do i change it I been in ever scrip and I can't find it . :6: 1111.jpg

Thanks for your help

Chris

Link to comment
Share on other sites

You need to change the ID of the unit.

Therefore, you need to edit unit.xml (Units folder), protraits.xml (Specs folder) and the languagefiles portraits.xml and infotexts.xml

In all 4 files unit ID's are given.

For example:

unit.xml:

<unit id="CV_LAPD">

portraits.xml (Specs folder):

<portrait prototype="mod:Prototypes/Vehicles/03 LA Police/cv_lapd.e4p" text="CV_LAPD" unit="CV_LAPD"/>

infotexts.xml:

<string name="ID_NAME_CV_LAPD">LAPD Patrol Car</string>

<string name="ID_PURPOSE_CV_LAPD">Los Angeles Police Department</string>

<string name="ID_TOOLTIP_CV_LAPD">LAPD Patrol Car</string>

protraits.xml (In Lang folder):

<string name="ID_PORTRAIT_CV_LAPD">LAPD Patrol Car</string>

as you can see 'CV_LAPD' returns in every file. That's the unit ID.

Make sure that's corresponding. Don't use orginal ID's (like STW or MTW) because you will get wrong pictures then (I suppose that's happening to you).

Good luck,

Hoppah

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...