kane1 |
01-20-2010 07:18 AM |
I never mess with the game.pak file. I go into saved game files and also the mission files in the Editor. OK, sounds like you've been using the Editor so this will be easy. I'll use the first Russ mission for this example. Open the Editor then load the first Russ mission "dubovka". Now spawn a tank and crew. I'm going to use a Tiger 1. Put some of the crew into the tank, fire a few rounds from all the MGs, fire the main gun last, let the main gun reload. Click on one of the crew you left outside and check the inventory of the tank, put his helmet in the inventory(It can be anything, it's just to help find the tanks inventory). I'll call this save "dads", so "save-as" "dads". Exit the Editor. Sometimes this is the hardest part, locate the mission file. This is the path on my computer,
F:\Steam\steamapps\common\men of war\resource\map\single\1\1-dubovka
You would find "dads.mi' file. Now backup this file and put it somewhere. Open this file with notepad and scroll down, you would see this
Code:
{Entity "pz6e" 0x8157
{Position 4968.29 2716.58 37.55}
{xform zl 157.42 y 3.03 zw 72.27}
{TexMod
{"/entity/-vehicle/tank_heavy/pz6e/pz6" "2"}
}
{Volume "ram"
{able {visible 0}{bullet 0}{obstacle 0}{contact 0}{contact_ground 0}{blast 0}{select 0}{touch 0}}
}
{Extender "enumerator"
{number 358}
}
{Player 1}
{MID 146}
{Weaponry
{State "gun"
{Weapon "88mm_kwk36" filling "bullet88" "fg" "ammo"}
}
{State "mgun1"
{Weapon "mg34" filling "mgun" "ammo" 98}
}
{State "mgun2"
{Weapon "mg34" filling "mgun" "ammo" 98}
}
}
}
{Human "single/ger/tank_com" 0x8159
{Position 4928.55 2758}
{xform zl -112.58 y 3.03 zw 72.27}
{Extender "vitality"
{Energy 89.5}
}
{Player 1}
{MID 147}
{NameId 90 60}
}
Now change it to this,
{Entity "pz6e" 0x8157
{Position 4968.29 2716.58 37.55}
{xform zl 157.42 y 3.03 zw 72.27}
{TexMod
{"/entity/-vehicle/tank_heavy/pz6e/pz6" "2"}
}
{Volume "ram"
{able {visible 0}{bullet 0}{obstacle 0}{contact 0}{contact_ground 0}{blast 0}{select 0}{touch 0}}
}
{Extender "enumerator"
{number 358}
}
{Player 1}
{MID 146}
{Weaponry
{State "gun"
{Weapon "88mm_kwk36" filling "bullet88" "fg" "ammo"}
}
{State "mgun1"
{Weapon "uber_browning" filling "bullet40" "zenite" "ammo" 999999}
}
{State "mgun2"
{Weapon "uber_browning" filling "bullet40" "zenite" "ammo" 999999}
}
}
}
{Human "single/ger/tank_com" 0x8159
{Position 4928.55 2758}
{xform zl -112.58 y 3.03 zw 72.27}
{Extender "vitality"
{Energy 89.5}
}
{Player 1}
{MID 147}
{NameId 90 60}
}
Now scroll down until you see,
{Inventory 0x8157
{box
{clear}
{item "mgun" "ammo" 2925 {cell 0 0}}
{item "bullet88" "ap" "ammo" 49 {cell 2 0}}
{item "mg34" filling "mgun" "ammo" 98 {cell 0 2}{user "mgun"}}
{item "fieldcap1_ger" {cell 2 5}}
{item "bullet88" "fg" "ammo" 26 {cell 0 7}}
{item "bullet88" "fg" "ammo" {cell 1 4}}
{item "bullet88" "ap" "ammo" {cell 0 1}}
}
}
{Inventory 0x8159
{box
{clear}
{item "pistol" "ammo" 40 {cell 0 0}}
{item "m24" "grenade" {cell 2 0}}
{item "m24" "grenade" {cell 4 0}}
{item "mp40" {cell 0 1}}
{item "tank_cap1_ger" {cell 4 1}{user "head"}}
}
}
Now change into this
{Inventory 0x8157
{box
{clear}
{item "mgun" "ammo" 2925 {cell 0 0}}
{item "bullet88" "ap" "ammo" 150 {cell 2 0}}
{item "uber_browning" filling "bullet40" "zenite" "ammo" 999999 {cell 0 2}{user "mgun"}}
{item "fieldcap1_ger" {cell 2 5}}
{item "bullet88" "fg" "ammo" 150 {cell 0 7}}
{item "bullet88" "fg" "ammo" 150 {cell 1 4}}
{item "bullet88" "ap" "ammo" 150 {cell 0 1}}
}
}
Now if you were using my examples you would save-as dads and over-write the file. Start the Editor and load up the mission, if you did everything right you should find your tank. Give that a try and let me know. Remember to backup the files, if you over-write an original file and you didn't back it up it's changed unless you reinstall. Good Luck!
|