Home » MODDING HQ 1.13 » v1.13 General Development Talk » Battles happening simultaneously
Battles happening simultaneously[message #350481] Sat, 05 August 2017 13:19 Go to next message
SharkD

 
Messages:362
Registered:July 2003
Is it possible for more than one battle to occur at the same time? I never noticed this happening in my several playthroughs. What does the game do when this happens?
Re: Battles happening simultaneously[message #350485 is a reply to message #350481] Sat, 05 August 2017 18:26 Go to previous message
Flugente

 
Messages:3137
Registered:April 2009
Location: Germany
The game tries very, very hard to avoid this exact scenario. This comes down to even increasing a travelling groups arrival time if that arrival would cause a second battle while one is already going on currently.

As loading a different sector will always delete the data of all soldiers not on our team (militia and enemies would then simply be numbers in the sector), the best possible scenario would be that upon exiting battle 1, joining battle 2, exiting battle 2 and then rejoioning battle 1 the battle 1 effectively starts anew, with your soldiers in the previous positions, but all still-exiting militia and enemies with full health, new gear etc..

This is the best scenario. It is more likely the game will simply crash or misbehave in weird ways - due to the way the game is coded, we can't have 2 sectors loaded at the same time.



Saren threw his head back and screamed in impotent fury, before falling to his throne, head in his claws, trembling in horrified disbelief.

Then he heard a faint chime as Sovereign subscribed to her ECHO channel.

If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.


Previous Topic: Feature suggestion:
Next Topic: Question about JA2 data structures
Goto Forum:
  


Current Time: Thu Sep 21 02:35:46 EEST 2017

Total time taken to generate the page: 0.00719 seconds