RBR: Plugin Interface - Addons - DrivingItalia.NET simulatori di guida Jump to content

ACI Esport: simracing nazionale

ACI Esport eleva il simracing a livello federale nazionale.
Per annullare il divario tra motorsport reale e simracing! 🏆
ACI Esport DrivingItalia

Thermaltake Racing Wheel: novità che stupisce

Thermaltake è specializzata in prodotti per PC gaming, modding e cooling, ora si occupano anche di simracing, con una linea prodotti molto interessante...
Thermaltake Racing Wheel

DrivingItalia Discord: chat testo e voce

Social-app gratuita, via browser, tablet o smartphone. Oltre QUATTROMILACINQUECENTO utenti attivi, entra anche tu!
Discord DrivingItalia
  • Guest
    Guest

    RBR: Plugin Interface

       (0 reviews)

    Due programmatori della Warthog Studio, autori del nuovo Richard Burns Rally, hanno rilasciato per il titolo targato SCi il fondamentale Plugin Interface, ovvero l'utility tramite la quale i modders potranno operare sul gioco originale per creare ad esempio modalità multiplayer. Per i vostri commenti dirigetevi qui.

    #CONTINUE#

    This archive contains the source code needed to create plugins for RBR. The main purpose is to provide players with functionality to conduct online championships and other custom modes of play. Also provided is an example plugin that enables players to choose a stage and drive it, logging the results to a text file.

    How to use the compiled plugin
    ==============================

    When compiling the solution you will end up with a dll file called RBRTestPlugin.dll. This file needs to be placed in a folder called Plugins which needs to be created under the game root folder ( e.g. C:Program FilesSCi GamesRichard Burns RallyPlugins ). The game should load the plugin into memory at startup.

    Gameflow when using a plugin
    ============================
    The plugins that are found under the are listed under OptionsPlugins menu in RBR. The plugin will, when selected, display its own menu page, from which a stage can be started. After the stage is completed the plugin may display a results page. Once the user skips this he is returned to the front-end page displayed by the plugin.

    Making a plugin
    ===============

    This archive should contain the following files:

    - IPlugin.h : The plugin interface use by RBR
    - IRBRGame.h : Game interface that the plugin
    - PluginHelpers.h/cpp : Some helper functions for the plugin
    - Gendef.h : A list of defines for the stock graphics, use for drawing.
    - TestPlugin.h : Implementation of the rbr test plugin
    - RBRTestPlugin.cpp : Contains DllMain and RBR_CreatePlugin
    - RBRTestPlugin.def : Export definitions
    - RBRTestPlugin.sln/vcproj : Visual Studio solution files for VC2003
    - stdafx.h/cpp : Precomplied header files
    - ReadMe.txt : This file

    Making a plugin consists of building a DLL exporting a single function (RBR_CreatePlugin) which should return a pointer to a C++ class implementing the interface IPlugin. Examples of this can be found in RBRTestPlugin.def and RBRTestPlugin.cpp.

    The actual plugin in this example is contained in TestPlugin.h. Plugins are based on a callback architecture, in which the plugin receives callbacks from the game at various points in the race, and in the frontend/results screen. Only the currently active plugin (the one selected from within the options screen) receives callbacks.

    Each class is documented in more detail in the source code. Don't change the IPlugin.h, IRBRGame.h or Gendef.h files or your plugin will not work as intended or even at all.

    User Feedback

    There are no reviews to display.


  • Who's Online   0 Members, 0 Anonymous, 355 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.