Theater developmental notes switch everything under data w/TDF
-
While working with Chuckles and Ranger on A theater some news was rediscovered that everything under the data folder is switchable.
This was news to me, I would like to know the line to switch particlesys file but i havent had any luck so farso the trick is knowing the right lines to put into tdf. I know some but if anyone knows more let me know and we will have a list of all known switches.
I will also check Arty’s HotlistI want this to be a list of all known tdf switches any help is appreciated:p
Tacrefdir
Cockpitdir
terraindir
tileset
artdir
moviedir
uisounddir
objectdir
misctexdir
3ddatadir
sounddir
splashdir
simdatadir
subtitlesdirMusicdir is in art folder
Nordic TDF file
shown in the pick list
name Nordic Theatre
Title shown on theater page
desc Chuckles and Starrat’s Nordic Theater Alpha 1.3
bitmap to display on theater page
bitmap Add-On Nordic\Terrdata\theaterdefinition\Nordic.tga
in general, you can miss out most of these, and it
will use the default, unless another theater changes it
so probably best to put in explicitly.
Where the campaign directory is
Campaigndir Add-On Nordic\Campaign\NTO
where the terrain data is
terraindir Add-on Nordic\Terrdata
which tileset to use - overrides the global setting in the cfg file
tileset Ranger822
where art is loaded fromMusic directory files are in the art folder.for custom music
artdir Add-on Nordic\art\NTO-art
splash screens
splashdir Add-on Nordic\art\NTO-art\art\splash
movies
moviedir Add-on Nordic
default objects
objectdir Add-on Nordic\Terrdata\objects
misc textures - ACTIVATED THIS SINCE WE HAVE MISCTEXT
misctexdir Add-On Nordic\Terrdata\misctex
3d object files
#3ddatadir Terrdata\objects
3ddatadir Add-on Nordic\Terrdata\objectsminimum tacan channel
mintacan 1
sounds dir
sounddir Add-on Nordic\sounds
simdata dir
simdatadir Add-On Nordic\Sim
use double resolution 2D UI map - PLACEHOLDER FOR LATER
doubleres2dmap 1
Theater specific tacref dir
tacrefdir Add-On Nordic\Terrdata
Tacrdata directory
#TACRDATAdir Add-On Nordic\art\NTO-art\art\TACRDATA
Theater specific cockpit dir
cockpitdir Add-on Nordic\art\NTO-art\art\ckptart
Theater specific subtitles for atc tower etc
subtitlesdir Add-on Nordic\sounds
Music isnt directly directed from tdf, the tdf directs the art folder and files in art folder direct the music.
I found this out on Demer’s Guam theater the only one i found with custom music. there may be others but i stopped looking once i found it.
-
TacRefdir? It might resemble a ‘link’ to the Tactical Reference menu - is it ever possible?
On my little own, this is the very first time I’m seeing something like that in a .tdf file, I thought that was created automatically.
Or something. Sorry, I didn’t helped you, I’m afraid.With best regards,
-
hello jackal. tacrefdir switch is trying to work but i dont think ihave the tacref addons lined up right. or may be it needs another switch pointing at tacref.bin add on file. the reason i am sure it will work if done properly is the tacref info disapeared in my add on when i add this switch. also i might need to alter the .irc file. in tacref add on folder. still testing it out. cheers
-
Iirc, particalsys.ini is per bms install, you cannot change it per theater.
Lightning has collected the definitions in the tdf file, might help you out: https://svn2.assembla.com/svn/lightningstools/trunk/F4Utils/Terrain/TheaterDotTdfFileReader.cs
Not sure if all are covered. -
Particle.sys is not per theater.
-
Ok So thats one shot down. PSys mods will all ways be backup file or f4patch. I was told this before by Arty and then i checked out the Psys mod he made in a patch. Its just recently i was told everything under data is switchable. Tacref.bin is sitting there next to Psys so i hope its not the same case with that.
Has anyone out there ever set up the tacref switch? I still havent got it right but im still working on it.
EDit: Its working now
-
I updated first post to show we finally got a tacrefdir working and a sounddir for ATC and such. and Tom’s Ostsee theater showed me the splashdir that is needed (its not automatically loaded from art folder.)
the Nordic tdf example on post1 will change again if anything new is realized by me.
-
Updated first post again to show how to add costom music (ogg converter was used to change sound files to .ogg)
This nordic example has a slightly strange directory because of double theater feature, but the point is that sound directory is adjusted in art folder.
-
Updated first post for subtitles…
If you adjust airbase names in audio (tlk file) and add-on still reads csv from default kto, you need this line …subtitlesdir Add-on xxx\sounds
And of course you also need your own adjusted csv file in your add-on sounds folder
-
Looking for correct theater specific switch for “tacRData” folder.
Past process was to add picture’s theater specific address before name in bin file with sky fire.
Now how do we point to correct pictures with this xml file?
The above line in example (that is canceled out with #) is not working.
I guess that is why it’s canceled out… -
Looking for correct theater specific switch for “tacRData” folder.
Past process was to add picture’s theater specific address before name in bin file with sky fire.
Now how do we point to correct pictures with this xml file?
The above line in example (that is canceled out with #) is not working.
I guess that is why it’s canceled out…i think this line in TDF is correct.
Tacrdata directory
TACRDATAdir Add-On Peru\art\TacRData
the <pic name=“”>points to correct pic in Art\TacRData
<tacrefdata num=“419”><maindata><categoryid>8100</categoryid>
<subcategoryid>8110</subcategoryid>
<classtable>163</classtable>
<parentrecord>0</parentrecord>
<zoomadjust>0</zoomadjust>
<offseth>0</offseth>
<offsetv>0</offsetv>
<missileparentrecord>0</missileparentrecord>
<name>MiG-29A Fulcrum</name>
<picname>MIG29A</picname></maindata></tacrefdata>i think… my pic have incorrect TGA format - 16 bit?</pic>
-
Your pic was indeed wrong format, but did you get blank like me when trying to read from Peru?
It showed up distorted when I dropped it in kto TacRData folder, then I changed it to 16 bit.
It looks fine. But if I put in Peru TacRData folder, I can’t get it to show at all
. I tried adjusting Tdf line in different ways and art files to read from Peru directly.
No joy so far. -
my test…
if i place your test pic in main BMS Art\TacRData folder, i can see them show up in new theater/tacref page.
if i place test pic new theater\art\tacRData folder, them won’t show up in new theater/tacref page.
Obviously this pointer line is not working… TacRef finds pic in main BMS\art\tacrdata folder.
Tacrdata directory
TACRDATAdir Add-On XXXX\art\TacRData
-
I concur. This line isn’t working for me either.
The picture’s address used to be able to be linked to terdata/tacref.bin.Now that it’s tacref.xml, I’m not sure what line to add , or even if address of pic can be added.
I made a post on @technical issues thread too.
Haven’t tried Obi1’s Hail Mary shot at adding entire address yet.
But I will try that later or any other suggestions.