editor directly accessable inventory limited to 602 entries of buildings.csv
The editor can only access 602 entries from buildings.csv directly; entries beyond that are ignored.
How can this be changed?
The editor can only access 602 entries from buildings.csv directly; entries beyond that are ignored.
How can this be changed?
If you download my expansion pack and install it on top of your MC2 installation (CD or Source code Version) you can experience it. It is not about that one file buildings.csv. As you know better than I do it needs a different mc2res.dll and objects2.pak and buildings.cvs and all the art, tgl, csv files to back it up with content.
I positioned the inventory in buildings.csv by a priority I selected to enable me to position most inventory directly on a map. Everything in the categories "small stuff" and "destroyable road" as well as "dummy objects" can not be selected directly because it is below the 602 mark in buildings.csv. I only put one item (razor wire fence) as accessable.
In case you want to give it a try: ![]()
http://www.wolfman-x.net/missions/wolfman-x.exe
I found a solution but I would like to understand why the original entries had been coded like they were. ![]()
It works if you change three lines in ...\source\editor\editorinterface.cpp to:
if ( currentBrushID >= IDS_OBJECT_200 && currentBrushID <= IDS_OBJECT_200 + 1200 )
if ( currentBrushID >= IDS_OBJECT_200 && currentBrushID <= 43000 )
if ( specificMessage >= IDS_OBJECT_200 && specificMessage <= 43000 )
Why had the original values (600 and 30800) been selected ?