Sovereignty: Crown of Kings

Sovereignty: Crown of Kings

Not enough ratings
Hero-less tactical combat
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
44.677 KB
26 Oct, 2016 @ 3:30pm
1 Change Note ( view )

Subscribe to download
Hero-less tactical combat

Description
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 Comments
Dunadd 26 Jan, 2018 @ 12:17pm 
ok, sorry for pestering you then
Gray Riders  [author] 26 Jan, 2018 @ 11:54am 
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 26 Jan, 2018 @ 11:29am 
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 26 Jan, 2018 @ 11:29am 
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 26 Jan, 2018 @ 11:29am 
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 25 Jan, 2018 @ 1:19pm 
p.s It's the Redouble Assault ability , though weirdly sometimes it results in a crash and other times doesn't
Dunadd 25 Jan, 2018 @ 1:11pm 
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 20 Jan, 2018 @ 6:12pm 
Thanks again for making the mod though
Dunadd 20 Jan, 2018 @ 6:12pm 
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  [author] 20 Jan, 2018 @ 5:36pm 
@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.