Jump to content
cops

Unit info problem

Recommended Posts

HI everyone,

I was trying several times to get new personal in my police car, but I won't work

Does anyone see the problem?

106_12.png


<unit id="TOURAN4-11">
<campaign>
<missions value="1 2 3 4 13 15 9 8 5 17 12 14 7 19 10 6 18 16 11 20">
<prototype name="mod:Prototypes/Vehicles/03Politie/touran4-11.e4p" />
<price value="150" />
<speed value="120" />
<space value="2" />
<loadspace value="2" />
<personnel>
<unit id="POLITIENORMAAL">
<defaultcount value="1" />
<unit id="PROFILER" />
<defaultcount value="0" />
<unit id="POLITIEKOGELVEST" />
<defaultcount value="0" />
<unit id="POLITIE_MET_JAS" />
<defaultcount value="0" />
<unit id="POLITIEMETVERKEERSJAS" />
<defaultcount value="1" />
</unit>
</personnel>
<equipment />
</missions>
</campaign>

<freeplay>
<missions value="1 2 3 4 13 15 9 8 5 17 12 14 7 19 10 6 18 16 11 20 22">
<prototype name="mod:Prototypes/Vehicles/03Politie/touran4-11.e4p" />
<price value="150" />
<speed value="120" />
<space value="2" />
<loadspace value="2" />
<personnel>
<unit id="POLITIENORMAAL">
<defaultcount value="1" />
<unit id="PROFILER" />
<defaultcount value="0" />
<unit id="POLITIEKOGELVEST" />
<defaultcount value="0" />
<unit id="POLITIE_MET_JAS" />
<defaultcount value="0" />
<unit id="POLITIEMETVERKEERSJAS" />
<defaultcount value="1" />
</unit>
</personnel>
<equipment />
</missions>
</freeplay>
</unit>

I tyed with _ between the words but that doesn't matter

Or do I nee to call them like I called them in the editor?

Link to comment
Share on other sites

the term you used in the editor name of the file is what you must use if the proto for the cop was say "PIG01" that is what you'll have to reference every time you use them, the la/ny mods use "constant characters" for this very reason. It makes it easier to associate proto filenames as required, the Lang xml's display what the user sees but everything else looks for the proto filename.

Link to comment
Share on other sites

I'd have named em politie_01.. the game does have some odd associations you can inadvertently... but as long as you do NOT mod people files other than the texture name/tag via notepad they tend to work fine.

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...