С Днём России!
  • 2.170
  • 6
Дорогие друзья! Поздравляю вас с Днём России! Этот праздник напоминает нам о богатой истории и культуре нашей страны, о её величии и непоколебимом духе народа! Желаю вам крепкого здоровья...
Новости Анонсирован Atomic Heart II
Новости Анонсирован ремастер Final Fantasy Tactics
  • 778
  • 1
Культовая пошаговая тактическая RPG от Square Enix получит второе дыхание. На проходящей выставке State of Play, где анонсируются игры для Play Station, состоялся анонс ремастера Final Fantasy...
Новости Моддеры Oblivion Remastered нашли способ внедрения абсолютно любых скриптов
  • 960
  • 4
Сообщество моддинга Oblivion Remastered (ORM) переживает настоящий расцвет. После долгих месяцев работы, энтузиасты научили игру работать с мощным скриптовым языком Lua, открыв перед создателями...
Union: Настройка и компиляция плагина / Configuring and compiling a plugin

Гайд Union: Настройка и компиляция плагина / Configuring and compiling a plugin

Работа с плагином Юнион
You should have before the beginning:
— Visual studio 2010 for compiling project (you need 2010 compiler)
— Any Visual studio for development
— An installed template plugin from Resource Manager

Plugin settings:

In configuration list there are templates for any engine version and a common one - crossplatform.
For example, if you select 'G2A Release' plugin will be compiler only for Gothic II: NoTR, if 'Release' then for all engine version.
Selecting a specific platform is also useful for intermediate builds. This will significantly reduce compilation time.

Next, you can configure the plugin's output path directly to the game directory. Hold Alt + F7, go to the 'General' tab, in the 'Output directory' specify the path to your Gothic\System.
There immediately check the 'Platform Toolset' parameter. If you have Visual studio 2010, then save and close the window. Otherwise, select a different version.

Compiling:
For compiling press F7 (Ctrl + Shift + B) or Build->Build Solution.
In Union.ini or in .ini of your mod insert the names of your plugins (use comma "," as a delimiter):
You can archive your plugin into a VDF volume.

Attaching the debugger:
To set breakpoints and catch exceptions, hold Alt + F7, go to the 'Debug' tab. Write in the 'Command' parameter: if the plugin is compiled into the game directory, then $(TargetDir)\Gothic.exe, otherwise the full path to the game's exe file.
Save and close the window. To compile and run the debugger, press F5 or Debug->Start Debugging.
Сверху Снизу