10 man infantry squads for visibility purposes

Post here to discuss scenario, campaign, data and art editing as well as any mods to Panzer Command.

Moderator: koiosworks

Post Reply
User avatar
smope
Posts: 20
Joined: Sun Jul 02, 2006 4:21 am
Contact:

10 man infantry squads for visibility purposes

Post by smope »

not for wimpy machines

To make infantry somewhat more easy to see, turn off game option "Limit Infantry" and

edit in notepad
<Game Directory>\Data\Infantry\
German Pz Grenadier 42.xml

Code: Select all

 <infantry type="Pz Grenadier 42" side="German" month="1" year="42" points="8" morale="+2.9.2" killpoweradjustment="0">
   <guns>
      <gun gunid="1942 PzGren w/2 MG-42s" rof="11" />
   </guns>
   <models compendium="genericinfantry/germaneliterifle01.png">
 	<model name="body1" filename="German Pz Grenadier 42/german_eliterifle.x"/> 
 	<model name="body2" filename="German Pz Grenadier 42/german_elitesmg.x"/> 
 	<model name="body3" filename="German Pz Grenadier 42/german_elitemgun.x"/>
 	<model name="body4" filename="German Pz Grenadier 42/german_eliterifle.x"/> 
 	<model name="body5" filename="German Pz Grenadier 42/german_eliterifle.x"/> 
 <!-- end original body count --> 
 	<model name="body6" filename="German Pz Grenadier 42/german_elitesmg.x"/> 
 	<model name="body7" filename="German Pz Grenadier 42/german_elitemgun.x"/>
 	<model name="body8" filename="German Pz Grenadier 42/german_eliterifle.x"/>  
 	<model name="body9" filename="German Pz Grenadier 42/german_eliterifle.x"/>  
 	<model name="body10" filename="German Pz Grenadier 42/german_eliterifle.x"/>  
   </models>
 </infantry>
 

and
Russian Rifle 42.xml

Code: Select all

 <?xml version="1.0" encoding="UTF-8"?>
 <infantry killpoweradjustment="0" month="1" morale="+2.10.2" points="5.5" side="Russian" type="Rifle 42" year="42">
  <guns>
    <gun gunid="1942 Rifle w/DP LMG" rof="11"></gun>
  </guns>
  <models compendium="genericinfantry/russianregularrifle01.png">
     	<model filename="Russian Rifle 42/russian_regularrifle.x" name="body1"></model>
  <model filename="Russian SMG 42/russian_elitesmg.x" name="body2"></model>
 	<model filename="Russian Rifle 42/russian_regularmgun.x" name="body3"></model>
 	<model filename="Russian Rifle 42/russian_regularrifle.x" name="body4"></model>
 	<model filename="Russian Rifle 42/russian_regularrifle.x" name="body5"></model>
 <!-- end original body count --> 
 	<model filename="Russian Rifle 42/russian_regularrifle.x" name="body6"></model>
 	<model filename="Russian Rifle 42/russian_regularrifle.x" name="body7"></model>
 	<model filename="Russian Rifle 42/russian_regularrifle.x" name="body8"></model>
 	<model filename="Russian Rifle 42/russian_regularrifle.x" name="body9"></model>
 	<model filename="Russian Rifle 42/russian_regularrifle.x" name="body10"></model>
   </models>
 </infantry>
 
shameless cm fanboi
User avatar
smope
Posts: 20
Joined: Sun Jul 02, 2006 4:21 am
Contact:

RE: 10 man infantry squads for visibility purposes

Post by smope »

test, ignore
shameless cm fanboi
User avatar
smope
Posts: 20
Joined: Sun Jul 02, 2006 4:21 am
Contact:

RE: 10 man infantry squads for visibility purposes

Post by smope »

another test, ignore
shameless cm fanboi
User avatar
smope
Posts: 20
Joined: Sun Jul 02, 2006 4:21 am
Contact:

RE: 10 man infantry squads for visibility purposes

Post by smope »



