So one of the last things I wanted to do for TFTD was integrate weapons/clips for Gauss & Alien tech into one UFOpedia page, like so (just one example, same for all the rest):
Alas, I encountered a problem. See, TFTD pedia entries require distinct
images_id, whereas UFO/EU does not. I guess that's the problem? In UFO/EU, I simply make research of Laser Pistol unlock both weapon and clip for pedia and it displays just fine: the weapon with its statistics (fire mode, TU, accuracy) and the clip with its power value and damage type all on the same page. This is basically the same as vanilla, of course, except what I do is remove the secondary "clip page" so that everything is confined to just the main/weapon page itself (no need for two pages or two separate researches, I say, when you can do everything in one).
In TFTD, however, although I can have Gauss Pistol unlock both weapon and clip, I can either have it pull up the weapon statistics page (with the above image) or the clip type/power page (with the same image above, if I want). The problem is either one will be lacking the other's info. I mean, the whole purpose behind this was to simplify everything into one page!
I still don't understand how vanilla TFTD manages to add the "GAUSS BEAM X DAMAGE" piece of text from the clip
into the main weapon page
after the clip is researched. That's exactly what I'm missing, and it seems I can only get it from researching the clip properly.
I even tried having Gauss Pistol unlock the clip with cost:0 (to override it appearing in the research screen and make it count as being researched as opposed to simply removing clip research altogether and unlocking everything through the weapon itself), but that's still not doing it.
I hope that's been clear enough!
How can I solve this?
I need a lifesaver
--- posts merged ---Unless there is another way around it, I guess I must resolve to putting the DAMAGE TYPE X on the image_id itself:
Problem is, of course, that if you want to change the damage type or power later you'd have to create a new image_id with the new values. At least it's a makeshift solution for the time being.
Modding UFO/EU is so much easier.