User Tools

Site Tools


dcx:library_import

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dcx:library_import [2015/11/12 12:17] vicdcx:library_import [2026/06/22 12:21] (current) – external edit 127.0.0.1
Line 16: Line 16:
  
 Condition for all below is that the current library of the data instance is equal to the one you are subtituting.  Condition for all below is that the current library of the data instance is equal to the one you are subtituting. 
 +
 +====Garbage collection====
 +If you reload a library, but some data instances have been removed from it, these instances will also be removed from your scenario.
 +
 +====Substitution Rules====
  
 ===SFType=== ===SFType===
Line 24: Line 29:
  
 IF Library ID# of scenario ReinfType == ID# of the ReinfType in the library  IF Library ID# of scenario ReinfType == ID# of the ReinfType in the library 
 +
 AND IF scenario ReinfType Name == ReinfTypeName in the library AND IF scenario ReinfType Name == ReinfTypeName in the library
  
 NB: Keep in mind it is not possible for TroopTypes from different TroopTypes libraries to share the same ReinfType. NB: Keep in mind it is not possible for TroopTypes from different TroopTypes libraries to share the same ReinfType.
  
-===Historical Units===+===Historical Units / Models===
  
 +IF Library ID# of scenario historical unit/model == ID# of the historical unit in the library
  
 +NB: Historical units are updated with their models and units are updated with their historical units
 +
 +NB: Officers assigned to historical units that have been removed from library are returned to the pool
 +
 +===Officers===
 +
 +IF Library ID# of scenario officer == ID# of the officer in the library
 +
 +NB: Yes officers are kept in the same datatype as historical units and models. 
  
 ===PreDef Units=== ===PreDef Units===
 +
 +IF Library ID# of the scenario Unit == PredefID# of the unit in the library 
  
 ===People=== ===People===
 +
 +IF Library ID# of the scenario People == ID# of the people in the library
 +
 +NB: The only way to actually add People to the scenario through the Simple Editor is to have them already present in the masterfile (like Universals in VR Ruleset) or import them through loading a historical library or map file.
  
 ===Action cards=== ===Action cards===
 +
 +IF Library ID# of the scenario action card == Slot# of the action card in the library
 +
 +AND IF sceon card name == library action card 
  
 ===Events=== ===Events===
 +
 +IF Library ID# of the scenario event== ID# of the event in the library
 +
 +AND IF scenario event name == library event name 
  
 ===Stringlists== ===Stringlists==
 +
 +IF Library ID# of the scenario stringlist== ID# of the stringlist in the library
 +
 +AND IF scenario stringlist name == library stringlist name 
  
 ===Libvars=== ===Libvars===
 +
 +IF name of the scenario libvar == name of the libvar in the library
 +
 +AND IF type of the scenario libvar == type of the libvar in the library
 +
 +AND IF valueType of the scenario libvar == valueType of the libvar in the library
  
 ===SmallGfx=== ===SmallGfx===
 +
 +IF Library ID# of the scenario SmallGfx == ID# of the smallGfx in the library
 +
 +AND IF the file name of the scenario SmallGfx == filename of the smallGfx in the library
 +
 +NB: SmallGfx are removed from scenario if they no longer are present in library, even if they are referenced in libvars or stringlists.
  
 ===Event Pictures=== ===Event Pictures===
 +
 +IF Library ID# of the scenario event picture == ID# of the event picture in the library
 +
 +AND IF the file name of the scenario event picture == filename of the event picture in the library
 +
 +NB: Event pictures are removed from scenario if they no longer are present in library, even if they are referenced in libvars or stringlists.
  
 ===Hex & Location (map import)=== ===Hex & Location (map import)===
 +
 +This follows a special protocol.
 +
 +You can only load a map file that has the same width X height as the map of the current scenario.
 +
 +You can optionally load the Victory Points from the map file.
 +
 +All hex data including landscape type, labels, rivers, roads, 9 areaslots will be overwritten.
 +
 +All location data will be overwritten.
 +
 +NB: A map load can also add or subtitute people. 
  
  
  
dcx/library_import.1447330643.txt.gz · Last modified: 2026/06/22 12:14 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki