Aller au contenu

Photo

How to spawn a creature?


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

#1
maliagante

maliagante
  • Members
  • 9 messages

Is there a simple way to spawn a specified creature or NPC in-game that is missing due to a bug? Or if not, what do I need to do?

 

I remember this being a quick console command in NWN and several other games, but I can't find any for NWN2.

 

I have a so-called "resref blueprint" code for the creature, but unsure what to do with it... This is a community made module, btw.

 

Any help would be greatly appreciated :)



#2
Kaldor Silverwand

Kaldor Silverwand
  • Members
  • 1 585 messages

Is there a simple way to spawn a specified creature or NPC in-game that is missing due to a bug? Or if not, what do I need to do?
 
I remember this being a quick console command in NWN and several other games, but I can't find any for NWN2.
 
I have a so-called "resref blueprint" code for the creature, but unsure what to do with it... This is a community made module, btw.
 
Any help would be greatly appreciated :)


You'll probably need to use the toolset to create and compile a script and then you can run the script from the console. I would post in the scripting forum and provide more specific information about the restful and the module.

Regards
  • maliagante aime ceci

#3
Kaldor Silverwand

Kaldor Silverwand
  • Members
  • 1 585 messages
Restful= resref. Damn autocorrect.

#4
maliagante

maliagante
  • Members
  • 9 messages

You'll probably need to use the toolset to create and compile a script and then you can run the script from the console. I would post in the scripting forum and provide more specific information about the restful and the module.

Regards

Thanks for replying! OK, so nothing as easy as NWN, Skyrim and such... I'm afraid scripts and toolsets are a bit beyond my knowledge, but thank you anyway. :)



#5
4760

4760
  • Members
  • 1 204 messages

You may try this thread too.



#6
Tchos

Tchos
  • Members
  • 5 042 messages

You can use the built-in script ga_create_obj to spawn the creature, since you know its resref.

 

Open the console, then type:

debugmode 1

Then type:

rs ga_create_obj("C", "put your resref here", "", 0, "", 0.0)

The empty quotes are necessary.



#7
maliagante

maliagante
  • Members
  • 9 messages

Thanks to everyone that replied, really appreciated -- the "rs ga_create_obj" one worked perfectly, problem solved. Jubilations! :D