Aller au contenu

Photo

NPC's spawn injured?


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

#1
Alupinu

Alupinu
  • Members
  • 528 messages
Now I know this has been posted before but I can’t find anything on it at least in the new forum. Question: How do you get your NPC’s, creatures, ect to spawn in with full HP? A lot of my NPC’s are spawning in labeled “injured”. I’m almost sure there’s a fix for this; just don’t know what it is. Can someone help me out? Thank you.

#2
Shallina

Shallina
  • Members
  • 1 011 messages
create your own blueprint of the NPC with full HP, by default they aren't full HP.



You can also change the on spawn script to include instruction that will put them to full life.

#3
Alupinu

Alupinu
  • Members
  • 528 messages
Thank you Shallina, I'll give that a try. :)

#4
Quilistan

Quilistan
  • Members
  • 111 messages
If what I understand/noticed is correct, they spawn without their CON bonus hit points. Putting in a force rest command in the onspawn script works around this.

#5
Alupinu

Alupinu
  • Members
  • 528 messages
Interesting, i did not know that Quilistan. I'll have to keep that in mind in case that if all else fails. :)

#6
M. Rieder

M. Rieder
  • Members
  • 2 530 messages
In one of the tabs on the blueprints, there is a place where you can choos all the stats on the NPC. There are 2 hitpoint boxes. One is "current" and one is "max". Make sure they match, otherwise the NPC will show up injured.***Note, I don't have the toolset in front of me, so the names of the boxes may be wrong.


On a side note, Alpinu, have you considered posting a thread in the modules forum which announces the development of your mod.  I just saw the announcement on the Vault.  I think more people may become aware of it if you put it in the boards as well.  It looks really interesting. 

Modifié par M. Rieder, 18 janvier 2011 - 05:34 .


#7
Alupinu

Alupinu
  • Members
  • 528 messages
Well I think I have fixed my little problem. It was simple. Just added a .5 of the total HP to the total HP and problem seemed to be solved. These of course are all just npc’s and will not be involved in combat. Fortunately about 95% of my monsters are spawned in by trigger and that seems to work fine as far as full HP’s.



@M.Rieder, Yes, thank you I am planning to do an official announcement soon, in the middle of re-doing a chapter in my story line. Once I have a few things in concrete, like the story line, I plane to start an ‘announcement post’ with up-dates and an occasional fresh, screen shots.


#8
M. Rieder

M. Rieder
  • Members
  • 2 530 messages
Great news!