#2698: Templates are loaded incorrectly from savegames
-------------------------------------+-------------------------------------
  Reporter:  Flail13                 |             Owner:  Per
      Type:  bug                     |            Status:  new
  Priority:  normal                  |         Milestone:  unspecified
 Component:  Engine: Scripting / AI  |           Version:  2.3.7
  Keywords:                          |  Operating System:  All/Non-Specific
Blocked By:                          |          Blocking:
-------------------------------------+-------------------------------------
 When loading a saved game, the templates referred to by scripts become
 shuffled.

 I was using a custom campaign, running as a global mod. I can provide the
 files if needed.
 To test it, I made a simple script referring to one template through a vlo
 file. I made a script event to place that template on the map every few
 seconds. After saving and loading, a different template referred to by a
 different script was placed instead. It was also affecting all the
 templates the AIs were building. If it's any help, all the templates
 seemed to be replaced with other templates that were either at the end of
 template arrays, or single non-array variables.

 Another issue: the log reports "The required mod could not be loaded:
 mission", even though the saved game loads. If I copy the mod file
 ("mission.wz") to the same global mods directory and call it "mission"
 without the ".wz", the message goes away.

 Another issue: the activity of all non-player factories is lost after re-
 loading.

-- 
Ticket URL: <http://developer.wz2100.net/ticket/2698>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to