Phantom Brigade

Phantom Brigade

评价数不足
Mech Affinity [OUTDATED]
3
2
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
245.957 KB
2024 年 8 月 30 日 下午 1:14
1 项改动说明 ( 查看 )

订阅以下载
Mech Affinity [OUTDATED]

描述
Pilots now build affinity towards the mech frame they control, adding bonuses and incentive to keep pilots matched to specific mech frames.

Currently only provides a damage reduction bonus. The bonus is displayed on the pilot's info tab when they're assigned to a mech they have enough affinity for.

To uninstall: make sure to go into the mod config (can be found in your mods folder, in the mech affinity folder, in the config folder) and change uninstall mode to "true". Then, load & save your game once to remove all mech affinity data from your save file.

For modders interested in using the system, you can access mech affinity data and provide your own bonuses effects. If you have questions, just shoot me a message on the Brace Yourself Games Discord server!
18 条留言
Max  [作者] 4 月 18 日 上午 4:10 
Marked the mod title as outdated. Considering the developers' focus is adding some form of pilot progression now, I'm going to hold off on updating it.
Dick Stealing Weasel 4 月 18 日 上午 12:31 
The mod is indeed broken. Loading a save deletes all pilots.
Max  [作者] 4 月 12 日 下午 1:48 
The mod might be outdated / broken with the latest updates. I haven't played in a while. If it doesn't work on its own, it probably is broken.
Dammokles 4 月 12 日 上午 5:09 
at HarmonyLib.Internal.Patching.ILManipulator.WriteTo (Mono.Cecil.Cil.MethodBody body, System.Reflection.MethodBase original) [0x00066] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.WriteTranspilers () [0x00084] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.WriteImpl () [0x0002b] in <474744d65d8e460fa08cd5fd82b5d65f>:0
Dammokles 4 月 12 日 上午 5:08 
Rest of the log in 2 parts:

at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
at HarmonyLib.Internal.Patching.ILManipulator.ApplyTranspilers (System.Reflection.Emit.ILGenerator il, System.Reflection.MethodBase original, System.Func`2[T,TResult] getLocal, System.Func`1[TResult] defineLabel) [0x00093] in <474744d65d8e460fa08cd5fd82b5d65f>:0
Dammokles 4 月 12 日 上午 4:58 
I seem to be getting the same error. Relevant portion of BepInEx log below:

[Error : HarmonyX] Failed to patch void CIViewBasePilotInfo::RedrawForPilot(PersistentEntity pilot, bool editable, string header, bool inMech): System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.MissingMethodException: HarmonyLib.CodeMatcher HarmonyLib.CodeMatcher.SearchBackwards(System.Func`2<HarmonyLib.CodeInstruction, bool>)
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <695d1cc93cca45069c528c15c9fdd749>:0
--- End of inner exception stack trace ---
jordan shrubb 2 月 26 日 下午 3:28 
sorsorry for the delay i work away :).

so the only errors seem to be 10 from djs cannons on neuxs i am removing that and testing again :)
Max  [作者] 2 月 24 日 上午 6:25 
Are there any errors in your BepInEx log?
jordan shrubb 2 月 23 日 上午 9:13 
Hi it is enabled. version v0.2.0 mech affinity. the pilots state they have done x missions with a mech in there bio and just underneith that it states there are no affinities. wondering if its a mod conflict ?
Max  [作者] 2 月 23 日 上午 7:27 
It's been a *while* since I last looked into this. Are you sure the mod is enabled?