Logo Platform
logo amplifiers simplified

HackingOperationOutcomeDefinition - configuration unclear

Reply
Copied to clipboard!
4 years ago
Jun 9, 2020, 9:24:50 AM

Since hacking turned up after the DataTypes where provided, does anyone have an idea what is wrong with:


<DatabasePlugin DataType="HackingOperationOutcomeDefinition, Assembly-CSharp">
<FilePath>Simulation/HackingOperationOutcomeDefinitions[Idrinth][*].xml</FilePath>
</DatabasePlugin>


No complaints in the log, but also doesn't seem to use the related xmls. According to the log they are loaded tho.


Timestamps from the log look fine, I'm confused:

10:52:35:462 MAIN Loading plugin files for database of type 'HackingOperationOutcomeDefinition'...

10:53:39:055 MAIN Loading plugin files for database of type 'HackingOperationOutcomeDefinition'...
10:53:42:136 IIH Loading plugin files for database of type 'HackingOperationOutcomeDefinition'...


Loaded File contains the traitor spawning with way less Prerequisites, should show up pretty much everywhere:

<HackingOperationOutcomeSpawnTraitorsDefinition Name="HackingOperationOutcomeSpawnTraitors" Level="0">
<PathPrerequisite Flags="Discard">EmpireTypeMajor</PathPrerequisite>
<InterpreterPrerequisite Flags="Discard" Inverted="true">$(IsTraceOperation)</InterpreterPrerequisite>
</HackingOperationOutcomeSpawnTraitorsDefinition>

Updated 4 years ago.
0Send private message
0Send private message
4 years ago
Jun 9, 2020, 10:24:03 AM

HackingOperationOutcomeDefinitions[Idrinth][Traitors].xml

0Send private message
0Send private message
4 years ago
Jun 9, 2020, 10:53:46 AM
CaptainCobbs wrote:

try removing [Idrinth] from both your filename and the path, assuming it doesn't work anywhere else.

Tend to organize my files like that everywhere, so I doubt that's it. Helps not loading files that are there temporarily while you replace stuff in them.

Maybe it needs a Priority attribute, but no value that I tried(1, 20, 200) seems to have done the trick.

Updated 4 years ago.
0Send private message
4 years ago
Jun 9, 2020, 11:48:36 AM

Modified the equivalent in the game dir's folder...no effect. guess the list of possible actions is hardcoded somewhere else

0Send private message
4 years ago
Jun 9, 2020, 10:01:59 PM

I'm sorry, I'm not sure what it could be at all. If anything though, it might be the Path? I've never really messed with hacking as not enough of it is reliably modable.

0Send private message
4 years ago
Jun 9, 2020, 10:27:23 PM

Don't be sorry, I'm glad you were trying to help. From what I could gather, there seem to be a few hardcoded things:

- displayed outcomes

- effects of outcomes with limitations(i.e. no traitor on minors for example)


That leads to mixing and changing being extremely limited, if at all possible. Likely you can only make it harder to be able to do a specific action on a successful hack.

0Send private message
?

Click here to login

Reply
Comment