banner
Rating
Voted0

WADDI - extensible element insertion script with input window

1
Mod version:1
Game version:1.4
The mod has been successfully tested for the absence of viruses
1649.29K18.43K

Report mod

  • image
  • image
  • image
modalImage

About This Mod

Add scripts such as VADDI.


***Update.

Version 1.4b now allows the use of apostrophes and hyphens in text fields.


VADDI is one of the best mods for DA2 and its updated version, but it has two drawbacks:


1) It cannot be easily extended with new user elements without causing conflicts.

2) Like all other console commands, you can't see what you're typing.


So I created W(indowed)ADDI, which brings up the input window so you can see what you're typing to search. It can also be easily extended using the standard 2DA method.


***Instructions.

1. Extract the file into the override folder.

2. enter 'runscript waddi' in the console to use it.

3. A window will open with the message "sort by name", the input field and the buttons "YES" and "NO".

If the input field is empty and the 'NO' button is pressed, the script exits without searching.

If you enter a field and press the 'YES' button or the input key, the element will be searched by name; as with VADDI, this operation is intensive and slows down the process.

If you enter a field and press the 'NO' button, the element will be SEARCHED FOR SOURCE.

4. As in VADDI 4, a container with an element is opened, the number of elements found and the search expression are displayed.


5. You can also set the shortcut buttons by typing 'runcript waddi install' in the console. The button will be added to the slot in the rightmost shortcut bar. It can also be obtained from the Summon Mabari skill on the Skills screen in the lower right corner.



**** Expansion of the list of subjects.

WADDI adds items to the item list using the standard 2DA method. Two GDA files are required to add new items.


1) Create a GDA file prefixed with 'waddi_' (for example, waddi_mymod.gda) Two columns are required:


File Name: waddi_mymod.gda


ID______|List______

int_____|string__

121212__|wmymodlist


2) As with all 2DAs, use a fairly unique ID number.

3) The 'List' field is the name of the GDA file that contains the list of items. There are no naming conventions for list files, and they can be named as you wish if they do not conflict with existing 2DA files or prefixes. Thus, 'waddimylist' is not appropriate and 'mylistwaddi' is.

4) Create the list file mentioned in #3 above with two columns:


File Name: mylistwaddi.gda


ID_______|source

int_______|source

0_______|my_super_item.uti


5) The list file is not merged with the other 2DA, and entries in different list files can have the same ID without conflict. However, files MUST have sequential IDs.

6) For an example/template, open the erf file and look at the 'waddi_base.gda' and 'wbaselist.gda' files.


***List of subjects.

The list includes all the items that I currently own. Includes items from the main game, items from Signature Edition, Mark of the Assassin DLC, Legacy DLC, all Item Pack I and II, and some promotional items. If some items are missing, they can be easily added using the above extension method.



***Source files.

The script source files can be found in various files. If you have ideas for improving functionality or performance, feel free to review the code and let me know.


***Changelog

1.4 - Bug fixes: Bug fixes search for name recovery in version 1.3.

1.3 - Bug Fix: non-adjacent ID entries in waddi_*.gda can now be read.

1.2 - Correction: now only console commands can be used instead of quick buttons.

1.1 - Improved performance: fixed duplicate creation of items in search by name.

1.0 - Initial issue.

Similar Mods/Addons

Game Version *

1.4 (waddi v1_4b-3854-1-4b.zip)