15.07.2008, 16:55
It's actually pretty easy to clone an existing object and then alter the clone.
Step 1)
Use SFS extractor to find the files needed for the object you want to clone. Extract them and place them in (Using an airdrome object, such as a hangar or control tower, as an example):
NOTE: Change the "Airdrome" portion to whatever building type your object belongs to. It could be an Industrial, Furniture, Pacific, etc. I suggest you use the Map Mod Full Mission Builder
to figure out where to put your object. Each object already in the game is assigned a subtype. You should try to match your object with its appropriate subtype.
Step 2) Edit the files to your heart's desire, say changing the skin of a headquarters to add your squadron's emblem or designation. Save the files as the original file name so that you save over the ones you extracted from the sfs files in the root Il-2 folder ( Program Files/Il-2 Sturmovik/ etc..).
Step 3) Open your Static.ini and add an entry for your object. You can do this by copying an entry for a similar object, like another hangar, and replacing certain things with information specific to your object.
Example: Here's a hangar object which was already added by LAL_RONE:
All you need to do is change the entries I have highlighted in red to correspond to your object. So, change the first and second portions to the name of your object and then change the third and forth lines to reflect the location of your object's files within the MODS folder (you do not need to include any folder name before the 3do folder, only change what is in red).
Now, I've never actually done any of this, but I'm pretty certain this is all that is needed if you are only changing a texture. Anyone else out there who knows more on the subject, please correct me or add to what I've said if I've missed something or messed something up.
Step 1)
Use SFS extractor to find the files needed for the object you want to clone. Extract them and place them in (Using an airdrome object, such as a hangar or control tower, as an example):
Quote:YOURIL-2FOLDER/MODS/"whatever folder you want"/3do/Buildings/Airdrome/"folder for your object"
NOTE: Change the "Airdrome" portion to whatever building type your object belongs to. It could be an Industrial, Furniture, Pacific, etc. I suggest you use the Map Mod Full Mission Builder
to figure out where to put your object. Each object already in the game is assigned a subtype. You should try to match your object with its appropriate subtype.
Step 2) Edit the files to your heart's desire, say changing the skin of a headquarters to add your squadron's emblem or designation. Save the files as the original file name so that you save over the ones you extracted from the sfs files in the root Il-2 folder ( Program Files/Il-2 Sturmovik/ etc..).
Step 3) Open your Static.ini and add an entry for your object. You can do this by copying an entry for a similar object, like another hangar, and replacing certain things with information specific to your object.
Example: Here's a hangar object which was already added by LAL_RONE:
Quote:[buildings.House$Hangar_beton_vieux]
Title Hangar_beton_vieux
MeshLive 3do/Buildings/Industrial/Hangar_beton_vieux/live.sim
MeshDead 3do/Buildings/Industrial/Hangar_beton_vieux/dead.sim
Body RockBig
Panzer 0.34
All you need to do is change the entries I have highlighted in red to correspond to your object. So, change the first and second portions to the name of your object and then change the third and forth lines to reflect the location of your object's files within the MODS folder (you do not need to include any folder name before the 3do folder, only change what is in red).
Now, I've never actually done any of this, but I'm pretty certain this is all that is needed if you are only changing a texture. Anyone else out there who knows more on the subject, please correct me or add to what I've said if I've missed something or messed something up.