Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Karma don't make NPC aggressive
Author Message
pyrilin
Apprentice
*

Posts: 7
Likes Given: 8
Likes Received: 2 in 2 posts
Joined: Jul 2017
Reputation: 0

MYT Shard

Post: #1
Rainbow Karma don't make NPC aggressive
Hi guys Bye
I am moving my shard from 56b to last 56d build.
But I am stuck with a problem.

The NPC's no long attack players based on their own karma.
So if a put a bandit with -8000 karma, he still pacific

There is a way to change it?

tyvm Smile
11-20-2017 04:29 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 246
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: Karma don't make NPC aggressive
You have to set the NPC's brain as brain_monster
11-20-2017 04:32 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes darksun84's post
pyrilin
Apprentice
*

Posts: 7
Likes Given: 8
Likes Received: 2 in 2 posts
Joined: Jul 2017
Reputation: 0

MYT Shard

Post: #3
RE: Karma don't make NPC aggressive
ouch Sad

The problem is:
I would like to have this feature

Code:
// NPC_AI_EXTRA                00004    Make NPCs human (brain_human) equip/unequip weapons on combat or light sources at night

and if I change the brain it will not work anymore. The same will happen with paperdoll behavior.(dclick will open the healthbar not the paperdoll)

I have no idea what I'm doing Veryhappy
(This post was last modified: 11-20-2017 04:50 AM by pyrilin.)
11-20-2017 04:49 AM
Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #4
RE: Karma don't make NPC aggressive
I think this got changed some years ago to optimize AI engine, where "evil humans NPCs" should be changed from brain_human to brain_monster to act like an real monster instead waste time processing speech entries, vendor behaviors, etc

changing brain_human to brain_monster should not create any conflict with NPC_AI_EXTRA since brain_monster NPCs doesn't equip/unequip items, so you can safely put an sword on NPC hands and it will keep holding this sword forever
11-26-2017 06:23 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Coruja's post
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)