|
Post by Nemjen on Feb 15, 2016 12:45:52 GMT -8
In the third scenario if the Sunrider is destroyed by a Ryuvian ghost unit then upon pressing 'try again' you will get shortcut through your second attempt. Should be noted that it is only this level I have been able to replicate this thus far, I haven't had a similar effect with other units destroying the Sunrider just yet. Upon pressing 'try again' you are then taken back to deployment, as you will notice the pirate units have negative health. If you perform an action such as attack, all negative health units vanish leaving either those who are unaffected or presenting you with a victory screen. This can lead to quite an easy scenario where you can eliminate all units before the Ryuvian ghost units appear. This seems consistent between difficulties too.
|
|
|
Post by vaendryl on Feb 15, 2016 13:07:28 GMT -8
so it turns out retry code is remarkably hard >.> used to be we used a save file for this which is far easier, but this has weird results if you start one battle and then reload into another... maybe I'll have to go back to this after all and just make different save files for each mission if applicable.
thanks for the report though!
|
|
|
Post by Nemjen on Feb 15, 2016 13:12:45 GMT -8
so it turns out retry code is remarkably hard >.> used to be we used a save file for this which is far easier, but this has weird results if you start one battle and then reload into another... maybe I'll have to go back to this after all and just make different save files for each mission if applicable. thanks for the report though! - Sorry to bring the bad news, at least so far it is only one affected scenario right? Be a whole different level if there was an easy way to exploit it. (...Come on easy Space Whale run)
|
|
|
Post by Nemjen on Feb 15, 2016 14:09:42 GMT -8
Update: I have some bad news, it occurs when our favourite spoiler unit destroys the Liberty too. I will leave this one alone now.
|
|
|
Post by vaendryl on Feb 15, 2016 18:41:03 GMT -8
yeah, mission retry is buggered in general. I used deepcopy before which seems to create entirely new ships, but I also saw a report that it crashed the game through a memoryerror. tried regular copy this time but that retains previous values like HP. I'll switch to a new default of save files and only use manual reset if that fails for some reason.
|
|
|
Post by Histidine on Feb 15, 2016 20:16:45 GMT -8
It's probably too much trouble to change just before release now, but I suspect it'll help if the code spawned ships on demand with getattr(store, shipClassName)() instead of the Ren'Py script creating/storing the Ship() instances for every enemy unit in every level. ( code example from Arcade mod) (maybe the Summon Alliance Battleship order already does this?)
|
|
|
Post by vaendryl on Feb 15, 2016 20:20:42 GMT -8
well, it should be fine if I just set the hp values back to max and restore missiles and rockets but I keep having to fix shit with the retry code. I'll be using save files again instead for future versions.
|
|