Skip to content

streaming


request_model

void native.streaming.request_model(int model, bool p1)

Request a model to be loaded into memory.

has_model_loaded

bool native.streaming.has_model_loaded(int model)

Checks if the specified model has loaded into memory.

set_model_as_no_longer_needed

void native.streaming.set_model_as_no_longer_needed(int model)

Marks the model as no longer needed.

is_model_in_cdimage

bool native.streaming.is_model_in_cdimage(int model)

Returns whether the specified model exists in the game.

is_model_valid

bool native.streaming.is_model_valid(int model)

Returns whether the specified model is valid

is_model_a_ped

bool native.streaming.is_model_a_ped(int model)


is_model_a_vehicle

bool native.streaming.is_model_a_vehicle(int model)

Returns whether the specified model represents a vehicle.

_is_model_an_object

bool native.streaming._is_model_an_object(int model)


_has_collision_loaded_at_coord

bool native.streaming._has_collision_loaded_at_coord(float x, float y, float z)


_0x80b3e0597366adf1

void native.streaming._0x80b3e0597366adf1()


request_collision_at_coord

void native.streaming.request_collision_at_coord(float x, float y, float z)


_request_metadata_at_coord

void native.streaming._request_metadata_at_coord(float x, float y, float z)


request_collision_for_model

void native.streaming.request_collision_for_model(int model)


has_collision_for_model_loaded

bool native.streaming.has_collision_for_model_loaded(int model)


request_additional_collision_at_coord

void native.streaming.request_additional_collision_at_coord(float x, float y, float z)


does_anim_dict_exist

bool native.streaming.does_anim_dict_exist(string anim_dict)


request_anim_dict

void native.streaming.request_anim_dict(string anim_dict)


has_anim_dict_loaded

bool native.streaming.has_anim_dict_loaded(string anim_dict)


remove_anim_dict

void native.streaming.remove_anim_dict(string anim_dict)


request_move_network_def

void native.streaming.request_move_network_def(string name)


has_move_network_def_loaded

bool native.streaming.has_move_network_def_loaded(string name)


remove_move_network_def

void native.streaming.remove_move_network_def(string name)


request_clip_set

void native.streaming.request_clip_set(string clip_set)


has_clip_set_loaded

bool native.streaming.has_clip_set_loaded(string clip_set)

Alias for HAS_ANIM_SET_LOADED.

remove_clip_set

void native.streaming.remove_clip_set(string clip_set)

Alias for REMOVE_ANIM_SET.

_request_clip_set_by_hash

void native.streaming._request_clip_set_by_hash(int clip_set_hash)


_0x03ddbf2d73799f9e

void native.streaming._0x03ddbf2d73799f9e(int p0)


_0x85b8f04555ab49b8

int native.streaming._0x85b8f04555ab49b8(int p0)


_0x9f348de670423460

void native.streaming._0x9f348de670423460(int p0)


_0x5288b7f0690f7c1f

int native.streaming._0x5288b7f0690f7c1f(int p0)


_request_scenario_type

int native.streaming._request_scenario_type(int scenario_type, int p1, int p2, int p3)


_has_scenario_type_loaded

bool native.streaming._has_scenario_type_loaded(int scenario_type, bool p1)


_remove_scenario_asset

int native.streaming._remove_scenario_asset(int scenario_type)


_0xb223249b7798eeed

int native.streaming._0xb223249b7798eeed(int p0, int p1, int p2, int p3)


_0xa0ae7653e8181725

int native.streaming._0xa0ae7653e8181725(int p0)


_0x66bc28e50e85270e

int native.streaming._0x66bc28e50e85270e(int p0)


_get_ipl_bounding_sphere

bool native.streaming._get_ipl_bounding_sphere(int ipl_hash, ref vec3 position, ptr int radius)

Outputs IPL position and radius (previously wrongly named heading)
https://github.com/femga/rdr3_discoveries/blob/master/imaps/imaps_with_coords_and_heading.lua

request_ipl_hash

void native.streaming.request_ipl_hash(int ipl_hash)

