Corralandy120000 Posted February 19, 2023 Posted February 19, 2023 Hi. I'm doing some tweaks to the game. I'd like to ask if someone knows where are the tactical codes scripted? I've browser through luascripts and graphics and worldobjects files but I wasn't abe to find IT anywhere. I'd like to allow the first field of code to be ale acces the whole plateau (not only commander's arrows) so I can create the two digit codes like 13 etc. It affects mainly 109s aneld 190s, 262 is ale to have two digit codes. Aby ideas please? I think I will be ale to mod IT, if I will fond where it's scripted. Tanks.
czech693 Posted February 19, 2023 Posted February 19, 2023 (edited) They are in data/(null)/graphics/textures/common If you're not familiar with the (null) folder, it is created when you unpacked the .gtp folders using the unGTP program. Edited February 19, 2023 by czech693
Corralandy120000 Posted February 20, 2023 Author Posted February 20, 2023 I know where the files are and I'm falmiliar with it. I'm aslo familiar with squadron_codes. But it doesn't solve the issue. I'd like to use the whole possibility od numbers and letters on the textures in the first field of the tactical codes on 109/190 so I can do codes like "yellow 13" etc. The stock game only allows you to use first few symbols (Commander arrows and triangle), not the number or letters in that field. They can be used only in the second and third field. On 262, u Can use numbers and letters on all there fields od tac code. So i suppose, it's aircraft related. I've looked to the bf109xx.txt files in wolrdobjects, but I just can't že it there.... Any hints?
Skycat1969 Posted February 20, 2023 Posted February 20, 2023 I keep seeing AI Fw190 flights with three letter codes. I think maybe they are getting treated as bombers? I know that doesn't answer your question but it does suggest there is some fluidity to how the codes are assigned to the models.
Corralandy120000 Posted February 21, 2023 Author Posted February 21, 2023 On 2/20/2023 at 5:34 PM, Skycat1969 said: I keep seeing AI Fw190 flights with three letter codes. I think maybe they are getting treated as bombers? I know that doesn't answer your question but it does suggest there is some fluidity to how the codes are assigned to the models. I've tried it on 190 again, but I wasn't able to get there letters code as u mentioned above. So I don't know how that Can be dobe.
czech693 Posted February 22, 2023 Posted February 22, 2023 I think it can be done by modifying the fw190xx.txt file. If you compare say the Fw190a8 versus the SpitfireIXe you'll see that the spit has four codes positions for the American SpitfireIXe as opposed the the RAF having only three. The Fw only has three also. There also three nationalities for the SpitfireIXe so that gives more things to look at. I've been studing the Spitfire and Fw code arrangements and trying to decipher what the symbols mean and what the positions mean. Also, I found out previously that while these .txt files are in the (null) folder, you have to move any modified file into the regular data folder for a change to show up (I came across this when I changed the USAS codes to French in FC). Assuming you want four codes for an attack Fw, I looked at the Stuka, which has four codes, and have been comparing it to the Fw. I thought that the #$%& might represent the Lw fighter stab codes, but that's present on the Spitfire, so that 'aint it. I think the secret lies in TacticalCharArg3=74 and plan on moving that into the Fw file with a corresponding TacticalChars=3,103,"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ","01234" line to see if that does anything. I wish there was a glossary on the functions and codes. 1
czech693 Posted February 22, 2023 Posted February 22, 2023 (edited) Here's a start. https://www.mediafire.com/file/7ukarp3kfwx22mc/Fw190A8_2-place_number.JPG/file Unfortunately this is only a first look. The number appears reversed on the other side (91). I copied and pasted the tactical code section from the Stuka and pasted on the Fw. I tried a four letter code, SKOU. The SK were reversed on the other side and the U never appeared. The panel on the fusalage must be to small (The code numbers and letters were way bigger than on the Stuka. So, something changes the size, maybe the panel size). I'm thinking copying the code section from the Spitfire might be a better starting point. Would have to alter the codes so that it points to LW. Edited February 23, 2023 by czech693 2
Corralandy120000 Posted February 23, 2023 Author Posted February 23, 2023 Many thanks, both of you. I'll try to look at this in upcomming days and I'll see If I can come up with something
Corralandy120000 Posted February 23, 2023 Author Posted February 23, 2023 (edited) 17 hours ago, czech693 said: I think it can be done by modifying the fw190xx.txt file. If you compare say the Fw190a8 versus the SpitfireIXe you'll see that the spit has four codes positions for the American SpitfireIXe as opposed the the RAF having only three. The Fw only has three also. There also three nationalities for the SpitfireIXe so that gives more things to look at. I've been studing the Spitfire and Fw code arrangements and trying to decipher what the symbols mean and what the positions mean. Also, I found out previously that while these .txt files are in the (null) folder, you have to move any modified file into the regular data folder for a change to show up (I came across this when I changed the USAS codes to French in FC). Assuming you want four codes for an attack Fw, I looked at the Stuka, which has four codes, and have been comparing it to the Fw. I thought that the #$%& might represent the Lw fighter stab codes, but that's present on the Spitfire, so that 'aint it. I think the secret lies in TacticalCharArg3=74 and plan on moving that into the Fw file with a corresponding TacticalChars=3,103,"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ","01234" line to see if that does anything. I wish there was a glossary on the functions and codes. I seem not to be able to find the lines you're reffering to. Can u please tell me the exact path and line refference? Thanks My TXT files don't seem to have anything like TacticalCharArg or TacticalChars... Am I Iooking in a wong file ? Luascripts/wolrdobjects/planes/***.txt? Edited February 23, 2023 by Corralandy120000
czech693 Posted February 23, 2023 Posted February 23, 2023 (edited) You'll find them in the (null) folder. They will be in the (null)/graphics/textures/common/tacticalcodes_lw.dds. The (null) folder is created when you unpack the .gtp files using unGTP. However, these are just the code palettes. To change the layout of the codes you need to go to data/(null)/graphics/planes/fw190a8/fw190a8.txt. Make a copy of that file (or whichever aircraft you're trying to change) and paste it into data/graphics/planes/fw1908a folder (in the main sim folder). Make your modifications in that file. If you modify it in the (null) folder it won't show up in the sim. I'm going to try using the US code layout as it doesn't reverse the codes like the RAF layout does (RAF reverses the double letter squadron code on the right side). But, I can't find where the change in layout is programmed. So, I'm still experimenting. Edited February 23, 2023 by czech693
Corralandy120000 Posted February 23, 2023 Author Posted February 23, 2023 5 minutes ago, czech693 said: You'll find them in the (null) folder. They will be in the data/(null)/graphics/textures/common/tacticalcodes_lw.dds. The (null) folder is created when you unpack the .gtp files using unGTP. I'm going to try using the US code layout as it doesn't reverse the codes like the RAF layout does (RAF reverses the double letter squadron code on the right side). But, I can't find where the change in layout is programmed. So, I'm still experimenting. Thanks, I found it. I'm gonna try some tings myself and I'll let you know
Corralandy120000 Posted February 23, 2023 Author Posted February 23, 2023 1 hour ago, czech693 said: You'll find them in the (null) folder. They will be in the (null)/graphics/textures/common/tacticalcodes_lw.dds. The (null) folder is created when you unpack the .gtp files using unGTP. However, these are just the code palettes. To change the layout of the codes you need to go to data/(null)/graphics/planes/fw190a8/fw190a8.txt. Make a copy of that file (or whichever aircraft you're trying to change) and paste it into data/graphics/planes/fw1908a folder (in the main sim folder). Make your modifications in that file. If you modify it in the (null) folder it won't show up in the sim. I'm going to try using the US code layout as it doesn't reverse the codes like the RAF layout does (RAF reverses the double letter squadron code on the right side). But, I can't find where the change in layout is programmed. So, I'm still experimenting. Ok. So I've tried every combination I could think of, even taking code from 262, where the mirroing woks. But it's still reversed. Layout has to be stored somewhere else. It seems to be connected to -1 at the begining of the code lines, though. When I replaced -1 with 102 (wich I found in RAF code) the numbers where mirrored corectly, but I couldn't choose any, no possibiletes were displayed when I click on the ui.
Corralandy120000 Posted February 23, 2023 Author Posted February 23, 2023 Anyway czech693 where are u from from? Do u speak Czech, or it's just a nick?
czech693 Posted February 26, 2023 Posted February 26, 2023 Just a nickname, used to be Czech6. I was born on Guam. My dad and grandma used to speak Czech when they didn't want us to know what they were talking about. Great grandparents on my father's side came from Moravia in 1873 and settled iin Texas. Lots of Czech and German descendents in this part of Texas. We have Kolache bakeries all over the place. Best one is in Snook. Also the best sausage.
Corralandy120000 Posted February 27, 2023 Author Posted February 27, 2023 (edited) 19 hours ago, czech693 said: Just a nickname, used to be Czech6. I was born on Guam. My dad and grandma used to speak Czech when they didn't want us to know what they were talking about. Great grandparents on my father's side came from Moravia in 1873 and settled iin Texas. Lots of Czech and German descendents in this part of Texas. We have Kolache bakeries all over the place. Best one is in Snook. Also the best sausage. Nice. I never know there's something like this in US. I ask becasue I live in Slovakia. Anyway, have u find something new about the layout of codes? I tried nearly any possible option and combination, but nothing seems to work. It seems the Linea I'm working with doen't have any influence on how the code's position is translated. Edited February 27, 2023 by Corralandy120000
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now