Modding: FO 4.0.0.455 loader

I want my 15 rapid-fire quantum torpedo launchers Uber-Defiant now! - Get help from modders. Share your work. Discuss modifications.
1, 2, 3, 4, 5
posted on March 3rd, 2015, 4:48 pm
yochenhsieh wrote:I found more problems and try to fix them. Please correct me if I'm wrong:
These should fix fed platform and romulan turrets.

That should do it. New TTs below.
techtree3.zip
(11.13 KiB) Downloaded 355 times

yochenhsieh wrote:btw, now that all construction ship can build a fully upgraded starbase with same cost of basic base. Perhaps it would be better to increase cost of *DDWW bases, or remove it from builditem?

Hmm. That's a workaround for the AI since it can't use replaceweapons. What do you think, Blade?
posted on March 3rd, 2015, 7:51 pm
In stock A2 if you wanted the AI to be able to build something, but not the player you would just not add it to the techtree, but add to the AI's build list and make sure int checkTechnologyAvailable = 0 in each race's build list.

Can you still have the AI build something that isn't in the techtree with v4?
posted on March 4th, 2015, 12:43 am
A quick check shows that yes, you can still do that. You think we should just edit the conships and AIPs to reference AI exclusive items rather than the player-available upgrades? Maybe something like an ODF with #include "fed_outpost_DDWW.odf" and name it something like fed_outpost_DDWW_AI.odf? For more than just that, of course.
posted on March 4th, 2015, 2:07 am
I say yes. It's quick, simple and it's not that it's broken, but why go to the trouble to find an alternative? It's just a workaround for the AI without any overly involved coding.

Great idea on differentiating the item to be built too. Would stand out in a build list that it's AI exclusive and easily identifiable
posted on April 8th, 2015, 12:07 am
Still working, just taking forever. If anybody is wondering, <include File="file.tt"/> only works with TT files; you can't chunk up the XML into smaller pieces that way.

Also, you can't nest <object> tags inside anything other than the <techtree> tag. I wanted to do this:
Code: Select all
<techtree>
   <borg>
      <object ODF="avatar_bor_optimize.odf"/>
      <object ODF="avatar_bor_assimilate.odf"/>
...
   </borg>
   <dominion>
...
   </dominion>
...
</techtree>

to make it easier to navigate in Notepad++ but it didn't work. I didn't expect it to, but it doesn't hurt to try.
posted on July 31st, 2015, 8:17 pm
Have we found out how to require allied/enemy factions yet?
posted on July 31st, 2015, 8:38 pm
oh yeah ive been working on the 4.0 loader and getting FO to work with it im redoing the Federation at the moment and doing pretty well

as for the tech tree ive got the allied and enemy requirements working its fairly easy to do will help more once feds are fully redone
posted on August 1st, 2015, 4:48 am
Just to point out, as it seems that it may have been missed - just after we released the loader I made the XML techtree portion of the guide available: http://guide.fleetops.net/guide/modding ... htrees/xml . Most of the documentation was complete.
posted on August 1st, 2015, 9:37 am
yh ive been using that thank you dominus it helped me a lot
posted on August 1st, 2015, 3:55 pm
Dominus_Noctis wrote:Just to point out, as it seems that it may have been missed - just after we released the loader I made the XML techtree portion of the guide available: http://guide.fleetops.net/guide/modding ... htrees/xml . Most of the documentation was complete.

I guess I didn't look hard enough to find that one. Thanks.

Edit: Can that page be cleaned-up a little?
posted on August 1st, 2015, 10:48 pm
How does this code look? What exactly will it do and what won't it do?

Code: Select all
<techtree>
   <object ODF="fed_sf_commandY.odf">
      <capList>specialStations</capList>
      <requirement logicGroups="1,2" race="federation" />
      <ally race="federation">
         <requirement logicGroups="2">
            <obj>fed_sf_scienceY.odf</obj>
            <obj>fed_sf_engineeringY.odf</obj>
         </requirement>
         <requirement logicGroups="2">
            <obj>fed_sf_scienceZ.odf</obj>
            <obj>fed_sf_engineeringZ.odf</obj>
         </requirement>
      </ally>
      <requirement logicGroups="1">
         <obj>fed_sf_scienceY.odf</obj>
         <obj>fed_sf_engineeringY.odf</obj>
      </requirement>
      <requirement logicGroups="1">
         <obj>fed_sf_scienceZ.odf</obj>
         <obj>fed_sf_engineeringZ.odf</obj>
      </requirement>
   </object>
   <object ODF="fed_sf_commandZ.odf">
      <capList>specialStations</capList>
      <requirement logicGroups="1,2" race="federation" />
      <ally race="federation">
         <requirement logicGroups="2">
            <obj>fed_sf_scienceY.odf</obj>
            <obj>fed_sf_engineeringY.odf</obj>
         </requirement>
         <requirement logicGroups="2">
            <obj>fed_sf_scienceZ.odf</obj>
            <obj>fed_sf_engineeringZ.odf</obj>
         </requirement>
      </ally>
      <requirement logicGroups="1">
         <obj>fed_sf_scienceY.odf</obj>
         <obj>fed_sf_engineeringY.odf</obj>
      </requirement>
      <requirement logicGroups="1">
         <obj>fed_sf_scienceZ.odf</obj>
         <obj>fed_sf_engineeringZ.odf</obj>
      </requirement>
   </object>
   <capacityList name="specialStations" maxCapValue="1">
      <obj>fed_sf_commandY.odf</obj>
      <obj>fed_sf_commandZ.odf</obj>
   </capacityList>
