Aller au contenu

Photo

Spawning NPCs with Toolset or Console.


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

#1
Enad

Enad
  • Members
  • 686 messages
Hi, I'm curious to whether it's possible to spawn some generic NPCs via the console or if not, via the toolset.


Are either of these possible? 
I'm just looking to populate a few areas with generic NPCs.

#2
Enad

Enad
  • Members
  • 686 messages
bump?

No one?

#3
Karma

Karma
  • Members
  • 391 messages
Yes, it's possible with the toolset and PRCSCR. The wiki should have information on how to do this.

#4
Enad

Enad
  • Members
  • 686 messages
Anywhere specific I should look in the wiki?

#5
Karma

Karma
  • Members
  • 391 messages
The page about PRCSCR (http://social.biowar...cript_Templates)

#6
Enad

Enad
  • Members
  • 686 messages
Thanks!

Is there anywhere I can find of list of area tags? I've never done this before so forgive me if I sound like a total noob.

For instance, if I want to spawn a Grey Warden NPC(like one you'd find in Dwarven Noble origin) in the deep roads.
How would I do that?

Do you know the script off hand or do you know where I can find a list of NPCs to spawn and area tags?

Modifié par Enad, 05 mars 2013 - 03:48 .


#7
Karma

Karma
  • Members
  • 391 messages
If there is a list of tags, I have no idea where to find it. You'll probably just have to open the area/NPC in the toolset and look at their tags there.

This is just a general overview. You'll have to search the wiki for detailed directions.
1. Create a PRCSCR spreadsheet that states the area you want to modify and the script to run when you enter that area. (See the wiki for PRCSCR details.)
2. Convert the .xls into .gda using ExcelProcessor.exe.
3. Write and compile a script similar to the one on the page I linked earlier. (You do need something that keeps the NPC from spawning over and over again. You can use a plot like they did in the example, or you can use a script function to check to see if it's valid.)
4. Make sure all files were exported, and put the exported files into packages/core/override (or your mod's folder if you made a whole new mod for this).

Modifié par satans_karma, 05 mars 2013 - 06:28 .


#8
sea-

sea-
  • Members
  • 264 messages
Unfortunately because Dragon Age was never built with the idea of a player DM in mind, there is no easy way to spawn anyone or anything using console commands. As satans_karma already described, PRCSCR is the easiest method because it does not modify the original area file but only adds to it indirectly. You don't even need a PRCSCR if you want to use a console command and have already made a script, but PRCSCR is most convenient.