PDA

View Full Version : Simpler change


kane1
08-02-2009, 07:16 PM
I discovered a little while ago that you don't have to change everything in a saved game file to get what you want. Sometimes all you have to change is the name. For example, if wanted to give your enemy a better tank all you have to do is look for "{SpawnedInFog}".

{Entity "pz4g" 0xc05a <<<<>>> just change "pz4g" into "jagdtiger"
{Position -6009.76 2111.14 113.25}
{xform zl 92.66 y 2.3 zw -90.87}
{SpawnedInFog}
{Volume "ram"
{able {visible 0}{bullet 0}{obstacle 0}{contact 0}{contact_ground 0}{blast 0}{select 0}{touch 0}}
}
{Interaction
{Calls
{"start_check_sinking" 2334 -1574.81}
}
}
{Player 2}
{Operatable}
{MID 700}
{Chassis
{MovementSpeed 0.0893333}
}
}

When the new vehicle spawns it should have the default inventory for that tank. You can do the same thing for your vehicles but sometimes the inventory doesn't change, and when you change tanks you keep the original crew. The only thing that would mess this up is if the original tank was doing something when the game was saved. Like reloading.
Don't forget to backup the file.