ex_ottoyuhr
Sergeant at Arms

To start with, I apologize for not posting any code examples pertaining to this; if they're necessary, I'll rectify the possibly-copyright-concern-inducing material in my mod and provide a code sample.
Well...
Drawing primarily off of the example of castles in module_game_menus.py or whatever that was, and adding a link to the random-map scene in each town's whatchamacallits in module_scripts.py, I have managed to get to a point where I can display an "Attack City" option if a town is hostile to the player, and initiate a battle between the player's party and the town's party members. However, as soon as the battle loads (and it _does_ load, at least for a half-second or so), I get an assertion error, stating that in Mission.h, line 2386, the assertion "party_no > 0" was false.
I suspect that I may have just neglected to set some flag or fix some fluke of declaration in module_parties.py; if so, I would appreciate it greatly if someone would point this out to me. However, I think there is the possibility that this is a hard-coded fluke of towns in this version of the game; the only persons likely to be able to answer that question are Armagan, Ipek, and co. -- which explains why I've made this post here in Suggestions, which I know they frequent rather often, as opposed to the more uncertain territory of Module Development. However, if this is a known issue or one that modmakers have encountered in the past, and such would be likelier to provide me with useful advice on the subject, I would appreciate it if a moderator would move this to Module Development as appropriate.
Either way, I promise not to make this sort of post a habit...
Thanks in advance,
Ex_Ottoyuhr
Well...
Drawing primarily off of the example of castles in module_game_menus.py or whatever that was, and adding a link to the random-map scene in each town's whatchamacallits in module_scripts.py, I have managed to get to a point where I can display an "Attack City" option if a town is hostile to the player, and initiate a battle between the player's party and the town's party members. However, as soon as the battle loads (and it _does_ load, at least for a half-second or so), I get an assertion error, stating that in Mission.h, line 2386, the assertion "party_no > 0" was false.
I suspect that I may have just neglected to set some flag or fix some fluke of declaration in module_parties.py; if so, I would appreciate it greatly if someone would point this out to me. However, I think there is the possibility that this is a hard-coded fluke of towns in this version of the game; the only persons likely to be able to answer that question are Armagan, Ipek, and co. -- which explains why I've made this post here in Suggestions, which I know they frequent rather often, as opposed to the more uncertain territory of Module Development. However, if this is a known issue or one that modmakers have encountered in the past, and such would be likelier to provide me with useful advice on the subject, I would appreciate it if a moderator would move this to Module Development as appropriate.
Either way, I promise not to make this sort of post a habit...
Thanks in advance,
Ex_Ottoyuhr
