Jump to content

Sign in to follow this  
vitamin

Where are those two Policemen hiding?

Recommended Posts

Today I've replaced models of two Policemen (copied their classes from 'O.pbo' to my main config file) but I cannot find their names - '$STR_DN_OUT_POLICE' and '$STR_DN_OUT_POLICE2'. I checked all three 'STRINGTABLE.CSV' files and they are not there. So where are these names defined?

Share this post


Link to post
Share on other sites

The relevant stringtable is inside the O.pbo file :

  Reveal hidden contents

Share this post


Link to post
Share on other sites

So there they are... thank you ProfTournesol for your help. I didn't know that stringtable.csv can be inside pbo file. But this model replacement has a little side-effect and I have no idea why. As I was quick testing it, I noticed that 'Man 3' now is listed twice in mission editor:

333wutg.jpg

What might be the cause of this?

Share this post


Link to post
Share on other sites

I copied all Civilian classes - from 4 to 11, and also all five women classes. Here's an example:

class Civilian4 : Civilian
{
     access=2;
     displayName="$STR_DN_OUT_MAN4";
     //model="\O\Char\Char01";
     model="\morecivs\Char01H7s_ho";
     //wounds[]={"\o\char\New_civlegsT.pac","\o\char\New_civlegsT_i.pac","\o\char\New_civtopT1.pac","\o\char\New_civtopT1_i.pac","\o\char\New_civtopT2.pac","\o\char\New_civtopT2_i.pac","\o\char\New_civtopT3.pac","\o\char\New_civtopT3_i.pac","\o\char\New_civtopT4.pac","\o\char\New_civtopT4_i.pac","\o\misc\eva.pac","\o\misc\eva_d.pac","\o\misc\kamila.pac","\o\misc\kamila_d.pac","\o\misc\lada.pac","\o\misc\lada_d.pac","\o\misc\lucie.pac","\o\misc\lucie_d.pac","\o\misc\marketa.pac","\o\misc\marketa_d.pac","\o\misc\nada.pac","\o\misc\nada_d.pac","xicht_a.paa","xicht_a_zranen","xicht_b.paa","xicht_a_zranen","xicht_c.paa","xicht_a_zranen","xicht_d.paa","xicht_a_zranen","xicht_e.paa","xicht_e_zranen","xicht_f.paa","xicht_a_zranen","xicht_g.paa","xicht_a_zranen","xicht_h.paa","xicht_a_zranen","xicht_i.paa","xicht_a_zranen","xicht_j.paa","xicht_a_zranen","xicht_k.paa","xicht_a_zranen","xicht_l.paa","xicht_a_zranen","xicht_m.paa","xicht_a_zranen","xicht_n.paa","xicht_a_zranen","xicht_o.paa","xicht_o_zranen","xicht_p.paa","xicht_a_zranen","xicht_q.paa","xicht_a_zranen","xicht_r.paa","xicht_a_zranen","xicht_s.paa","xicht_a_zranen","xicht_t.paa","xicht_a_zranen","xicht_u.paa","xicht_a_zranen","xicht_v.paa","xicht_v_zranen","xicht_w.paa","xicht_w_zranen","xicht_x.paa","xicht_a_zranen","xicht_y.paa","xicht_a_zranen","xicht_z.paa","xicht_a_zranen","xicht_2a.paa","xicht_a_zranen","xicht_2b.paa","xicht_w_zranen","xicht_2c.paa","xicht_a_zranen","xicht_2d.paa","xicht_v_zranen","xicht_2e.paa","xicht_a_zranen","xicht_2f.paa","xicht_a_zranen","xicht_2g.paa","xicht_w_zranen","xicht_2h.paa","xicht_a_zranen","xicht_2i.paa","xicht_a_zranen","xicht_2j.paa","xicht_a_zranen","xicht_2k.paa","xicht_a_zranen","xicht_2l.paa","xicht_a_zranen","xicht_2m.paa","xicht_a_zranen","xicht_2n.paa","xicht_a_zranen","xicht_2o.paa","xicht_a_zranen","xicht_2p.paa","xicht_2p_zranen","xicht_2q.paa","xicht_a_zranen","xicht_2r.paa","xicht_e_zranen","xicht_2s.paa","xicht_a_zranen","xicht_2t.paa","xicht_a_zranen","xicht_2u.paa","xicht_a_zranen","xicht_2v.paa","xicht_a_zranen","xicht_2w.paa","xicht_w_zranen","xicht_2x.paa","xicht_a_zranen","xicht_2y.paa","xicht_a_zranen","xicht_2z.paa","xicht_a_zranen"};
};

Share this post


Link to post
Share on other sites

You are right. I did a bit of thinking about this issue and found the cause. Duplicate name means that there are at least two classes defined that share the same name ('Civilian3' in this case). And since it can't be my main config file (OFP would give me an error message about same class names) that means that some of my 3rd party addons has this class defined. So I did a quick check and found the addon responsible - 'awmvwbus.pbo'. Edited its config file and the problem is gone now:) And it had nothing to do with civilians replacements - I'm sorry for confusing you ProfTournesol (or anybody reading this topic).

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×