</techtree>


Goals:
(1) Require the faction trying to build the unit to be Federation.
(2) Allow the unit to be built if one player has Starfleet Engineering up and another player has Starfleet Science up.
(3) Allow the Federation players to use different avatars yet still be able to help unlock the Starfleet Command.

This might be interesting with a 4v4 where one team is all Federation.
posted on August 1st, 2015, 11:14 pm
i think you may have messed some bits up but if youd like i'll have a closer look

on a side note i have some good news and that is fo4 actually supports .dds textures and from what i can tell there a lot smaller than .tga
posted on August 1st, 2015, 11:53 pm
I would like you to analize it for me, thanks. And I've also made this revision to the code which should be more likely to do what I want it to:

Code: Select all
<techtree>
   <object ODF="fed_sf_commandY.odf">
      <capList>specialStations</capList>
      <requirement logicGroups="1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16" race="federation" />
      <ally race="federation">
         <requirement logicGroups="1,2,9,10">
            <obj>fed_sf_engineeringY.odf</obj>
         </requirement>
         <requirement logicGroups="3,4,11,12">
            <obj>fed_sf_engineeringZ.odf</obj>
         </requirement>
         <requirement logicGroups="1,3,13,14">
            <obj>fed_sf_scienceY.odf</obj>
         </requirement>
         <requirement logicGroups="2,4,15,16">
            <obj>fed_sf_scienceZ.odf</obj>
         </requirement>
      </ally>
      <requirement logicGroups="5,6,13,15">
         <obj>fed_sf_engineeringY.odf</obj>
      </requirement>
      <requirement logicGroups="7,8,14,16">
         <obj>fed_sf_engineeringZ.odf</obj>
      </requirement>
      <requirement logicGroups="5,7,9,11">
         <obj>fed_sf_scienceY.odf</obj>
      </requirement>
      <requirement logicGroups="6,8,10,12">
         <obj>fed_sf_scienceZ.odf</obj>
      </requirement>
   </object>
   <object ODF="fed_sf_commandZ.odf">
      <capList>specialStations</capList>
      <requirement logicGroups="1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16" race="federation" />
      <ally race="federation">
         <requirement logicGroups="1,2,9,10">
            <obj>fed_sf_engineeringY.odf</obj>
         </requirement>
         <requirement logicGroups="3,4,11,12">
            <obj>fed_sf_engineeringZ.odf</obj>
         </requirement>
         <requirement logicGroups="1,3,13,14">
            <obj>fed_sf_scienceY.odf</obj>
         </requirement>
         <requirement logicGroups="2,4,15,16">
            <obj>fed_sf_scienceZ.odf</obj>
         </requirement>
      </ally>
      <requirement logicGroups="5,6,13,15">
         <obj>fed_sf_engineeringY.odf</obj>
      </requirement>
      <requirement logicGroups="7,8,14,16">
         <obj>fed_sf_engineeringZ.odf</obj>
      </requirement>
      <requirement logicGroups="5,7,9,11">
         <obj>fed_sf_scienceY.odf</obj>
      </requirement>
      <requirement logicGroups="6,8,10,12">
         <obj>fed_sf_scienceZ.odf</obj>
      </requirement>
   </object>
   <capacityList name="specialStations" maxCapValue="1">
      <obj>fed_sf_commandY.odf</obj>
      <obj>fed_sf_commandZ.odf</obj>
   </capacityList>
</techtree>


