User Tools

Site Tools


dcx:simple_libraries

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
dcx:simple_libraries [2015/11/21 17:33] – vicdcx:simple_libraries [2021/11/10 09:04] (current) – created vic
Line 1: Line 1:
-====Simple Editor: Libraries==== +====Simple Editor Libraries==== 
-This is one of the most important tabs of the Simple Editor. Here you actually import all the kinds of libraries (trooptype, historical, event, etc..).+In this window you can load and configure libraries.
  
-This is also one of the most complicated tabs to comprehend. So please sit down and take your time to read up on it.+{{:dcx:libraries.jpg|}}
  
-===Core interface===+===Walkthrough===
  
-{{:dcx:simple3.jpg|}}+==1. Library list== 
 +A list of all libraries loaded. Select a library to inspect its contents in the lists to its right.
  
-You see here in the top of the tab a maximum of 4 listboxes. These are:+==2. Global libvars == 
 +Click here to inspect the global libvars that are present in the selected library. 
 +These will appear in the lists to its right. You can click a global libvar to read its documentation and or to change it.
  
-**1. Libraries loaded list** +==3. Hex libvars== 
-Every library you will load will appear here.+Click here to inspect the hex libvars that are present in the selected library. 
 +These will appear in the lists to its right. You can click to read a hex libvar's documentation. To change it you have to go to the 'map tab' (see top buttons).
  
-If you click it you can inspect and configure its contents in the listboxes right of this one.+==4. Regime libvars== 
 +Click here to inspect the regimelibvars that are present in the selected library. 
 +These will appear in the lists to its right. You'll first have to select a regime before you can set the value of a regime libvar for that specific selected regime.
  
-There is always an item on top here called 'No Library' and here all the data can be inspected that is non modular (not library based).+==5. Non-executabe events== 
 +Just a list of internal events defined in the library that you cannot touch in any way. Purely informative thus.
  
-**2. Content categories of selected libraries** +==6. Tables== 
-Each library can contain different kinds of data.+A list of the tables defined in the library. You can edit these by clicking on the 'tables tab' (see top buttons)
  
-Here all the types of data present are listed. Each type can contain multiple instances. Click in this 2nd listboxes to see all the instances of the selected datatype for the selected library appear in listbox 3+4.+==7. Event pictures== 
 +A list of event pictures that are included in the selected library. You cannot change anything unless you have selected ** no library **. If no library is selected you can load extra event pictures. (which you can then put in certain tables)
  
-**3+4. The data of the the selected libraries content category**+==8. Small Gfx pictures== 
 +A list of small gfx pictures that are included in the selected library. You cannot change anything unless you have selected ** no library **. If no library is selected you can load extra small gfx. (which you can then put in certain tables)
  
-Some data types use only listbox 3. Items here are often configurable. Others use listbox 3+4 and in that case the items in listbox 4 are often configureable.+==9. Save Map== 
 +Save the current map of this scenario as a .dc4map file.
  
-**5. Load Library**+==10. Load library== 
 +Load a new library. Also use this to update a library to a higher/newer version. This will present you with the [[dcx:simple_library_load|Load Library Pop-up]]
  
