Creating a module/ru

From Dragon Age Toolset Wiki
< Creating a module
Revision as of 09:18, 11 February 2011 by Kelamor (Talk | contribs) (Create russian page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Модули
Обеспечение совместимости между новым модулем и официальными DLC
Категория, содержащая описания и параметры событий модуля

Для создания и изменения модулей, выберите "Manage Modules" в меню "File". Это выведет список имеющихся модулей. Используйте кнопку "New" для создания новых модулей, а кнопку "Properties" для изменения свойств имеющихся модулей. Изменять свойства можно только у открытого на текущий момент модуля.

Создание нового модуля

Выберите "Manage Modules"
Затем нажмите кнопку "New" для создания нового модуля.
  1. В меню "File" выберите пункт "Manage Modules".
  2. Нажмите кнопку "New", что откроет окно свойств создаваемого модуля.
  3. В поле "Name" (имя) введите название модуля (это название будет отображаться в игре).
  4. Введите уникальный идентификатор модуля в поле "UID". Этот идентификатор используется для конфигурации файлов и в качестве имени папки, в которую экспортируется модуль.
  5. Далее нажмите "OK"
  • Другие свойства можно будет изменить в дальнейшем, как только возникнет необходимость.
  1. Выберите в списке новый модуль.
  2. Нажмите кнопку "Open".
  • Название открытого модуля отображается в заголовке окна тулсета.


Создание отдельной кампании:

  1. Выберите свой модуль в списке модулей.
  2. Нажмите кнопку "Hierarchy".
  3. Снимите флажки со всех отмеченных родительских модулей (по умолчанию - сняты).
  4. Нажмите "OK".
  5. Свойство модуля "Extended Module" оставьте "None".
  6. В качестве скрипта модуля используйте скрипт по умолчанию "module_core" или ваш скрипт.
  • В палитре ресурсов отображаются только доступные этому модулю ресурсы.

Создание расширения

  1. Выберите свой модуль в списке модулей.
  2. Нажмите кнопку "Hierarchy".
  3. Отметьте в качестве родительского модуля - "Single Player".
  4. Нажмите "OK".
  5. Свойство модуля "Extended Module" установите "Single Player".
  • Ресурсы модуля "Single Player" теперь доступны и вашему модулю.
Обратите внимание:
  • Note that as of toolset version 1.01 and game version 1.02b, you should NOT use "module_core" as the script (as found in module properties) for an add-in that extends an existing module, otherwise you will encounter issues that may include slow-downs during conversations and attribute allocation. The exact cause of these issues is not yet known, but using a blank script with an empty main function will eliminate these issues.


Advanced Properties

  1. Select the module in the Manage Modules list
  2. Click on the "Properties" button

The Settings can be changed at any later time. To set up your Module prior Exporting see Manage modules

  • For a detailed explanation of the properties you will see here, See Module.



The only module type that's supported by the toolset is "Addin". You can use addins in two basic ways; either to extend an existing campaign (such as the main campaign) or as a stand-alone campaign in its own right. Addins can be enabled and disabled by the user in the "Downloadable content" menu from the game. You can also create addins that add to or modify core resources, which are available to all modules of the game.

A module with no event script will start the player without going through character generation, which will leave the player with an almost unusable character to play with. See character generation for some simple character generation code you can use.

NOTE: Currently there is no way to delete a module within the toolset once it's been created. See Deleting a module

Core resources:

Any object template which is required in more than one module needs to be a core resource.

In the future, we may have the facility to export a character to a new module. In that case, any item that the player can use or that a creatures drops for the player, will need to be a core resource - otherwise, custom items will be lost on entry to the new module.

To create a core resource:

  1. Right click on properties for the resource in the Palette Window
  2. Change Module to: Core Game Resources
  3. Change Owner Module to: New Module Name

Be aware of dependencies between core and non-core resources; especially around scripts. If a core resource uses a non-core script, the script won't exist if you use the core resource in a different module.

There will be a separate talk table created for the Addin in its directories. When the game loads it will combine all the talk tables across all the addins that it knows about.

Переводчики

kelamor / Страница / Почта / Как переводить DA Builder Wiki

Язык: English  • русский