Home » MODDING HQ 1.13 » v1.13 General Development Talk » Any introduction to the code?
Re: Any introduction to the code?[message #357958 is a reply to message #357952] Sat, 24 August 2019 10:29 Go to previous messageGo to previous message
MH17 is currently offline MH17

 
Messages:46
Registered:November 2018
Location: Antarctica
Thank you, guys for your insights.

silversurfer wrote on Fri, 23 August 2019 14:50
After combat is initiated with creatures (zombies in this case) the game thinks that there are still some left after you killed all zombies because the original counter was not zero. This is just a wild guess.
I believe this is exactly what I observe in the current game.

Checking an evolution of the campaign in different gamesaves I see following: when my girlfriend was fighting in Atremo (Omerta) the creature counters for D13 were all equal to zero (both pSector->ubNumCreatures and pSector->ubCreaturesInBattle). Then her team jumped via subway to Calisto (Drassen) and the counters have been changed somehow. suprised Here I have to emphasize: she haven't visited D13 yet, but its corresponding element in the vector std::vector<SECTORINFO> SectorInfo has been mysteriously modified.

When she begun to liberate Callisto starting from E13, then C13, C14, B14, B13 the counters for the D13 have already been equal to 30.

At the moment I have no idea where to look for the problem... angry

Report message to a moderator

Corporal
 
Read Message icon12.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Read Message icon9.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message film28.png
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: An easy way of editing the XML files in dev builds (XML Editor broken?)
Next Topic: How to change loading screens?
Goto Forum:
  


Current Time: Wed Feb 12 17:13:16 GMT+2 2025

Total time taken to generate the page: 0.01051 seconds