-When you click it you can select a library file to (re)load.  +==11. Remove library== 
- +Remove a library. Be aware that this might also have repercussions like units being removed from the map or contents of units being wiped. Never remove a library lightly.
-Keep in mind that you can load different kind of libraries here and can set the kind you search for in the right-bottom corner of the file loading dialogue: +
- +
-{{:dcx:simple4.jpg|}} +
- +
-Once you select something the Load Library Popup will appear that will help you configure how to load the library. +
- +
-[[dcx:simple_library_load|Library Load Popup]] +
- +
-**6. Remove Library** +
- +
-Does exactly what it says. It removes the currently selected library. This means you'll lose all the data that was in it and that depends on it. If it for example you delete one of your historical unit libraries you will lose all units on the map that were set to one of the historical units/models defined in that library. So be carefull with removing libs. +
- +
-**7. Item info** +
-Here appears detailed info of the data instance you have selected. +
- +
-Here you can also change the values of configurable values or data instances of the libraries. +
- +
-===What datatypes can appear in 2nd listbox?=== +
- +
-**Global libvars CONFIGUREABLE** +
- +
-Libvars are short for library variables. +
- +
-The global libvars are values that are not instanciated like all the other type of libvars. They will be often used to allow the user to configure the library. +
- +
-**Hex libvars CONFIGUREABLE** +
- +
-Are the only libvars you cannot configure from here since they are map based and each hex can have a different values. Use the map tab to draw hex libvar values on the map. +
- +
-**The other libvar types CONFIGUREABLE** +
- +
-These are: Landscape-, RoadType-, RiverType-, Historical unit-, Historical Model-, Trooptype-, LocationType-, Commander-, People- and Regime- libvars. +
- +
-They all act the same albeit for different kinds of data. A library could use these to allow you to set different behaviour for different kind of data instances. +
- +
-For example the VR Basic library allows you to set a Regime libvar called 'Music'. Because its a **Regime** libvar you can set a different music track for each regime in the scenario. +
- +
-But for example 'hypothetical' libraries dealing with advanced weather effects could use LandscapeType libvars to allow the user to set custom effects. +
- +
-Or for example a 'hypothetical' library dealing with wear&tear of equipment could use TroopType libvars to set a breakdown chance on a trooptype per trooptype basis.  +
- +
-**Executable events EXECUTABLE** +
- +
-Some libraries might come with these. Basically the only use it to provide the user of the library with automization tools for scenario creation or to allow the creation of automated PDF documents. +
-The only example of an executable event is the 'auto set map labels' event in the VR basic events library.  +
- +
-**Non-excutable events JUST FOR INFO** +
- +
-So you have a rough idea whats in the library. +
- +
-**Tables JUST FOR INFO** +
-So you have a rough idea whats in the library. But you can also read the table description. Editing the table data is done however in the 'table' tab. +
- +
-(for experts: tables aka stringlists) +
- +
-**Trooptypes JUST FOR INFO** +
- +
-So you have a rough idea whats in the library. +
- +
-**Historical models JUST FOR INFO** +
- +
-So you have a rough idea whats in the library. +
- +
-**Historical units JUST FOR INFO** +
- +
-So you have a rough idea whats in the library. +
- +
-**Officers JUST FOR INFO** +
- +
-So you have a rough idea whats in the library. +
- +
-**People JUST FOR INFO** +
- +
-So you have a rough idea whats in the library. +
- +
-**Event pictures JUST FOR INFO** +
- +
-So you can see the actual image. +
- +
-**Small graphics JUST FOR INFO** +
- +
-So you can see the actual image. +
- +
-**Action cards JUST FOR INFO** +
- +
-So you have a rough idea whats in the library. +
- +
-**Regimes JUST FOR INFO** +
- +
-Just for your info. +
- +
-===How can I add graphics to be used by libraries?=== +
-You can add event pictures (which have 1 zoom level) and small graphics (which have 3 zoom levels). The library in question will tell you what kind it needs. +
- +
-A well designed library allows the user to set the graphics or illustrations it uses. Since that would make it possible to easily use the library in widely different settings. +
- +
-You can add event pictures by going to the 'No library' item and then selecting event pictures category. This allows you to add event pictures. A button will appear to the right 'Add eventpicture'. +
- +
-You can add small graphics by going to the 'No library' item and then selecting small graphics category. This allows you to add small graphics. A button will appear to the right 'Add Smallgfx'. +
- +
-NB: Be carefull not to delete the initial trans.png eventpictures since they are placeholders from the masterfile. If you delete these slots whatever is in there will be overwritten by the trans.png from the masterfile the next time you load your scenario. This can be improved upon by VR Designs. Just be aware of it for now. Same goes for the small graphics that has 100 slots defined by the masterfile. +
- +
-NB: If you just stick to the rule of only deleting what you ADDED yourself all will be well.+
  
 +==12. Load libvars==
 +Expert use advised.
 +Be sure map size is the same and same number of regimes. Only works if the scenarios are very similar.
 +Allows you to select another scenario and make all the libvars (also hex libvars) of the selected library be set to the same values as that selected scenario.
  
 +==13. Save library==
 +It is possible to export a library from a scenario. You can do this for Officer libraries, Historical model libraries and Trooptype libraries.
  
  
dcx/simple_libraries.1448127211.txt.gz · Last modified: (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki