Jump to content

Trouble adding custom items


glensh

Recommended Posts

I am new to DOA modding and I have been following the instructions on Bioware forum. I am trying to add custom items to player inventory. I got everything right up to the content will show in the DLC list in the game but the items are not showing in the player's inventory.

 

Does anybody have an idea why the content won't show in player's inventory?

 

I believe I am not doing the scripting correctly its a little difficult for me to follow or a missed something

 

Here is the link for the instructions:

http://social.bioware.com/5339/blog/576/

Link to comment
Share on other sites

I am new to DOA modding and I have been following the instructions on Bioware forum. I am trying to add custom items to player inventory. I got everything right up to the content will show in the DLC list in the game but the items are not showing in the player's inventory.

 

Does anybody have an idea why the content won't show in player's inventory?

 

I believe I am not doing the scripting correctly its a little difficult for me to follow or a missed something

 

Here is the link for the instructions:

http://social.bioware.com/5339/blog/576/

 

Without seeing your script, no.

 

The script in that tutorial is a very complicated place to start. I would suggest creating a much simpler script. Name it something like "my_mod_gimme", with:

 

#include "utility_h"

void main()
{
 DisplayFloatyMessage(GetHero(), "giving my custom item", FLOATY_MESSAGE, 16777215, 20.0);
 CreateItemOnObject(R"your_custom_item.uti", GetHero());
}

 

Then make sure your developer console is enabled, and in game enter "runscript my_mod_gimme" in the developer console to execute the above script, which should float a message over your head and add the custom item to your inventory. Once you've got that part working and have checked out the item in game, etc., you can go back to the tutorial script to figure out how to make it a more automatic process for your mod, etc.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...