Old name: _REQUEST_IMAP

request_ipl_by_hash

void native.streaming.request_ipl_by_hash(int ipl_hash)

Old name: _REQUEST_IMAP_2

remove_ipl_hash

void native.streaming.remove_ipl_hash(int ipl_hash)

Old name: _REMOVE_IMAP

remove_ipl_by_hash

void native.streaming.remove_ipl_by_hash(int ipl_hash)

Old name: _REMOVE_IMAP_2

is_ipl_active_hash

bool native.streaming.is_ipl_active_hash(int ipl_hash)

Old name: _IS_IMAP_ACTIVE

is_ipl_active_by_hash

bool native.streaming.is_ipl_active_by_hash(int ipl_hash)

Old name: _IS_IMAP_ACTIVE_2

_is_position_inside_ipl_streaming_extents

bool native.streaming._is_position_inside_ipl_streaming_extents(int ipl_hash, float x, float y, float z)

Returns true if IPL is streamed in (?)

_0xdeee1f265b7ecef5

void native.streaming._0xdeee1f265b7ecef5()


set_game_pauses_for_streaming

void native.streaming.set_game_pauses_for_streaming(bool toggle)


get_number_of_streaming_requests

int native.streaming.get_number_of_streaming_requests()


request_ptfx_asset

void native.streaming.request_ptfx_asset()


has_ptfx_asset_loaded

bool native.streaming.has_ptfx_asset_loaded()


remove_ptfx_asset

void native.streaming.remove_ptfx_asset()


request_named_ptfx_asset

void native.streaming.request_named_ptfx_asset(int fx_name_hash)


has_named_ptfx_asset_loaded

bool native.streaming.has_named_ptfx_asset_loaded(int fx_name_hash)


remove_named_ptfx_asset

void native.streaming.remove_named_ptfx_asset(int fx_name_hash)


set_population_budget_multiplier

void native.streaming.set_population_budget_multiplier(float f_budget_multiplier)


get_population_budget_multiplier

float native.streaming.get_population_budget_multiplier()


_0x071769bcb24379e5

int native.streaming._0x071769bcb24379e5()


clear_focus

void native.streaming.clear_focus()


set_focus_pos_and_vel

void native.streaming.set_focus_pos_and_vel(float x, float y, float z, float offset_x, float offset_y, float offset_z)


set_focus_entity

void native.streaming.set_focus_entity(int entity)

It seems to make the entity's coords mark the point from which LOD-distances are measured. In my testing, setting a vehicle as the focus entity and moving that vehicle more than 300 distance units away from the player will make the level of detail around the player go down drastically (shadows disappear, textures go extremely low res, etc). The player seems to be the default focus entity.

is_entity_focus

bool native.streaming.is_entity_focus(int entity)


set_mapdatacullbox_enabled

void native.streaming.set_mapdatacullbox_enabled(string name, bool toggle)


set_all_mapdata_culled

void native.streaming.set_all_mapdata_culled(int p0)

nullsub, doesn't do anything

_0xf01d21df39554115

void native.streaming._0xf01d21df39554115(int p0)


load_scene_start

bool native.streaming.load_scene_start(float pos_x, float pos_y, float pos_z, float offset_x, float offset_y, float offset_z, float radius, int p7)


load_scene_start_sphere

bool native.streaming.load_scene_start_sphere(float x, float y, float z, float radius, int p4)


load_scene_stop

void native.streaming.load_scene_stop()


is_load_scene_active

bool native.streaming.is_load_scene_active()


is_load_scene_loaded

bool native.streaming.is_load_scene_loaded()


is_rendered_scene_loaded

bool native.streaming.is_rendered_scene_loaded()


is_player_switch_in_progress

bool native.streaming.is_player_switch_in_progress()


set_scene_streaming_tracks_cam_pos_this_frame

void native.streaming.set_scene_streaming_tracks_cam_pos_this_frame()


ipl_group_swap_start

void native.streaming.ipl_group_swap_start(string ipl_name1, string ipl_name2)


ipl_group_swap_cancel

