03-23-10, 04:33 PM
|
#1
|
Silent Hunter 
Join Date: Feb 2008
Location: Milan Italy
Posts: 4,999
Downloads: 114
Uploads: 18
|
[TEC] Adding Playable Units
First of all you need to copy the following files (here the Narwhal will be used as a template) :
Quote:
f you need help, let us know, I'm sure there are several that would be available including myself.
Since you are familiar with some of this I will try a condensed version.
Set up a folder to make a MOD with Data folder inside. And I will list the files you need.
1. Find a sub that is similar in number of tubes, guns etc so it will be that much easier to do. I'll use Porpoise, you can follow the directions using any other sub. Create the same folder structure as where the files come from.
2. Data/Submarine/NSS_Porpoise....copy the entire folder.
3. Data/Roster/American/Submarine/SSPorpoise.cfg
4, Data/Menu/Data/SubmarineClasses/P_Class_01.dds
5. Data/UPCData/UPCUnitsData/Unitparts2Porpoise.upc
6. Data/Objects/Conning_P_01.dat, .sim, .val, .cam, .zon
That should do it for copying files.
Now editing:
One major thing to remember is the classname must match in each file they are in.
Start with Data/Roster/American/Submarine/SSPorpoise.cfg
[UnitClass]
ClassName=SSPorpoise Very Important
UnitType=200 200=submarine, leave it
AppearanceDate=19350815 change if necessary
DisappearanceDate=19451115
DisplayName=US Porpoise Change
[Texture 1]
TextureName=data/Submarine/NSS_Porpoise/NSS_Pclass_T01.tga
LightmapTextureName=data/Submarine/NSS_Porpoise/NSS_Pclass_O01.tga
StartDate=19350815
EndDate=19430512
Frequency=1
Change the info in green and continue if there is a second texture, reset dates as needed.
Below this is the names used for the subs in that class, you can have one or as many as you want.
[Unit 1]
Name=USS Porpoise
DOC=19350815
DOD=19451115
[Unit 2]
Name=USS Pike
DOC=19351202
DOD=19451115
************************************************** *******
I have to leave for a while, will complete when I return
Peabody
|
please bear with me as I am trying to remake the part of the original tutorial deleted by Mykhail.
keltos
__________________
"Honorable Builder of Sinking Ships"
Last edited by keltos01; 03-23-10 at 05:24 PM.
|
|
|