View Full Version : adding stuff to inventary
luca.azzo
06-06-2010, 23:44
hi to all, my first post :) please don't kill me for my bad english eh :P
anymway, i've tried to add some stuff to opel 6700, for the first time all is ok, the stuff is in the inventory, but when i win the mission and press "reset selected to default loadout", then all stuff io gone, and i've nothing in the inventory. What i can do for replenish the inventory after every battle?
Lykurgos
08-06-2010, 19:05
Everything you want from your Opel, transfer to another vehicle that you will not be resetting the load-out for, or give to infantry if possible.
What I do, is keep a (stolen) Ford in order to stash spare ammo, grenades, med-kits etc. I never refresh the load-out on it, and I use it exclusively for storage purposes. This means I can refresh the load-out of all other vehicles without losing any valuable kit. All I need to do is top up the gas now and then, which is easy to do from knocked out enemy vehicles.
luca.azzo
11-06-2010, 11:49
maybe i'm not explaining myself very well. so i'm sorry :) i've modified the "vehicle.xml" file, to add some stuff to opel. When i play my very first mission, the stuff that i've added is in the inventory but, when i win the mission and go to the DCG screen for select the new troops, and i want to replenish the "modified" opel inventory, the only thing i get in the second mission is an empty inventory
Zeke Wolff
11-06-2010, 12:19
You need to modify the actucal vehicles .def file, not the vehicle.xml file. By using the option "reset to default", the vehicle is reseted to it´s default loadout, specified in the .def file and nothing else.
~Zeke.
Miiikeee
11-06-2010, 17:22
Cheers for the info Zeke!
luca.azzo
12-06-2010, 10:10
yes i've also mod the .def file, but in this case the whole inventory is empty, even in the first mission
Zeke Wolff
12-06-2010, 19:42
Hmmm... strange... could you please post our altered .def file? If you´ve made it right, it should work correctly when using the "reset..." button in DCG.
~Zeke.
luca.azzo
12-06-2010, 21:14
i've find the way, but i must make a new vehicle, a perfect copy of 6700 blitz and then all work 8O
Zeke Wolff
12-06-2010, 21:32
That you shouldnt need to do. All I do when I mod a vehicle, without actually changing anything else but the .def file, is to copy the vehicle folder into my DCG copy. Then I delete everything inside the folder except for the .def file.
~Zeke.
if you are changing a unit an attempting to place it in the Game directory, the .pat files will override your changes.
To have an altered unit show up it has to be set into a mod, and this mod has to be activated.
You have two choices change the file inside the DCG mod or create a separate mod that you can enable with any future versions of DCG allowing you to keep track of your changes.
The other thing to keep in mind is if you have more than one mod enabled and they have the same unit names but variations of them, then the one that will show up in game will be the one with the higher priority, from the tests that I have done they are all loaded but alphabetical order is the order of priority.
To allow different units I have a mod named custom, in here is where I put all my changes this way as different versions are tested I do not have to keep adding them in.
Ammo types, ranges, rates of fire, load outs, any other tweaks that I want to keep but do not want to have to keep adding back in. For those who would prefer to adjust their game I suggest doing this, as long as you keep the units that you change compatible with the mod you wish to change. If for example you have a CustomDCG, and you want to also enable another mod, that has units that DCG does not, when you not longer enable the other mod the changes that you have added may cause a crash So do changed one at a time test slowly, and good luck.
Plasmatix
13-06-2010, 15:08
While I can't pretend to know more than you Trog, but I have successfully modded vehicles (with the .def) without making mods for them..
Say I wanted to change the Cruiser Mk III I just place my modded .def file inside:
E:\Games\Men of War\mods\Campaign\resource\entity\-vehicle\tank_medium\cruisermk3
and it works fine..
It's no harder than it is finding the .def file.
or did I misunderstand your post?
Zeke Wolff
13-06-2010, 19:49
Yes you did... what Trog described, is basically what you are doing yourself... but what the..... you are modding my Cruiser Mk3??!!?? Rrrrrrrrrrgggggghhhhh!!! Du din fuling! ! :realbig:
~Zeke.
Plasmatix
13-06-2010, 21:57
Nejdå, din stridsvagn är som den ska, tog den bara som exempel.
Maybe I misunderstood Trogs post, it just sounded a lot more complicated :P
Yes what offered up is complicated, but if you can adjust the .def files, I am sure that only starts you modding other things, What I suggested was to have custom mod so that your tweaks do not mess up a working mod you can disable your mod to see if that was what caused any problems vs adding to the DCG folder and if anything got messed up now you have to track it down thru all the files rather than just a hand full of files that you have tweaked.
It requires work up from but will save time in the long run.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.