void native.streaming.ipl_group_swap_cancel()


ipl_group_swap_is_ready

bool native.streaming.ipl_group_swap_is_ready()


ipl_group_swap_finish

void native.streaming.ipl_group_swap_finish()


ipl_group_swap_is_active

bool native.streaming.ipl_group_swap_is_active()


prefetch_srl

void native.streaming.prefetch_srl(string srl)


_0xae00387e53b1e9fc

void native.streaming._0xae00387e53b1e9fc()


_0xef1a8a484118735e

void native.streaming._0xef1a8a484118735e()


_0xd9f2ff4af394d926

void native.streaming._0xd9f2ff4af394d926()


is_srl_loaded

bool native.streaming.is_srl_loaded()


begin_srl

void native.streaming.begin_srl()


end_srl

void native.streaming.end_srl()


set_srl_time

void native.streaming.set_srl_time(float p0)


set_srl_readahead_times

void native.streaming.set_srl_readahead_times(int p0, int p1, int p2, int p3)


set_srl_long_jump_mode

void native.streaming.set_srl_long_jump_mode(bool p0)


set_hd_area

void native.streaming.set_hd_area(float x, float y, float z, float radius)


clear_hd_area

void native.streaming.clear_hd_area()


_0x09fbf15d73efc900

void native.streaming._0x09fbf15d73efc900()


_0xf11d7cb962fcd747

void native.streaming._0xf11d7cb962fcd747(int p0)


_0xb9b9e47edb9d63db

void native.streaming._0xb9b9e47edb9d63db()

Sorts some unknown data.

Likely SORT_*

_0xbe8daa9d8d01da6a

void native.streaming._0xbe8daa9d8d01da6a(int p0, int p1, int p2)


_0x53764309c4618087

int native.streaming._0x53764309c4618087(int p0)


_0x032a14d082a9b269

void native.streaming._0x032a14d082a9b269(int p0)

_SET_E* or _SET_F*

_0xafa87a7d41ee346a

void native.streaming._0xafa87a7d41ee346a(int p0)


_0x6a6e79fbe8678c98

void native.streaming._0x6a6e79fbe8678c98()


_0xcc61d8d6c19d9f14

void native.streaming._0xcc61d8d6c19d9f14(int p0)


_0xda7fdeff4de86839

int native.streaming._0xda7fdeff4de86839()


_0x5d5e2102b174b8d2

int native.streaming._0x5d5e2102b174b8d2()


_0x7b8c2b846c05e5ad

int native.streaming._0x7b8c2b846c05e5ad()


_0x62d5f0588915b277

void native.streaming._0x62d5f0588915b277()


_0x2f4d53023f826ff0

int native.streaming._0x2f4d53023f826ff0()


_0xdabfe48ba0d457aa

int native.streaming._0xdabfe48ba0d457aa()


_0xe5b76e5b56cd77dd

int native.streaming._0xe5b76e5b56cd77dd()


_0x27af48c62b281341

int native.streaming._0x27af48c62b281341()


_0x99f92061efe908ba

int native.streaming._0x99f92061efe908ba()


_0x05dd384f39de1c8c

int native.streaming._0x05dd384f39de1c8c(int p0, int p1)


_0x198b85cc3c7a4593

int native.streaming._0x198b85cc3c7a4593(int p0, int p1)


_0x2a6d1daab9ebb262

int native.streaming._0x2a6d1daab9ebb262(int p0)


_0x07559b29950301ff

void native.streaming._0x07559b29950301ff(int p0, int p1)


_0xd6e39dc5d46df4ab

int native.streaming._0xd6e39dc5d46df4ab(int p0)


_0x8d56bda343d9519f

int native.streaming._0x8d56bda343d9519f(int p0)


_0xd840c130d7aacfa5

void native.streaming._0xd840c130d7aacfa5(int p0, int p1, int p2)


_0x2e24c27b112b5b12

void native.streaming._0x2e24c27b112b5b12(int p0)


_set_guarma_worldhorizon_active

void native.streaming._set_guarma_worldhorizon_active(bool toggle)