Dragon Age: Origins

File information

Last updated

Original upload

Created by

Nikivich

Uploaded by

nikivich

Virus scan

Safe to use

Innodil's Pocket Plane - Extension System (4 comments)

  1. woodtortiose
    woodtortiose
    • member
    • 11 kudos
    wow, I cant be the first one to reply post here! I'm trying to simply add more storage placeables to the plane. I'm extremely newb at DA modding, but the instructions were clear enough for me to try. The problem is the containers aren't showing up ingame.

    Here is exactly what I did:

    1. I opened inno_pp_ext.xls with MS excel. There were two sample lines alredy there. I left line 1 as is.

    2. I replaced line two (the sample merchant line with

    2inno_pp_armorstand.utp inno_pp_armorstand 1 -------0

    into the six columns respectively. I left the orientation column blank

    3. I repeated this for lines 3 through 7


    4. for lines 8 through 11 I switched to the gifts chest

    8 inno_pp_stor01.utp inno_pp_stor01 1-------- 0

    5. I saved the file
    6. dragged it onto ExcelProcessor.exe and it producedinno_pp_ext.gda
    7. I placed the gda into Documents\BioWare\Dragon Age\AddIns\inno_pp\core\override


    What did I miss? Do I need to locate the resource files and copy them to the module override folder? Since I'm using placeables that already exist in your mod I didn't think I needed to do that. Did I skip a step? Any help would be appreciated, I'm using vista 32bit. Thanks for this awesome mod, by teh way.
  2. nikivich
    nikivich
    • member
    • 17 kudos
    At Malkion's request, here's HOW TO ADD MULTIPLE MAGICAL STORAGE containers

    This involves a little bit of modding. So I will assume you have the Toolset installed and know a bit about it.

    First, how does it work? It is basically a default placeable with a chest model that has a custom script. This script opens a merchant resource. Merchant resources can not be spawned by scripting so there are 3 additional merchants available in the pocketplane for extensions to use (see HOWTO.txt in extension package)
    If you want additional magical chests you need to create a placeable that uses a script that opens one of those 3 merchants. This means you are limited to 3 additional chests.

    The merchants tags are:
    inno_pp_ext_merch1
    inno_pp_ext_merch2
    inno_pp_ext_merch3

    THE SCRIPT: inno_pp_plc_merch1
    #include "events_h"

    #include "wrappers_h"



    void main()

    {

    event ev = GetCurrentEvent();

    int nEventType= GetEventType(ev);

    int bEventHandled = FALSE;



    switch (nEventType)

    {

    case EVENT_TYPE_USE:

    {

    object oUser= GetEventCreator(ev);

    int nAction = GetPlaceableAction(OBJECT_SELF);

    int nVariation = GetEventInteger(ev, 0);

    int nActionResult= TRUE;



    object oStore = GetObjectByTag("inno_pp_ext_merch1");

    if(IsObjectValid(oStore))

    {

    SetStoreMarkDown(oStore, 0);
    SetStoreMarkUp(oStore, 0);
    OpenStore(oStore);

    }



    bEventHandled = TRUE;

    if (bEventHandled)

    {

    SetPlaceableActionResult(OBJECT_SELF, nAction, nActionResult, nVariation);

    }

    break;

    }

    }



    if (!bEventHandled)

    {

    HandleEvent(ev, RESOURCE_SCRIPT_PLACEABLE_CORE);

    }

    }


    1. Create a placeable inno_pp_magical2
    2. Give it a tag inno_pp_magical2
    3. Set the script to inno_pp_plc_merch1
    4. Export the placeable and the script
    5. Open inno_pp_ext.xls, add this line

    1inno_pp_magical2.utpinno_pp_magical2190,560

    6. Create a GDA from your extension excel
    7. Copy all the stuff to Addins/Inno_pp/module/override/
    8. Run game...

    You can repeat this steps but using another merchant tag in your script to add up to 3 chests.
  3. nikivich
    nikivich
    • member
    • 17 kudos
    v2 of the extension package contains a sample merchant extension. Ready to plug in or use the builder to builder package to customize it for your own needs.
  4. nikivich
    nikivich
    • member
    • 17 kudos
    Hi all,

    Since version 1.4, Innodil's Pocket plane features an extension system.

    This allows you to add up to 11 custom containers/NPCs/Merchants to the pocket plane.

    On the files tab, download the latest "Extension Package.zip"
    Unzip it somewhere and read the "HOWTO.txt" file.

    Everything should be explained in it and there are examples files included to get you started.

    Should you have issues though, please ask away. However, if you ask something that is clearly explained in the HOWTO.txt I will feel inclined to simply ignore your question ;-p

    Anyway, I hope you guys enjoy this feature!