Tool to display Squadron Patches with their proper ID #?

F4Browse, CATE, Tacedit, Terrainview & TheaterMaker etc utility related

Moderators: Lone Wolf, Snake Man

Post Reply
User avatar
Sherlock
Lt. General
Posts: 1167
Joined: 2006-05-24 22:01:01
Gaming Interests: Falcon 4.0
Editing Interests: All, I (try) to edit everything.
Location: Arizona, USA

Tool to display Squadron Patches with their proper ID #?

Post by Sherlock » 2009-06-14 00:44:58

Just wondering if anyone has ever seen an F4 tool to open the RSC/IDX files that contain the squadron patches (displayed in the 2D UI at Campaign start) and which correlates it to the ID number used by the campaign engine so the proper one can be selected for use in TacEdit?

If not, are there any programmers out there that would like to take a shot at creating a tool to accomplish this? :)
Sherlock
Victurous te Saluto

User avatar
Phoenix711
Captain
Posts: 186
Joined: 2007-10-03 07:52:29
Location: Istanbul Turkey
Contact:

Re: Tool to display Squadron Patches with their proper ID #?

Post by Phoenix711 » 2009-06-14 08:49:10

ImageIds.id file can be opened via notepad and possibly is the answer to your question.

The number is calculated in which order you put in the IRC file.

The imageids.id file, in the art folder (of your campaign of course) should be like:

_101TR_ 70001
_111TR_ 70002
_112TR_ 70003

Remember, there are maximum 58 indexes you can use as squadron index. The others, are being searched by their name, if the given index is none.

Correct me someone if I'm wrong please.

Extract art\patches.idx with perl,

Code: Select all

procidx1.pl patches.idx
then delete the old patches, then put in your own patches to the folder, with the same names as you state in the imageids.id file, like

[LOADTRANSIMAGE] _101ST_ "_101ST_.tga" 48 48
[LOADTRANSIMAGE] _111ST_ "_111ST_.tga" 48 48
[LOADTRANSIMAGE] _112ND_ "_112ND_.tga" 48 48

And compress it back using Perl.

Code: Select all

irc2res1.pl patches.irc 
command

This way, you can use TACEdit to give squadrons their patches. For this scenario (which is in fact first three squadron patches for Aegean)

0 is used for 101 st TUAF squadron
1 is used for 111 st TUAF squadron
2 is used for 112 st TUAF squadron


Writing a tool for this is somewhat hard, since it includes idx, rsc formats together with TAC file which should be edited.

After some work, you will see that perl is easy to use. In fact it is just commands.

Regards.

Note: I think you already know this. But since we have no tool for this, maybe someone can get use of this info.

User avatar
Sherlock
Lt. General
Posts: 1167
Joined: 2006-05-24 22:01:01
Gaming Interests: Falcon 4.0
Editing Interests: All, I (try) to edit everything.
Location: Arizona, USA

Re: Tool to display Squadron Patches with their proper ID #?

Post by Sherlock » 2009-06-14 22:51:40

Thanks Phoenix...that's helpful. IMO it would still be better to have tool that opened the RSC file and showed the patches versus the "squadron" number so you could take screenshots of what is in the RSC file and then use those ID numbers when bulidng a campaing in TacEdit to match up the squadron names OR to put in the proper patches required as you pointed out how to do it.

I knew most of that but the part about the imageids.id file being the file to edit is something I would have had to "hunt" for and figure out. You saved me the time on that one. CHeers! Image
Sherlock
Victurous te Saluto

User avatar
DoctorX
Recruit
Posts: 38
Joined: 2009-06-04 02:15:18
Gaming Interests: Falcon 4.0
Editing Interests: All, I (try) to edit everything.

Re: Tool to display Squadron Patches with their proper ID #?

Post by DoctorX » 2009-06-27 22:49:33

An easier way to do it is to set the squad patch to 0 - then it will choose the patch according to the squadron name.

Here are all of the squadron patches for the default Korea theater:
http://rapidshare.com/files/249387359/K ... s.zip.html

Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests