Важно Форуму RPGRUSSIA 15 лет!
  • 2.258
  • 19
Друзья, сегодня нашему форуму исполняется 15 лет! Кажется, только вчера мы открывали первые разделы, спорили о правилах и радовались каждому новому участнику. Но годы пролетели - а мы всё здесь, и...
Новости Path of Exile 2: Патч 0.2.0 «Dawn of the Hunt» - краткое описание
  • 1.293
  • 0
Вчера вечером, в 22.00 по МСК, в прямом эфире вышла презентация по будущему патчу 0.2.0. В целом, игроки ждали нового класса и ребаланса существующих умений, но то что выкатили GGG на публику...
Новости Gothic 1 Remake - Demo (Nyras Prologue)
  • 4.704
  • 2
Ну что, заключённые, готовы к встрече с колонией? Мир, где каждый встречный мечтает вас зарезать за кусок хлеба, а единственный закон - сила. Вас ждёт совершенно новый пролог к легендарной...
Новости Большое интервью с HotA Crew - часть 2
  • 3.033
  • 0
HotA Crew о Кронверке и будущих обновлениях (часть 2) Какие герои будут вести армии Кронверка? Герои-воины зовутся Вожди, маги — Старейшины. Их параметры и способности подчеркнут сильные стороны...
Union: 1. Настройка и компиляция плагина / Configuring and compiling a plugin

Гайд Union: 1. Настройка и компиляция плагина / 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.
Сверху Снизу