shameless cm fanboi
User avatar
Der Oberst
Posts: 64
Joined: Sun Jul 31, 2005 3:12 pm
Location: United States

RE: 10 man infantry squads for visibility purposes

Post by Der Oberst »

Hmmm... I made the German infantry change and it crashed to desktop afterwards.


Regards,

Der Oberst
-----------------------------------------
Grey Legion
Posts: 19
Joined: Fri Jun 30, 2006 7:08 pm
Contact:

RE: 10 man infantry squads for visibility purposes

Post by Grey Legion »

ORIGINAL: Der Oberst

Hmmm... I made the German infantry change and it crashed to desktop afterwards.



I read some where that it will put a strain on your system resources to run with more men on the field, could that be the case, or simply re-check everything to make sure no typing BOO BOO's

Good luck !!
Image
User avatar
Der Oberst
Posts: 64
Joined: Sun Jul 31, 2005 3:12 pm
Location: United States

RE: 10 man infantry squads for visibility purposes

Post by Der Oberst »


Just recehecked... stupid user error ... I left a space after the last line like this:

<model name="body10" filename="German Pz Grenadier 42/german_eliterifle.x"/>

</models>

XML is unforgiving that way [:)]


To your question though I would imagine it will strain graphics systems. If you;re running a low end machine I wouldn't try this at home [:)]





Regards,

Der Oberst
-----------------------------------------
User avatar
smope
Posts: 20
Joined: Sun Jul 02, 2006 4:21 am
Contact:

RE: 10 man infantry squads for visibility purposes

Post by smope »

German LMG Team

add attached file German LMG Team.xml to <game directory>\Data\Infantry

Code: Select all

 <infantry type="MG42 LMG Team" side="German" month="1" year="42" points="3" morale="+1.9.2" killpoweradjustment="0">
 <guns>
    <gun gunid="MG42 7.92mm" rof="6" />  
 </guns>
 <models compendium="genericinfantry/german_hmg.png">
        <model name="body1" filename="German HMG Team/german_elitehmg.x"/> 
    <model name="body2" filename="German Pz Grenadier 42/german_eliterifle.x"/>  
 </models>
 </infantry>
 
add this to your scenarios
<unit unitid="MG42 LMG Team" unitname="XXXXXXXXXXXX" exp="Veteran" number="1" max="1" x="959" z="129" heading="135"/>

Attachments

[The extension xml has been deactivated and can no longer be displayed.]

shameless cm fanboi
User avatar
junk2drive
Posts: 12856
Joined: Thu Jun 27, 2002 7:27 am
Location: Arizona West Coast

RE: 10 man infantry squads for visibility purposes

Post by junk2drive »

Your last line includes the map placement coordinates. Be careful when adding units that you don't have more than one unit in the same spot.
Conflict of Heroes "Most games are like checkers or chess and some have dice and cards involved too. This game plays like checkers but you think like chess and the dice and cards can change everything in real time."
User avatar
smope
Posts: 20
Joined: Sun Jul 02, 2006 4:21 am
Contact:

RE: 10 man infantry squads for visibility purposes

Post by smope »

Rusky DP LMG Team

Russian LMG Team.xml

<?xml version="1.0" encoding="UTF-8"?>
<infantry killpoweradjustment="0" month="1" morale="+2.10.2" points="3" side="Russian" type="DP LMG Team" year="42">
<guns>
<gun gunid="DP 7.62mm" rof="5"></gun>
</guns>
<models compendium="genericinfantry/russianelitemgun01.png">
<model filename="Russian Guards 40-42/russian_elitemgun.x" name="body1"></model>
<model filename="Russian SMG 42/russian_elitesmg.x" name="body2"></model>
</models>
</infantry>

add line

<unit unitid="DP LMG Team" unitname="CHANGE_ME" exp="Veteran" number="1" max="1" x="CHANGE_ME" z="CHANGE_ME" heading="0"/>
Attachments

[The extension xml has been deactivated and can no longer be displayed.]

shameless cm fanboi
Post Reply

Return to “Scenario Design and Modding”