JRS COREDocumentación
Enlaces útiles

RDR3 Discoveries

Animations, scenarios and controls used by JRS Core, and how to find new ones

Sitio oficial · github.com ↗

"Discoveries" is the name the community gives to everything found by looking inside the game: animation dictionaries and clips, scenarios, ped components, audio banks, UI textures, input hashes and more. None of it is documented by the game, so you collect it and test it in game.

Where discoveries are used#

Kind Typical native What it is
Animation RequestAnimDict, TaskPlayAnim A dictionary holds many clips. You request the dictionary, wait until it is loaded, then play a clip by name.
Scenario TaskStartScenarioInPlace A named behaviour (sit, lean, work) the ped plays by itself, optionally at a world point.
Control IsControlPressed, IsControlJustPressed An input is a 32 bit hash. The same physical key can be several hashes.
Texture RequestStreamedTextureDict UI sprites and icons loaded by dictionary name.
Model RequestModel Peds, horses, props and vehicles are loaded by model hash.

Playing an animation safely#

lua
local dict, clip = 'your_dict', 'your_clip'
RequestAnimDict(dict)
local t = GetGameTimer()
while not HasAnimDictLoaded(dict) and GetGameTimer() - t < 5000 do Wait(10) end
if HasAnimDictLoaded(dict) then
    TaskPlayAnim(PlayerPedId(), dict, clip, 8.0, -8.0, 3000, 0, 0, false, false, false)
end
RemoveAnimDict(dict)

Animation clips used by JRS Core (11)#

Dictionary and clip names exactly as the scripts use them.

Dictionary Clip Scripts
script_proc@rustling@olar@player_picklock base jrs_housing, jrs_organizations
amb_misc@world_human_coughing@male_c@wip_base wip_base jrs_metabolism
creatures_mammal@horse@melee@kick kick_back jrs_stable
script_re@pick_pocket@nb_gunsmith l_exit_l_plyr jrs_organizations
FACE_HUMAN@GEN_MALE@BASE Face_Dentistry_Loop jrs_character
FACE_HUMAN@GEN_MALE@BASE mood_normal_eyes_wide jrs_character
amb_wander@upperbody_idles@sick@both_arms@male_a@idle_a idle_c jrs_organizations
amb_work@world_human_repair@high@wrench@male_b@idle_b idle_f jrs_organizations
script_rc@bnp1@leadin@rc3 front_beaugray jrs_organizations
script_rc@cldn@ig@rsc2_ig1_questionshopkeeper inspectfloor_player jrs_goldpanning
script_re@gold_panner@gold_success SEARCH02 jrs_goldpanning

Other animation dictionaries requested (4)#

Dictionary Scripts
mech_inventory@item@pocketwatch@unarmed@base jrs_usable_items
script_common@barber_shop@hair_cut jrs_barber
script_common@tailor_shop@camp jrs_clothing
mech_carry_box jrs_core

Scenarios used (19)#

Scenario Scripts
WORLD_HUMAN_CROUCH_INSPECT jrs_chicken_job, jrs_hunting, jrs_huntingpets
WORLD_ANIMAL_DOG_SITTING jrs_pets
WORLD_HUMAN_HAMMER_CHISEL jrs_organizations
WORLD_HUMAN_INSPECT_SADDLE jrs_stable
MINIGAME_BLACKJACK_PLAYER jrs_casino
WORLD_ANIMAL_DOG_BARKING_UP jrs_pets
WORLD_ANIMAL_DOG_ROLL_GROUND jrs_pets
WORLD_ANIMAL_DOG_SLEEPING jrs_pets
WORLD_ANIMAL_DOG_STANDING jrs_pets
WORLD_HUMAN_DRINKING jrs_organizations
WORLD_HUMAN_DRINK_BEER jrs_organizations
WORLD_HUMAN_HAMMER jrs_organizations
WORLD_HUMAN_HORSE_TEND_BRUSH jrs_organizations
WORLD_HUMAN_INSPECT jrs_organizations
WORLD_HUMAN_SLEEP_GROUND_ARM jrs_metabolism
WORLD_HUMAN_STAND_WAITING jrs_organizations
WORLD_HUMAN_STRIP jrs_organizations
WORLD_HUMAN_WELDING jrs_stable
WORLD_HUMAN_WRITE_NOTEBOOK jrs_organizations

Control hashes read by JRS Core (62)#

Key is the label the scripts give that hash in their own config files (blank when the hash is only used inline).

Control hash Key Scripts Checks
0x07B8BEAF 1 18
0x156F7119 EXIT 12 18
0x760A9C6F local INTERACT_KEY 8 16
0xCEFD9220 key 11 15
0x308588E6 back 6 11
0xC7B5340A DrinkKey 6 11
0xD9D0E1C0 orders 4 9
0xCEE12B50 KeyStudioPose 2 8
0xF84FA74F key2 6 8
0x07CE1E61 ReleaseControlHash 4 7
0x3B24C470 1 6
0x8FD015D8 goForward 4 5
0x8FFC75D6 moveFast 4 5
0xA65EBAB4 PREV 3 5
0xB2F377E8 key 2 5
0xDEB34313 NEXT 3 5
0xE30CD707 Control 3 5
0x27D1C284 PickupControlHash 2 4
0x8AAA0DAA 1 4
0x8AAA0DF4 2 4
0xD27782E3 goBackward 3 4
0xDB096B85 reverse 3 4
0x4AF4D473 Cancel 2 3
0x8CC9CD42 HandsUpKey 2 3
0xDE794E3E Snap45L 2 3
0x05CA7C52 Down 2 2
0x07CE1E02 INPUT_ATTACK 1 2
0x07CE1E0E 1 2
0x156F7136 1 2
0x156F7149 1 2
0x3C04CCB2 1 2
0x3C3DD371 Hotkey 2 2
0x43DBF572 1 2
0x43DBF61F 1 2
0x4403F97F down 1 2
0x446258B6 Key 2 2
0x5415BE48 local farmKeyG 1 2
0x6319DB71 Up 2 2
0x65F9EC5B right 1 2
0x7065027D goLeft 2 2
0x7F8D09B8 RotateLeftControl 1 2
0x8AAA0AD4 control 1 2
0x8CC6723D 1 2
0x911CB09E up 1 2
0xAD7FCC5B left 1 2
0xB4E465B4 goRight 2 2
0xD51B784F goDown 1 2
0xD7D2C501 1 2
0xF84D2171 1 2
0x156D7137 1 1
0x17D3BFF5 key 1 1
0x1F6D95E5 F4ControlHash 1 1
0x24978A28 camMode 1 1
0x25066914 1 1
0x430593AA 1 1
0x4A4D462F 1 1
0x4A903C11 PauseAlternate 1 1
0x7C0162C0 1 1
0xC1989F95 openinv 1 1
0xD415C293 1 1
0xD82E0BD2 Pause 1 1
0xDFF81190 1 1

Finding new ones#

  • Play the interaction in the single player game or in an RDO session and note the dictionary or hash used by the game scripts (see the Decompiled scripts page).
  • Test names in a small client script with a command, and log what loads: an anim dictionary that never loads is a wrong name.
  • Keep a list in your config file with a comment for every entry; names are easy to forget.

Credits#

Discovery lists are community research. Large public collections exist, for example femga/rdr3_discoveries; JRS Core only documents what its own scripts use.

JRS Core · Framework de RedM gratuito y de código abierto · hecho por JRS TEAM