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:358
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:3389
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.



“What are you doing?” Joffrey interrupted him.

“… can’t a man give a few last words for his son to carry?”

“…Who told you your son was making it out of this field alive?”

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: Tue Aug 21 01:47:01 EEST 2018

Total time taken to generate the page: 0.00717 seconds