PDA

View Full Version : Editing tanks



Pika
24-01-2010, 08:37
I was quite surprised to fiind that Pz IV or King Tiger in mod "Commanders of War II" didn't have AA mg and opened the .DEF file and I have noticed that the "{weapon "mg34" filled}" was missing so I added to the file but when entering the editor it wasn't where it should be in fact it was missing :wilting: and I found the also that the Pz III F should have a shield or smting but I see no shield in the game :lol: so can anyone explain how to propper edit those tanks :realbig:


Cheers !

Sabari
24-01-2010, 09:27
Look on the original files of Mow, exemple, for the AA of the king tiger, \Men of War\resource\entity\e1.pak\-vehicles\tank_heavy\pz6bh\pz6bh.def

You can open .pak files with winrar.
Then you can see this code:


{Weaponry
{place "gun"
{RestoreIKAfterAim}
{weapon "88mm_kwk43" filling "ammo bullet88 ap" 1}
("abm_10")
}
{place "mgun"
{type "mgun_aa"}<---------------
{weapon "mg34" filled}
{gunner "gunner2"}
{charger "gunner2"}
{LinkBone "mgun_rot"}
{LinkAnimation "off"}
{basic}
}
{place "mgun1"
{type "mgun_hull"}
{foresight "foresight4"}
{gunner "driver"}
{charger "driver"}
}
{place "mgun2"
{type "mgun_coaxial"}
{weapon "mg34" filled}
{foresight "foresight5"}
}
}

Hope it helps.

Pika
24-01-2010, 09:29
This is what I have done too :) but it doesn't shows up I guess it has to do something with the mods file because when I add that line it still doesn't shows the mg :|