![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 |
Grey Wolf
![]() Join Date: May 2008
Location: DB85
Posts: 804
Downloads: 166
Uploads: 0
|
[REQ] (S3ditor) Can anybody help me create .dat file?
I'm thinking about creating "All Nations-All Flags" mod but, even after trying hard, can't figure out how to modify flag.dat file.
I tried to compile list of countries even remotely involved in WW2 and create one big flag.dat file for all future modders so there will be no need to add to flags.dat or create additional flag2.dat, flag3.dat etc So far I have hi-res flags for these countries: Albania Albania (merchant) USA Argentina Argentina (merchant) Australia same as Britain Australia (merchant) Bahrain Belgium Belgium (merchant) Bolivia Bolivia (merchant) Brasil Britain Britain (merchant) Bulgaria Bulgaria (merchant) Canada same as Britain Canada (merchant) Chile China Columbia Columbia (merchant) Costa Rica Croatia Croatia (merchant) Cuba Czech Republic Denmark Denmark (merchant) Dominican Republic Egypt Egypt (merchant) El Salvador Estonia Estonia (merchant) Ethiopia Fiji Fiji (merchant) Finland Finland (merchant) France Free French Free French (merchant) Germany Germany (merchant) Guatemala Guatemala (merchant) Greece Greece (merchant) Haiti Haiti (merchant) Honduras Honduras (merchant) Hungary Hungary (merchant) Iceland Iceland (merchant) Iraq Ireland India same as Britain India (merchant) Italy Italy (merchant) Japan Japan (merchant) Latvia Latvia (merchant) Liberia Lithuania Lithuania (merchant) Luxembourgh Mexico Netherlands Newfoundland same as Britain Newfoundland (merchant) New Zealand same as Britain New Zealand (merchant) Nicaragua Norway Norway (merchant) Philippines Palestine (merchant) Panama Paraguay Peru Poland Poland (merchant) Portugal Red Cross Romania Romania (merchant) R.S.I. R.S.I. (merchant) Saudi Arabia Slovak State South Africa South Africa (merchant) Spain Spain (merchant) Sweden Sweden (merchant) Syria Thailand Thailand (merchant) Turkey Uruguay Soviet Union Soviet Union (merchant) Venezuela Venezuela (merchant) Yugoslavia Yugoslavia (merchant) Here is a sample: ![]() If somebody just helped me to create the file i would really appreciate it. Also, any suggestions for additional countries would be appreciated. Thanks!
__________________
![]() |
![]() |
![]() |
![]() |
#2 |
Nub
![]() Join Date: May 2009
Posts: 2
Downloads: 181
Uploads: 0
|
![]()
Good afternoon! Sorry for my bad English. There are no problems to make one file - Flags.dat. But there is no any sensein it. The positive effect is absent.
|
![]() |
![]() |
![]() |
#3 |
Grey Wolf
![]() Join Date: May 2008
Location: DB85
Posts: 804
Downloads: 166
Uploads: 0
|
![]()
There is a sense behind this mod: If you have all the nations involved in one flag.dat file then any future modders wanting to add additional nation to their mod can just "tap" into nation already in it.
Also, I was planning on releasing, besides the .dat file, all flags' .dds and also recognition manuals' .dds Unfortunatey, I'm failing miserably in creating the .dat file in S3ditor.
__________________
![]() |
![]() |
![]() |
![]() |
#4 |
Ocean Warrior
![]() Join Date: Jan 2008
Posts: 2,909
Downloads: 77
Uploads: 11
|
![]()
What problem are you having? Are you copying the flag nodes and then assigning a material, with new flag graphic to the object?
EDIT: You may get a better response posting this in the SH4 Mod forum instead.
__________________
-------------------------------- This space left intentionally blank. |
![]() |
![]() |
![]() |
#5 | |
Grey Wolf
![]() Join Date: May 2008
Location: DB85
Posts: 804
Downloads: 166
Uploads: 0
|
![]() Quote:
I know how to assign new graphics to the object but the structure of the .dat file is complete mystery to me.
__________________
![]() |
|
![]() |
![]() |
![]() |
#6 | |
Admiral
![]() Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
|
![]() Quote:
The other nodes are for the mesh and animation. Some countries have two flags, one civilian and one military and usually have an m or a C somewhere in the name. Picture one shows the Material/texture or the picture of the flag. Notice at the right side there is a place to import/export the image. ![]() The next picture is with the FLG node selected. Notice the Material Box has the material from the other picture which you put in using the "Add" button. If you click the "3D Model" node you will see the ID listed at the top of the window for the 3D model is the number after "Model ID" ![]() So to make a new flag you can copy an existing flag and then you need to import a new image and change the name "Japan" and give the nodes new IDs. Here is dat file file I used in the example, you can play with your own flag images and then do a Remap IDs and import the dat into the flag.dat using "File/Import/dat file" and do it again with another flag. http://www.filefront.com/15665911/Flagtemplate.dat Peabody
__________________
System Spec: Gigabyte GA-965P-DS3, PentiumD Dual Core Presler 945 3.4Ghz, Gigabyte Geforce 7600GS, 2-1GB Corsair XMS2 800Mhz in Dual Channel, 2-WD 250 SATA 3Gb/s, Onboard Realtek HD 7.1 Audio, DVD ROM, DVD burner, Hiper 580 Watt Power supply, WinXP SP2. |
|
![]() |
![]() |
![]() |
|
|