User Tools

Site Tools


ped_ui

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
ped_ui [2021/11/28 15:38] – [Special] hnegped_ui [2024/08/31 08:24] (current) – [Export/Import] hneg
Line 184: Line 184:
              
 ===== Export/Import ===== ===== Export/Import =====
 +{{:011_ped_export.png|}}
 +Export is here if for some reason need to cook up parameters and paste them into a script instead of just placing them with this tool into the scenario. It’s is possible if you need to have the emitters do something specific with an object other than just stay on it.
 +
 +To export in config/description.ext format press and hold down ``CTRL`` on your keyboard when pressing the **//Export//** button.
 +
 +Import stands for "pasting" parameters from a script "into" the emitter placed with this tool.
 +In here you can also save and load your own parameter presets.
 +
 +  * **//Clear//**:\\ Pressing this button will clear all data from the export fields.
 +
 +  ** **//Export Sqf/Cfg//**:\\ Pressing this button will export the parameters shown on the "export data fields" onto the clipboard for pasting into a separate script/text file. The parameters are pasted exactly as they’re shown on the fields. By default exports in sqf format, by holding down ``CTRL`` while pressing this button will export in config format.
 +
 +  ** **//Export current only//** checkbox:\\ If this is checked the export button will export only the parameters shown on the fields, if it is unchecked export will export parameters for __//all emitters in the scenario//__.\\ Exclude light emitters means that if checked and you are exporting a set of emitters which includes a light emitter its parameters won’t get exported, as in export particle parameters only.      
 +  .. The horizontal list of particles below the "export fields" relates also to the emitter sets. It lists the emitters in the selected emitter set.\\ {{  :scroller.png  |}}\\ With this list you can scroll through the individual emitters in the given set, the “export fields” showing the currently shown emitter’s parameters.
 +  .. Lock export fields disables the "auto-filling" of the export fields when selecting emitters. Handy if you wish to "paste" parameters into several different emitters/emitter sets for example. Or are just annoyed by the auto-filling..
 +
 +  *  **//Paste Params//**:\\ If you have some favorite particle params in some scripts of yours you can use this to "import" them into the emitters placed via this tool.\\ Just copy/paste the appropriate params to their places on the "export fields", place down a particle emitter and press **//Paste Params//**. The emitter should receive these params and start emitting according to them.\\ You can then edit them further with this tool if you wish.\\ <WRAP important>NOTE that obviously the parameters have to be valid, no expressions of any kind are supported.</WRAP>
 +
 +  * **//Save Preset//**:\\ Pressing this opens a separate sub leaf in which you can save the current selected emitter/emitter set as a preset.\\ {{:011_ped_export_savepre.png|}}\\ Name is required, description is optional. Description is useful to for example noting how many emitters a set of emitters needs if the preset is saved as a set. The description will be shown as tool tip when hovering over the preset name in the Load Preset dialog.\\ Save set as preset does what it says, if you want to save the whole emitter set (if one is selected) as a preset check this box.\\ <WRAP important>NOTE that when saving sets as presets importing them requires equal amount and equal types of emitters placed as a set in the same exact order as the saved preset set was.
 +NOTE that when loading a single emitter preset you can only load particle presets "into" a particle emitter.</WRAP><WRAP tip>Keyboard shortcuts:
 +``ENTER`` = Save
 +``ESC`` = Back
 +</WRAP>
 +
 +  ** **//Load Preset//**:\\ Opens up a separate sub leaf for "loading" particle presets into emitters.\\ {{:011_ped_export_loadpre.png}}\\ Presets which are emitter sets are in red color so as explained above they will need the same amount of emitters and same exact types in the same exact order in a set to load into.\\ So let’s say the set you save as a preset has two particle emitters and a light emitter; particle_1 – particle_2 – light_3.\\ To load that preset into a set the set must consist of particle emitter – particle emitter – light emitter.
 +  .. You can also delete unwanted presets here, just select the preset you want to remove and press Delete.\\ <WRAP tip>Keyboard shortcuts:
 +``ENTER`` = Load
 +``ESC`` = Back
 +``DELETE`` = Delete
 +</WRAP>
ped_ui.1638113926.txt.gz · Last modified: 2021/11/28 15:38 by hneg