EDIT (1 and 2): Code revised again! Disregard previous revisions!
posted on August 2nd, 2015, 1:04 am
ok because how ive altered my build (dont actually require different odfs for the research and df command stations) i havnt been able to test this but i think it should work like this
Code: Select all
<techtree>
   <object ODF="fed_sf_commandY.odf">
      <capList>specialStations</capList>
      <requirement logicGroups="1" race="federation">
         <obj>fed_sf_engineeringY.odf</obj>
      </requirement>
      <requirement logicGroups="2" race="federation">
         <obj>fed_sf_scienceY.odf</obj>
      </requirement>
      <requirement logicGroups="3" ally race="federation">
         <obj>fed_sf_engineeringY.odf</obj>
      </requirement>
      <requirement logicGroups="4" ally race="federation">
         <obj>fed_sf_scienceY.odf</obj>
      </requirement>
      <requirement logicGroups="5" race="federation">
         <obj>fed_sf_engineeringZ.odf</obj>
      </requirement>
      <requirement logicGroups="6" race="federation">
         <obj>fed_sf_scienceZ.odf</obj>
      </requirement>
      <requirement logicGroups="7" ally race="federation">
         <obj>fed_sf_engineeringZ.odf</obj>
      </requirement>
      <requirement logicGroups="8" ally race="federation">
         <obj>fed_sf_scienceZ.odf</obj>
      </requirement>
      <requirement logicGroups="1,2" />
      <requirement logicGroups="1,4" />
      <requirement logicGroups="1,6" />
      <requirement logicGroups="1,8" />
      <requirement logicGroups="3,2" />
      <requirement logicGroups="3,4" />
      <requirement logicGroups="3,6" />
      <requirement logicGroups="3,8" />
      <requirement logicGroups="5,2" />
      <requirement logicGroups="5,4" />
      <requirement logicGroups="5,6" />
      <requirement logicGroups="5,8" />
      <requirement logicGroups="7,2" />
      <requirement logicGroups="7,4" />
      <requirement logicGroups="7,6" />
      <requirement logicGroups="7,8" />
   </object>
   <object ODF="fed_sf_commandZ.odf">
      <capList>specialStations</capList>
      <requirement logicGroups="1" race="federation">
         <obj>fed_sf_engineeringY.odf</obj>
      </requirement>
      <requirement logicGroups="2" race="federation">
         <obj>fed_sf_scienceY.odf</obj>
      </requirement>
      <requirement logicGroups="3" ally race="federation">
         <obj>fed_sf_engineeringY.odf</obj>
      </requirement>
      <requirement logicGroups="4" ally race="federation">
         <obj>fed_sf_scienceY.odf</obj>
      </requirement>
      <requirement logicGroups="5" race="federation">
         <obj>fed_sf_engineeringZ.odf</obj>
      </requirement>
      <requirement logicGroups="6" race="federation">
         <obj>fed_sf_scienceZ.odf</obj>
      </requirement>
      <requirement logicGroups="7" ally race="federation">
         <obj>fed_sf_engineeringZ.odf</obj>
      </requirement>
      <requirement logicGroups="8" ally race="federation">
         <obj>fed_sf_scienceZ.odf</obj>
      </requirement>
      <requirement logicGroups="1,2" />
      <requirement logicGroups="1,4" />
      <requirement logicGroups="1,6" />
      <requirement logicGroups="1,8" />
      <requirement logicGroups="3,2" />
      <requirement logicGroups="3,4" />
      <requirement logicGroups="3,6" />
      <requirement logicGroups="3,8" />
      <requirement logicGroups="5,2" />
      <requirement logicGroups="5,4" />
      <requirement logicGroups="5,6" />
      <requirement logicGroups="5,8" />
      <requirement logicGroups="7,2" />
      <requirement logicGroups="7,4" />
      <requirement logicGroups="7,6" />
      <requirement logicGroups="7,8" />
   </object>
   <capacityList name="specialStations" maxCapValue="1">
      <obj>fed_sf_commandY.odf</obj>
      <obj>fed_sf_commandZ.odf</obj>
   </capacityList>
</techtree>
posted on August 2nd, 2015, 2:32 pm
Interesting. But, for fleet caps of 1, we could do this:

Code: Select all
<techtree>
   <object ODF="fed_sf_commandY.odf">
      <requirement logicGroups="1,2,...">
         <obj mustNotHave="true">fed_sf_commandY.odf</obj>
         <obj mustNotHave="true">fed_sf_commandZ.odf</obj>
      </requirement>
   </object>
</techtree>


Also, I don't know if you saw my revision, but I put those 8 requirement tags in 4 different logic groups each with a total of 16 different logic groups. If my assumption (and understanding of the guide) is correct, then all the items in one logic group will act as an and statement while all the objects in a different logic group will act as an or statement. By making each requirement part of four logic groups, that means four different possibilities for completing the tech requirements of that station.

And why is it that we need two Starfleet Command and Starfleet Science variants, anyways?
1, 2, 3, 4, 5
Reply

Who is online

Users browsing this forum: No registered users and 1 guest