Sovereignty: Crown of Kings

Sovereignty: Crown of Kings

评价数不足
Hero-less tactical combat
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
44.677 KB
2016 年 10 月 26 日 下午 3:30
1 项改动说明 ( 查看 )

订阅以下载
Hero-less tactical combat

描述
Allows the player to have tactical battles without a hero present in their army. This simple mod changes the UI file "AutoBattleForm.cs". There are currently no known bugs or issues.
20 条留言
Dunadd 2018 年 1 月 26 日 下午 12:17 
ok, sorry for pestering you then
Gray Riders  [作者] 2018 年 1 月 26 日 上午 11:54 
I doubt the mod causes it, and I had random battle crashes myself even without any mods. I didn't touch the hero abilities or the tactical battles themselves--I just changed the conditions so the options you get are the same whether or not you have a hero present.
Dunadd 2018 年 1 月 26 日 上午 11:29 
c:\temp\opentk\Source\OpenTK\Platform\Windows\WinGLNative.cs:line 737
at OpenTK.Platform.Windows.Functions.DispatchMessage(MSG& msg)
at OpenTK.Platform.Windows.WinGLNative.ProcessEvents() in c:\temp\opentk\Source\OpenTK\Platform\Windows\WinGLNative.cs:line 1463
at SovereigntyTK.GameBase.Start()
at SovereigntyTK.Program.Main(String[] args)
Dunadd 2018 年 1 月 26 日 上午 11:29 
at System.EventHandler`1.Invoke(Object sender, TEventArgs e) at OpenTK.NativeWindow.OnMouseUp(MouseButtonEventArgs e) in c:\temp\opentk\Source\OpenTK\NativeWindow.cs:line 951
at OpenTK.NativeWindow.OnMouseUpInternal(Object sender, MouseButtonEventArgs e) in c:\temp\opentk\Source\OpenTK\NativeWindow.cs:line 1131
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at OpenTK.Platform.NativeWindowBase.OnMouseUp(MouseButton button) in c:\temp\opentk\Source\OpenTK\Platform\NativeWindowBase.cs:line 255
at OpenTK.Platform.Windows.WinGLNative.WindowProcedure(IntPtr handle, WindowMessage message, IntPtr wParam, IntPtr lParam) in
Dunadd 2018 年 1 月 26 日 上午 11:29 
Here's the error report in case it helps
An error has occurred

User ID: 76561198030916207
Build Number: 1529
Mods Active: Hero-less tactical combatObject reference not set to an instance of an object.

at SovereigntyTK.AI.V2.Actions.AITacActionPlayCard.HandleCardShown(String EventName, Object[] Args)
at SovereigntyTK.GameBase.FireEvent(String EventName, Object[] Args)
at SovereigntyTK.UI.TacticalBattleForm.ContinueClicked(UIControl Control)
at SovereigntyTK.UI.Controls.UIControl.HandleMouseClick(Single LocalX, Single LocalY, MouseButton Button)
at SovereigntyTK.UI.Controls.ControlButton.HandleMouseClick(Single LocalX, Single LocalY, MouseButton Button)
at SovereigntyTK.UI.Controls.UIControl.HandleMouseUp(Single LocalX, Single LocalY, MouseButton Button)
at SovereigntyTK.UI.Controls.ControlButton.HandleMouseUp(Single LocalX, Single LocalY, MouseButton Button)
at SovereigntyTK.UI.UIManager.Window_MouseUp(Object sender, MouseButtonEventArgs e)
Dunadd 2018 年 1 月 25 日 下午 1:19 
p.s It's the Redouble Assault ability , though weirdly sometimes it results in a crash and other times doesn't
Dunadd 2018 年 1 月 25 日 下午 1:11 
Turns out it is working with the latest beta - i'd just not set it to active. There is a bug that sometimes causes a crash when fighting against Hadrigel and one of their heroes uses an ability in battle. Not sure if it's caused by a bug in the beta, a bug in the mod, or both. Will screenshot the error report next time it happens.
Dunadd 2018 年 1 月 20 日 下午 6:12 
Thanks again for making the mod though
Dunadd 2018 年 1 月 20 日 下午 6:12 
fair point - didn't realise that. Tbh the AI seems to be bad strategically and pretty terrible in battles, even in the latest beta so i'll likely just wait in the hope later patches improve both
Gray Riders  [作者] 2018 年 1 月 20 日 下午 5:36 
@dmcf
That's a tricky issue. If I make it work for the beta it might stop working for people using the regular release. I haven't touched the game in over a year now so I'm not sure if most people are using the beta or not.