-
-
Notifications
You must be signed in to change notification settings - Fork 4
Additional supports
DogeThis edited this page Nov 13, 2023
·
3 revisions
Cobalt allows for new supports to be defined in a new gamedata file made specifically for this purpose.
Important
This file cannot be bundled (as it does not exist in the base game).
It will be read the same way as a patched XML file, and should be placed at patches/xml/Support.xml in your Cobalt mod.
Here is an example of how the XML should look:
<?xml version="1.0" encoding="utf-8"?>
<Book Count="1">
<Sheet Name="Support" Count="1">
<Header>
<Param Name="Supporting Character" Ident="Condition" Type="PublicArray" Min="" Max="" Chg="" />
<Param Name="Supported Character" Ident="Pid" Type="string" Min="" Max="" Chg="" />
<Param Name="Experience Type ID" Ident="ExpType" Type="u8" Min="0" Max="255" Chg="" />
</Header>
<Data>
<Param Condition="PID_PLAYABLELUMERA_ルミエル" Pid="" ExpType="" />
<Param Condition="" Pid="PID_リュール" ExpType="0" />
<Param Condition="" Pid="PID_PLAYABLE_MORION" ExpType="0" />
<Param Condition="" Pid="PID_PLAYABLE_EVE" ExpType="1" />
<Param Condition="PID_PLAYABLE_EVE" Pid="" ExpType="" />
<Param Condition="" Pid="PID_PLAYABLE_SEFORIA" ExpType="0" />
<Param Condition="" Pid="PID_PLAYABLELUMERA_ルミエル" ExpType="0" />
</Data>
</Sheet>
</Book>The Condition field determines which character will have the supports added to their list.
The following entries consist of Pid for which unit to support and ExpType for the experience curve (works the same as Reliance).
Note
- You still need to add the units to
Reliance.xmlfor the game to consider the supports as present - Defining the support in only one direction is acceptable.
- The groups in
Support.xmlwill be processed in the same order asReliance.xml. - This means the
ExpTypefor the unit defined first inReliance.xmlwill prevail over the other unit if the support is defined in both directions. In the example, Lumera and Eve would useExpType 1because Lumera is defined before Eve inReliance.xml
- Introduction
- Troubleshooting
- Modding features
- Guides
- Divine Dragon Fan Club - Complementary resources & guides
- Custom model bundles
- Spring Bones (physics)
- Appendix