Jump to content

Ambient Gang - New Gang Hideout relationships


filosophem

Recommended Posts

[WIP TODO : youtube vid(s)]

EDIT 20241030, my latest relationships file https://pastebin.com/VUBHPhhZ

 

 

I post this here because Blackjacks420n's   Ambient Gang mod does not have a COMMENTs tab, so maybe we could start discussing this mod here.

This is a tutorial to fix some issues.

 

Don't you guys encounter some silly situations with this mod ?

  • - Saint-Denis lawmen executing the prisoners as you walk in
  • - Van Horn in constant war
  • - A lawman killing a bounty that is on your shoulder, ready to be dropped in the cell (this is from other mods, AMJM and Bounties Enhanced) and collect your money.

If any of those ring a bell and want to fix it I managed to do it.

I installed Ambient Gang first, then New gang Hideouts, nothing more (Except I disabled the changes to Thieves Landing and Twin Rocks by deleting the script and deleting the corresponding Scenarios as I wanted to keep Del Lobo here, and I also disabled Pleasance, it didn't work anyway for some reason and caused AMJM to not spawn the gang hideout from this mod).

 

  1. How to fix "keep Del Lobo's (or any other Gang) vanilla locations" (= disable the mod for Del Lobo's hideaouts)

That is because This mod's gangs hideouts conflicted with AMJM Gang's Hideouts, so I tried to only keep the Ambien Gang's hideouts that had no AMJM Gang spawn.

----> I deleted NoTwinRocksThievesLandingScripts.asi, thieves_landing.ymt and twinrock.ymt, and pleasance_house.ymt.

The only hideout left is Colter. The Del Lobo that are free roaming is not impacted by this.

 

You can actually choose the relationships between all NPCs in the game, so you should be able to fix the "never ending war in Van Horn", Bounty Hunters and Lawmen kill my prisoners as I'm trying, and so on.
You have to edit the relationships.meta file. It contains how every "gang" or group interact with each other, Respect, Like, Ignore, Dislike, Hate (hate = the NPCs shoots the other "gang" member.

I put gang in "" because along with the existing and added gangs, a lot of NPCs are supported by this mod. e.g. Civil Male, Lawman, Van Horn citizen, Wanted Criminals, Guards, Etc.
And for each of these gang, the author defined the relationship they have with other "gangs", this is why the file is so large (8000 lines of XML).
There is 113 "gangs" in total.

 

So first thing for example, I wanted the roaming O'Driscolls to attack me on sight (Hate me) so I search where the relationship between the two "gangs" that are Player and Odriscolls was defined, and changed DISLIKE to HATE

Now I wanted to fix the problems above, so for example I changed "Hate" between Van Horn Thugs and Van Horn Citizen to "dislike", and no more constant war. Same for the lawmen, I think the lawmen should not attack anyone first, so I went to the Cops gang section and changed all the Hate to Dislike.

2 : How to fix the never ending rampage in Van Horn

  • (Optional) : backup the file so you can roll it back in case you mess s#*! up
  • Open C:\Program Files (x86)\Steam\steamapps\common\Red Dead Redemption 2\lml\Ambient Gang - RDR1 Gang Addon/relashionships.meta (all gang's relationships are defined here)

1) Fix Van Horn's THUGS behavior (line 226) :

  • in relationships.meta file search "<RelGroupName>REL_VANHORN_THUG</RelGroupName>" (line 226)
  • Inside this category, look for sub-category <OtherRelGroupName>REL_VANHORN_THUG</OtherRelGroupName> and make sure the "RelationshipType" is NOT "ACQUAINTANCE_TYPE_PED_HATE" (this sub-sub category defines relationship between Van Horn Thugs with themselves so it'd make no sense for them to fight one another) . If so, change the "HATE" for "IGNORE" or whatever. Correct relation values  are : ACQUAINTANCE_TYPE_PED_[RESPECT|LIKE|DISLIKE|IGNORE|HATE]
  • Do the same with their relationships with PLAYER, unless you want them to shoot you on sight.

 

  • Inside same category, search sub category "<OtherRelGroupName>REL_VANHORN_CITIZEN</OtherRelGroupName> (should be line 237)
  • Overwrite <RelationshipType>ACQUAINTANCE_TYPE_PED_HATE</RelationshipType>  with  ACQUAINTANCE_TYPE_PED_RESPECT or DISLIKE or whatever  

2) Fix Van Horn's CITIZEN behavior (line 263) :

  • Do the same thing for this sub-category, (<RelGroupName>REL_VANHORN_CITIZEN</RelGroupName>), Under "<OtherRelGroupName>REL_VANHORN_THUG</OtherRelGroupName>", replace "ACQUAINTANCE_TYPE_PED_HATE" with ACQUAINTANCE_TYPE_PED_DISLIKE (line 291)

 

3. How to fix "Gang members / Lawmen / Bounty Hunters / etc. attack my prisoners during a (Bounty Enhanced mod) encounter"

 

I'll share my config so you can look at it, keep in mind every relationship between two groups are editable. I suggest you use a Compare file software (npp, Winmerge) if you want to see the differences between my file and the default one. e.g. I edited lines 234, 238, 344, 348.

Maybe this post could start discussions about this mod because the author did not allow a Posts section

relationships.meta : https://pastebin.com/QiyUudzG  (1)

Thanks to @Blackjacks420n for putting me on the right path on the how-to, Huge thanks for this killer mod !

 

(1) /!\ Attention , I tried the pastebin file and I had a couple issues I didn't have before , so maybe it needs an update

 

####### SOME EXAMPLES #######

1)  I  Lawmen engage Lemoyne Raiders on sight

-----  Lemoyne :

L. 348 : REL_COP <-->  REL_GANG_LEMOYNE_RAIDERS  Change "DISLIKE" to "HATE"

(l. 3706) REL_PLAYER_COP <---> REL_GANG_LEMOYNE_RAIDERS  : Already at HATE (L.3898)

 

 

Laramies (L. 1259) : ----> L.1287 : LARAMIE / COP : already on "HATE"

 

 

 

 

 

---------------   EDIT 20240824 : 

 

I just had a typical case of wanting to alter 2 gang's relationships, plus I had to find out which gang in the file handles the Del Lobo gang because it's unclear (actually it's UNIBANDIT something), I was captured the process to further illustrate my issues on posts I made "How to know which "Gang" the Wagon's bounties belong ? ord and "What is Del Lobo's NPCs refered to in Ambient Gangs mod ?"

If you're interested, here is pretty much the whole ordeal , the captures speak for themselves I guess

 

----- EDIT 20241027 : (WIP TODO ) I shall do the vids all over again, they are a mess

Ambient Gang's mod roaming members attacking my caged bounties : 

 

 

Bounties Enhanced mod, how to get the prisoner's Gang : 

 

 

 

Ambient gang mod, UNIBANDITOS = DEL_LOBOS : 

 

 

 

-------- EDIT 20241027 : added some extra  details, layout 

Edited by filosophem
more detail, layout
Link to comment
Share on other sites

One of my favorite mods! Thanks! Tell me what needs to be edited so that the Colter bandits attack John: now they are completely indifferent and, in response to John's insults, cowardly run away without firing a single shot! In such a case, they are completely useless and not interesting in the game! Once again THANKS!

Edited by Rufiano
Link to comment
Share on other sites

  • 3 weeks later...

_________________________________________________________________________________________ TMP   - WIP : add group /  metapeds.ymt

 

Search "^ {4}</?Item\>" (4009 hits in 1 file of 1 searched)
C:\Program Files (x86)\Steam\steamapps\common\Red Dead Redemption 2\lml\Ambient Gang - RDR1 Gang Addon\metapeds.ymt (4009 hits)


Search "^ {4}</?Item\>" (4009 hits in 1 file of 1 searched)
C:\Program Files (x86)\Steam\steamapps\common\Red Dead Redemption 2\lml\Ambient Gang - RDR1 Gang Addon\metapeds.ymt (4009 hits)
<Item></Item>    , Line_open  , Line_close    , Item_Len(close-open)
<Item></Item>    ,      4     , 131            , 127
<Item></Item>    ,    132     , 252           , 120
<Item></Item>    ,    253     , 372           , 119
<Item></Item>    , 100079     , 100199        , 120
<Item></Item>    , 100200     , 100319        , 119
<Item></Item>    , 200061     , 200188        , 127
<Item></Item>    , 200189     , 200309        , 120
<Item></Item>    , 200310     , 200437        , 127
<Item></Item>    , 200438     , 200558        , 120
<Item></Item>    , 200559     , 200686        , 127
<Item></Item>    , 200687     , 200814        , 127
 

Edited by filosophem
Link to comment
Share on other sites

  • 1 year later...
Posted (edited)

UPDATE  :  

I encountered some compatibility issues between Bounties Extended and Ambient Gangs mods (Some roaming "Ambient's Gang" gangsters attacking my "Bounty Enhanced" prisoners)

I was a little rusty, I just started a new game, but documented the process of trying find where the problem came from using screen capture, put the links in the OP if interested

help yourselves

 

Edited by filosophem
Link to comment
Share on other sites

  • Recently Browsing   0 members

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