Jump to content

Don't Touch this!


JagMaker

Recommended Posts

Hi all, need a little help)

 

In fight enemies or friends are looting weapons from dead bodies.,

so, how to make they didn't do this?

 

or how to make it for 1 npc only?

 

have tried to change ai packages, data's, combat changes,

as result - or npc completely stuck, or anyway gathering weapon =\

Link to comment
Share on other sites

Well, weapon forms have a flag for player only, or hidden. One of them is player only an is removed from ai searches of containers (only player can use it), to which the equation for combat ai looks at damage rates and scans the general area (or a much larger area if you set that) for weapons/ammo. I don't know it's doing that specifically, but it seems that way. Weapons flagged as hidden, are hidden from the NPC actors inventory & replaced with a death item, which in this case would include a different version of the weapon, because they had one, and it was there, so a kind of wacky wonky way to circumvent that. The weapon they use in combat & the weapon you find in that actors inventory after death are different weapons that appear the same. I'm just guessing that here the death item weapon would have a much lower damage rate & be set up for it's value in scrap more than actual combat usage.

 

*edit* Also you could look at companion weapons, how they are made, might have a part in creating a persistent weapon, or change the ai to not search for other weapons, I'm guessing it would be in sandbox & combat ai packages.

Edited by stihspid
Link to comment
Share on other sites

no, hidden flag - is hidden for player, npc are anyway will use em..

about ai - so, i have Human npc, he have ai of ghoul, combat data of bloodbug, and radstag's mentality,

but anyway - in combat first he doing - runing to take weapon from nearest corpse (

 

have tried to give him weapon and "bound" it., no result

have tried to change data in ai package - use only keyworded weapon (grenades for excample)., no result

have tried to change combat ai inside ai package., no

 

there must be some secret flag, that allows the npc to do that.

Edited by JagMaker
Link to comment
Share on other sites

Look at the actor. Look at the packages & look at the combat style (which is basically a combat ai) There would be flags in there if there was an ability to stop container searches for weapons. But what weapon are they using, because there isn't much reason for the actor to grab another weapon unless there are weapons around that have higher damage rates. Also companions don't exhibit that behavior, either relating to specific packages or the companion created weapons, which are a little different. You didn't give specifics, so I just guessed.
Link to comment
Share on other sites

so, have some progress, that secret flag "can pickup items" was in race \ human race \ combat data

 

bt it will disable this function for all of npc, 'n i need for one only

 

or to disable it would be even better?)

Edited by JagMaker
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...