Aller au contenu

Photo

How do I use a script to add items to my character in Awakening?


  • Veuillez vous connecter pour répondre
6 réponses à ce sujet

#1
skarlson

skarlson
  • Members
  • 45 messages
I can get the script to add items from the core resources but I cannot get it to add regular game resources. So, if I can use the script in Awakening it would seem the problem is getting the script itself to recognize the resources I am trying to call. Someone somewhere said you can extra the files to your core override folder of your module but once you extract the uti's there what do you do with them. I want to both look at them in the toolset in the demo module and give them to my character in game.

#2
skarlson

skarlson
  • Members
  • 45 messages
Anyone?

#3
skarlson

skarlson
  • Members
  • 45 messages
bump

#4
Surango

Surango
  • Members
  • 307 messages
Are you talking about enemy drops? There's a mod out there with some in game items on bosses (like the Black Vials revenants) Here's the link: social.bioware.com/project/867/

There's a tutorial in the comments section on how to add your own items in.

#5
traversc

traversc
  • Members
  • 274 messages
The awakening item file names are in contained in the designeritems.ERF file.

To add an item, you can use a script like this:

void main() {
object oPlayer = GetHero();
CreateItemOnObject(R"afshfadsjfhgskdaasgf.uti", oPlayer);
}

The resource does not actually need to be recognized by the toolset or even exist for that matter, like you seem to suggest.  The above script compiles just fine. 

#6
chesspiece

chesspiece
  • Members
  • 14 messages
as stated here http://social.biowar..._custom_modules



i followed everything there and my script wont work in awakening, just on origins

#7
skarlson

skarlson
  • Members
  • 45 messages
Thanks traversc. I wasn't suggesting that scripts won't compile. What I was saying is that the script I use compiles fine and I can summon DA:O items into Awakenings just fine but I cannot summong DA:O:A items into Awakenings using the same script. For instance I can have a bunch of listed from designeritems.erf and items from DA:O to be given to myself in game and DA:O items will spawn fine but not the DA:O:A items.