Garry's Mod

Garry's Mod

ABANDONED [ANP] Combine Officers (no longer updating)
filz0 12 Feb, 2023 @ 12:19pm
IF you want them to attack players
['Relations'] = { ['Default'] = { ['MeToNPC'] = { "Default", 0 }, ['NPCToMe'] = { "Default", 0 } }, -- Like/Hate/Fear/Neutral/Default(no change) ['player'] = { ['MeToNPC'] = { "Hate", 0 } }, },
Last edited by filz0; 12 Feb, 2023 @ 12:20pm
< >
Showing 1-12 of 12 comments
Smashing93  [developer] 12 Feb, 2023 @ 12:28pm 
Oh wait it was working fine for me-

Might be due to me replacing the default with hate, if that fix doesn't than idk why it isn't working all of a sudden-
Smashing93  [developer] 12 Feb, 2023 @ 12:36pm 
Probably something on that subscriber's end
filz0 12 Feb, 2023 @ 12:41pm 
It might be and I wouldn't be surprised.
Smashing93  [developer] 12 Feb, 2023 @ 12:44pm 
yeah, I quick check and it's fine besides being able to follow you if you press use. But stops when either ai is enabled and ignore players is disabled
filz0 12 Feb, 2023 @ 12:45pm 
Cuz they don't see you xD
filz0 12 Feb, 2023 @ 12:45pm 
Sorta
Smashing93  [developer] 12 Feb, 2023 @ 12:48pm 
makes sense
Okay so I just tested the addon again and now the officers are actually attacking me, I only have two addons that could possibly have caused the issue (altough they really shouldn't). The two addons are "Player Based NPC Relations" and "NPC Tools 2 [FIXED]" I am about 99.9% sure that I didn't mess with either considering that all other combine NPCs were hostile to me
filz0 13 Feb, 2023 @ 12:51am 
Originally posted by Smelly:
Okay so I just tested the addon again and now the officers are actually attacking me, I only have two addons that could possibly have caused the issue (altough they really shouldn't). The two addons are "Player Based NPC Relations" and "NPC Tools 2 [FIXED]" I am about 99.9% sure that I didn't mess with either considering that all other combine NPCs were hostile to me
The first one is literally the issue.
Ok nore info for this guy Who has the issue
First addon mosofies player relationship based on players model
And because of the fact that these npcs are considered as rebel by system it blah blah blah
Dont use relationship modifiers with anp
Okay sure alright then.

If the creator doesn't mind, I have tested the addon a bit more (with no addons except for the requirements enabled) And I have found two Issues:
-Sometimes the NPC's don't get an officer model applied when spawning, causing them to just look like normal citizens
-Combine NPCs spawned after an officer are hostile to said officer for about 1-3 seconds. For example if I spawn a metrocop and then an officer everything will be fine between them but if I spawn another metrocop after that, the new metrocop and the officer will agro eachother for a bit before becoming friendly
Smashing93  [developer] 19 Feb, 2023 @ 6:53am 
I think it's a glitch on how ANP works as the creator of ANplus said it's because they don't see each other so when their AI is on they can see other npcs.

So I assume the code or how the relationship code works is that it works when they are disable it doesn't run- So it takes a bit to actually start or recognize them as allies


As for the citizen showing up I have no clue, as I think it's the base's creator to fix. Same with the relationship thing.
Last edited by Smashing93; 19 Feb, 2023 @ 6:54am
< >
Showing 1-12 of 12 comments
Per page: 1530 50