This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require("fs"); | |
const path = require("path"); | |
// !!! PUT *unpacked* .#pm files in this folder. | |
const targetPath = `${__dirname}\\Files`; | |
// !!! Path to RAGE-StringsDatabase repo. | |
const stringsPath = `${__dirname}\\RAGE-StringsDatabase`; | |
async function* getFiles(dir, target = "") { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```cpp | |
// 0xC5E7204F322E49EB | |
int _REQUEST_TEXTURE_OVERRIDE(Hash albedoHash, Hash normalHash, Hash unkHash); | |
/* | |
Creates a texture override data for ped and returns it's index. | |
So you can replace any texture of any ped's component. | |
Also, you can add overlays on it, such as ageing, lipstick and etc. | |
Textures can be reused by multiple peds at once. | |
You can keep only 32 textures at once (including other peds). | |
Material hash list: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 2040843256 / parent: 0 / flags: 1 / contentFlags: 65 / entitiesExtents: vec(-310.647888, 786.196777, 115.047287) -> vec(-278.071777, 800.229614, 121.707634) | |
name: 999248445 / parent: 0 / flags: 1 / contentFlags: 1 / entitiesExtents: vec(-312.935425, 791.890076, 116.539932) -> vec(-309.679565, 794.380249, 118.631622) | |
name: 805009584 / parent: 0 / flags: 1 / contentFlags: 65 / entitiesExtents: vec(-345.857971, 773.541809, 114.097534) -> vec(-335.557190, 788.403809, 117.089859) | |
name: -661560211 / parent: 0 / flags: 1 / contentFlags: 1 / entitiesExtents: vec(-313.373444, 779.214539, 116.586128) -> vec(-299.785187, 784.863953, 118.774559) | |
name: 637874199 / parent: 0 / flags: 1 / contentFlags: 65 / entitiesExtents: vec(-321.037354, 777.547119, 118.770966) -> vec(-296.907654, 800.984558, 120.830200) | |
name: 666617953 / parent: 0 / flags: 1 / contentFlags: 1 / entitiesExtents: vec(-320.940735, 777.551453, 118.793907) -> vec(-304.914673, 798.586426, 120.813530) | |
name: -713587740 / parent: -1324424825 / flags: 1 / c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1634621556 | |
629362551 | |
-947200121 | |
-1305545118 | |
1424082059 | |
-1939038021 | |
-1613805696 | |
-1933338814 | |
952753807 | |
1963724330 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1714893037 | |
1203855497 | |
270927012 | |
2145096297 | |
-1365892303 | |
967592029 | |
151557380 | |
1895733974 | |
-447416643 | |
141151919 |