Ok this post may not go here but I did put a post in PC gaming but no response. I hope to get some help here? I love this forum and I do get a lot of good advise here. Ok, I bought Dragon Age Origins on PC on Steam and was told about the DAO toolset and mods I'm not new to pc gaming for all games look better on pc but I am new to modding. I have look long and wide over the past week on the inter-webs and found a lot of useful information but just having a hard time to get it all together. I have was hoping for some help on getting my own mods to spawn in game. I was mention in my other post the blogger I was following his guide and it worked, I was able to get a weapon I made into my game, but I haven't be able to get another since so I feel that was just luck. Here is a model of a mage staff I'm made and used the same code as my other item which was a long sword.
How do I write in the code that I want this item to be in my inventory at load? Thanks for any help and any suggestions on other mods
#include "utility_h"
#include "wrappers_h"
#include "events_h"
void main()
{
event ev = GetCurrentEvent();
int nEvent = GetEventType(ev);
Log_Events("",ev);
switch (nEvent)
{
case EVENT_TYPE_MODULE_LOAD:
{
// get the object which contains the player
object oPlayer = GetHero();
object longsword = GetObjectByTag("scion_salasfamsword");
if (!IsObjectValid(longsword))
UT_AddItemToInventory(R"scion_salasfamsword.uti",1);
break;
}
default:
{
break;
}
}
}