From e7567e7de9fd74adb337174a3ce985eb65d98b6a Mon Sep 17 00:00:00 2001 From: Valentin CHENE <66779630+Sarbatore@users.noreply.github.com> Date: Fri, 20 Sep 2024 22:14:34 +0200 Subject: [PATCH 1/3] Create README.md --- AI/RELATIONSHIP/README.md | 164 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 164 insertions(+) create mode 100644 AI/RELATIONSHIP/README.md diff --git a/AI/RELATIONSHIP/README.md b/AI/RELATIONSHIP/README.md new file mode 100644 index 00000000..d97c37d1 --- /dev/null +++ b/AI/RELATIONSHIP/README.md @@ -0,0 +1,164 @@ +## Example +```lua +SetPedRelationshipGroupHash(ped, joaat("rel_civmale")) + +SetRelationshipBetweenGroups(2, joaat("rel_civmale"), joaat("rel_criminals")) +``` + +# List of existant relations: +Relationship Group | +-- | +rel_player_ally +rel_exit_a +rel_engraving_material_2 +rel_pelt +rel_gang_laramie_gang +rel_engraving_material_8 +rel_logo15x +rel_player_6 +rel_player_2 +rel_logo3x +rel_material_1 +rel_logo18x +rel_material_7 +rel_mp_like_all_players +rel_player_23 +rel_player_26 +rel_re_victim +rel_gt_team_1 +rel_player_1 +rel_player_20 +rel_logo7x +rel_gang_dutchs +rel_cor01x +rel_player_13 +rel_braith_guard +rel_player_24 +rel_wash01x +rel_logo5x +rel_player_7 +rel_engraving_material_3 +rel_jn +rel_rider +rel_player_14 +rel_guama_law +rel_engraving_material_1 +rel_chase_squirrel +rel_gt_team_2 +rel_01_ms +rel_engraving_material_4 +rel_break +rel_logo4x +rel_network_free_agent +rel_player_8 +rel_player_29 +rel_logo13x +rel_logo20x +rel_engraving_material_9 +rel_gang_odriscoll +rel_engraving_material_7 +rel_ar +rel_1 +rel_player_0 +rel_player_17 +rel_cop +rel_logo1x +rel_statue +rel_legendary +rel_eating +rel_engraving_2 +rel_01_sm +rel_on_log +rel_player_11 +rel_greys +rel_bounty +rel_Loop +rel_logo11x +rel_bounty_hunter +rel_network_safe +rel_hen_animal +rel_civmale +rel_load +rel_gt_team_3 +rel_01 +rel_braithwaites +rel_player_22 +rel_gt_team_7 +rel_logo17x +rel_player_3 +rel_player_28 +rel_long +rel_player_enemy +rel_engraving_3 +rel_black +rel_player_15 +rel_gang_murfree_brood +rel_on_mantel +rel_player_cop +rel_uncle +rel_gt_team_6 +rel_player_31 +rel_gt_ffa +rel_short +rel_engraving_4 +rel_group +rel_0 +rel_minigame_player +rel_player_12 +rel_09a +rel_logo8x +rel_civfemale +rel_town_mob +rel_player_4 +rel_criminals +rel_crossover +rel_civnative +rel_companion_group +rel_player_27 +rel_gt_team_4 +rel_red +rel_player_10 +rel_re_enemy +rel_gang_creole +rel_domesticated_pet_animal +rel_gang_lemoyne_raiders +rel_engraving_material_6 +rel_player_30 +rel_gt_team_5 +rel_poor +rel_player_18 +rel_logo2x +rel_gt_team_0 +rel_mp_wanted_criminal +rel_rider_ar +rel_mp +rel_player_9 +rel_player_5 +rel_unload +rel_logo12x +rel_logo6x +rel_player_25 +rel_fetch_enemy_1 +rel_logo9x +rel_tail +rel_gang_skinner_brothers +rel_domesticated_animal +rel_logo10x +rel_player_21 +rel_shooter +rel_pinkertons +rel_player_like +rel_rider_jn +rel_engraving_material_5 +rel_gang_dutchs_horses +rel_player_dislike +rel_engraving_1 +rel_player_19 +rel_player_16 +rel_logo14x +rel_exotic +rel_fetch_enemy_2 +rel_ladle01x +rel_gang_smugglers +rel_gunslingers +rel_group_ends_on_aggro From 0bf9655f9717065f87f56f7e7bee8050feffeef7 Mon Sep 17 00:00:00 2001 From: Valentin CHENE <66779630+Sarbatore@users.noreply.github.com> Date: Fri, 20 Sep 2024 22:46:58 +0200 Subject: [PATCH 2/3] Added more relationship groups --- AI/RELATIONSHIP/README.md | 62 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/AI/RELATIONSHIP/README.md b/AI/RELATIONSHIP/README.md index d97c37d1..9dad6db0 100644 --- a/AI/RELATIONSHIP/README.md +++ b/AI/RELATIONSHIP/README.md @@ -8,6 +8,7 @@ SetRelationshipBetweenGroups(2, joaat("rel_civmale"), joaat("rel_criminals")) # List of existant relations: Relationship Group | -- | +PLAYER rel_player_ally rel_exit_a rel_engraving_material_2 @@ -162,3 +163,64 @@ rel_ladle01x rel_gang_smugglers rel_gunslingers rel_group_ends_on_aggro +REL_CHU_PRIMARY_ +REL_WASTED_ +REL_BILL +REL_WILD_ANIMAL_BIRD +REL_SHOPKEEPER +REL_SHOTGUN_A +REL_ANIMAL +REL_REAMD_LEMOYNE_RAIDERS +REL_REBNT +REL_HOSEA +REL_WILD_ANIMAL +REL_GANG_LEADER +REL_GROUP_PASSENGERS +REL_001 +REL_CATHERINE +REL_FISH +REL_ALLIGATOR +REL_TRAIN_HOLDUP +REL_REAA_ANIMALS +REL_ENEMIES +REL_OREPHT +REL_CHU_ALLY_ +REL_GROUP_WAYNE +REL_PED2_SCENARIO +REL_NO_RELATIONSHIP +REL_REAMD_JOINT +REL_LOGGING_WOLF +REL_MM +REL_1A +REL_MPREST +REL_DRUNK_ +REL_RUN +REL_CHU_ENEMY_ +REL_DEAD +REL_SHOTGUN_B +REL_CHU_KIDNAP_ +REL_REAMD_DEALERS +REL_EQUIPPED +REL_TENANT +REL_MPREAA +REL_LOGGING +REL_CATFISH_FATHER +REL_CONVOY +REL_CATFISH_SON +REL_PED1_SCENARIO +REL_EMENY +REL_HIGH_QUALITY +REL_REEX_RAIDERS +REL_DESC +REL_WILD_ANIMAL_PREDATOR +REL_1J +REL_2 +REL_MINE_WORKERS +REL_MICAH +REL_FRIENDLY +REL_BOAR +REL_PELT_PRISTINE +REL_RESAF_CAMPER +REL_DUTCH +REL_PERFECT +REL_PELT_POOR From be367272dac2a9fc8ef6ee5f6cbb75e7bb50e0ab Mon Sep 17 00:00:00 2001 From: Valentin CHENE <66779630+Sarbatore@users.noreply.github.com> Date: Mon, 23 Sep 2024 11:20:07 +0200 Subject: [PATCH 3/3] Cleared wrong groups and added infos --- AI/RELATIONSHIP/README.md | 240 ++++++++------------------------------ 1 file changed, 51 insertions(+), 189 deletions(-) diff --git a/AI/RELATIONSHIP/README.md b/AI/RELATIONSHIP/README.md index 9dad6db0..47a86bfb 100644 --- a/AI/RELATIONSHIP/README.md +++ b/AI/RELATIONSHIP/README.md @@ -1,226 +1,88 @@ ## Example ```lua -SetPedRelationshipGroupHash(ped, joaat("rel_civmale")) - -SetRelationshipBetweenGroups(2, joaat("rel_civmale"), joaat("rel_criminals")) +-- This line will make male civils hate players. +SetRelationshipBetweenGroups(6, `rel_civmale`, `PLAYER`) ``` -# List of existant relations: +# List of game based relations: Relationship Group | -- | -PLAYER +rel_civmale (male civils default group) +rel_civfemale (female civils default group) +rel_civnative (indians default group) +rel_domesticated_pet_animal +rel_domesticated_animal (cows, pigs, etc.. default group) +REL_WILD_ANIMAL (wild animals default group) +REL_WILD_ANIMAL_BIRD (birds default group) +REL_WILD_ANIMAL_PREDATOR (predators default group) +REL_ALLIGATOR (alligators default group) +REL_REAA_ANIMALS +rel_hen_animal (hens default group) +REL_BOAR (boars default group) +PLAYER (default players group) +rel_player_ (default players group in MP) +rel_player_like +rel_player_dislike rel_player_ally -rel_exit_a -rel_engraving_material_2 -rel_pelt +rel_player_enemy +rel_player_cop +REL_GANG_LEADER rel_gang_laramie_gang -rel_engraving_material_8 -rel_logo15x -rel_player_6 -rel_player_2 -rel_logo3x -rel_material_1 -rel_logo18x -rel_material_7 -rel_mp_like_all_players -rel_player_23 -rel_player_26 -rel_re_victim -rel_gt_team_1 -rel_player_1 -rel_player_20 -rel_logo7x rel_gang_dutchs -rel_cor01x -rel_player_13 -rel_braith_guard -rel_player_24 -rel_wash01x -rel_logo5x -rel_player_7 -rel_engraving_material_3 -rel_jn -rel_rider -rel_player_14 -rel_guama_law -rel_engraving_material_1 -rel_chase_squirrel -rel_gt_team_2 -rel_01_ms -rel_engraving_material_4 -rel_break -rel_logo4x -rel_network_free_agent -rel_player_8 -rel_player_29 -rel_logo13x -rel_logo20x -rel_engraving_material_9 +rel_gang_dutchs_horses rel_gang_odriscoll -rel_engraving_material_7 -rel_ar -rel_1 -rel_player_0 -rel_player_17 -rel_cop -rel_logo1x -rel_statue -rel_legendary -rel_eating -rel_engraving_2 -rel_01_sm -rel_on_log -rel_player_11 -rel_greys +rel_gang_skinner_brothers +rel_gang_smugglers +rel_gang_creole +rel_gang_lemoyne_raiders +rel_gang_murfree_brood +rel_gt_team_ (probably default groups in MP when you join a group) +rel_gt_ffa +rel_mp_like_all_players +rel_mp_wanted_criminal +REL_MPREST +REL_MPREAA +rel_re_enemy +rel_re_victim rel_bounty -rel_Loop -rel_logo11x rel_bounty_hunter rel_network_safe -rel_hen_animal -rel_civmale -rel_load -rel_gt_team_3 -rel_01 +rel_network_free_agent rel_braithwaites -rel_player_22 -rel_gt_team_7 -rel_logo17x -rel_player_3 -rel_player_28 -rel_long -rel_player_enemy -rel_engraving_3 -rel_black -rel_player_15 -rel_gang_murfree_brood -rel_on_mantel -rel_player_cop -rel_uncle -rel_gt_team_6 -rel_player_31 -rel_gt_ffa -rel_short -rel_engraving_4 -rel_group -rel_0 +rel_braith_guard +rel_fetch_enemy_ +REL_CHU_PRIMARY_ +REL_CHU_ALLY_ +REL_CHU_ENEMY_ +REL_CHU_KIDNAP_ +REL_REAMD_LEMOYNE_RAIDERS +REL_REAMD_JOINT +REL_REAMD_DEALERS +rel_guama_law +rel_cop +rel_greys rel_minigame_player -rel_player_12 -rel_09a -rel_logo8x -rel_civfemale rel_town_mob -rel_player_4 rel_criminals -rel_crossover -rel_civnative rel_companion_group -rel_player_27 -rel_gt_team_4 -rel_red -rel_player_10 -rel_re_enemy -rel_gang_creole -rel_domesticated_pet_animal -rel_gang_lemoyne_raiders -rel_engraving_material_6 -rel_player_30 -rel_gt_team_5 -rel_poor -rel_player_18 -rel_logo2x -rel_gt_team_0 -rel_mp_wanted_criminal -rel_rider_ar -rel_mp -rel_player_9 -rel_player_5 -rel_unload -rel_logo12x -rel_logo6x -rel_player_25 -rel_fetch_enemy_1 -rel_logo9x -rel_tail -rel_gang_skinner_brothers -rel_domesticated_animal -rel_logo10x -rel_player_21 rel_shooter rel_pinkertons -rel_player_like -rel_rider_jn -rel_engraving_material_5 -rel_gang_dutchs_horses -rel_player_dislike -rel_engraving_1 -rel_player_19 -rel_player_16 -rel_logo14x -rel_exotic -rel_fetch_enemy_2 -rel_ladle01x -rel_gang_smugglers rel_gunslingers -rel_group_ends_on_aggro -REL_CHU_PRIMARY_ -REL_WASTED_ -REL_BILL -REL_WILD_ANIMAL_BIRD REL_SHOPKEEPER -REL_SHOTGUN_A -REL_ANIMAL -REL_REAMD_LEMOYNE_RAIDERS REL_REBNT -REL_HOSEA -REL_WILD_ANIMAL -REL_GANG_LEADER -REL_GROUP_PASSENGERS -REL_001 REL_CATHERINE -REL_FISH -REL_ALLIGATOR REL_TRAIN_HOLDUP -REL_REAA_ANIMALS -REL_ENEMIES REL_OREPHT -REL_CHU_ALLY_ -REL_GROUP_WAYNE -REL_PED2_SCENARIO REL_NO_RELATIONSHIP -REL_REAMD_JOINT REL_LOGGING_WOLF -REL_MM -REL_1A -REL_MPREST -REL_DRUNK_ -REL_RUN -REL_CHU_ENEMY_ -REL_DEAD -REL_SHOTGUN_B -REL_CHU_KIDNAP_ -REL_REAMD_DEALERS -REL_EQUIPPED +REL_DRUNK_ REL_TENANT -REL_MPREAA REL_LOGGING REL_CATFISH_FATHER REL_CONVOY REL_CATFISH_SON -REL_PED1_SCENARIO -REL_EMENY -REL_HIGH_QUALITY REL_REEX_RAIDERS -REL_DESC -REL_WILD_ANIMAL_PREDATOR -REL_1J -REL_2 REL_MINE_WORKERS +REL_DUTCH REL_MICAH -REL_FRIENDLY -REL_BOAR -REL_PELT_PRISTINE REL_RESAF_CAMPER -REL_DUTCH -REL_PERFECT -REL_PELT_POOR