All Projects → root-cause → v-besttorso

root-cause / v-besttorso

Licence: other
No description or website provided.

Projects that are alternatives of or similar to v-besttorso

Aurora
Unified lighting effects across multiple brands and various games.
Stars: ✭ 1,673 (+5128.13%)
Mutual labels:  gta5
V
OwlGaming roleplay script for RAGE Multiplayer on GTA 5.
Stars: ✭ 36 (+12.5%)
Mutual labels:  gta5
GTA5-NativeTrainer
GTA5 Epic最新版修改器(汉化版)
Stars: ✭ 21 (-34.37%)
Mutual labels:  gta5
UnitedCallouts
UnitedCallouts adds over 20+ callouts for LSPDFR, a popular GTA V modification.
Stars: ✭ 14 (-56.25%)
Mutual labels:  gta5
pHake
GTA Online Mod
Stars: ✭ 74 (+131.25%)
Mutual labels:  gta5
saltychat-fivem
FiveM implementation of Salty Chat (TeamSpeak 3 based Voice Plugin)
Stars: ✭ 64 (+100%)
Mutual labels:  gta5
gtav-online-ahk
GTA V Online AHK-Macros
Stars: ✭ 45 (+40.63%)
Mutual labels:  gta5
cakeMP
An experimental GTA 5 multiplayer mod.
Stars: ✭ 39 (+21.88%)
Mutual labels:  gta5
dupeboard
An android app to track GTA Online car sell limits.
Stars: ✭ 40 (+25%)
Mutual labels:  gta5
Re-Ignited-Phone
ReIgnited Phone is a continuation and reimagination of the original GCPhone resource
Stars: ✭ 55 (+71.88%)
Mutual labels:  gta5
LiDAR-GTA-V
A plugin for Grand Theft Auto V that generates a labeled LiDAR point cloud from the game environment.
Stars: ✭ 127 (+296.88%)
Mutual labels:  gta5
V.Rainbomizer
Randomizers for Grand Theft Auto: V
Stars: ✭ 52 (+62.5%)
Mutual labels:  gta5
IAST-ECCV2020
IAST: Instance Adaptive Self-training for Unsupervised Domain Adaptation (ECCV 2020) https://teacher.bupt.edu.cn/zhuchuang/en/index.htm
Stars: ✭ 84 (+162.5%)
Mutual labels:  gta5
RageMP.Net
RAGE Multiplayer .NET Core Wrapper
Stars: ✭ 21 (-34.37%)
Mutual labels:  gta5
GTAV-Self-driving-car
Self driving car in GTAV with Deep Learning
Stars: ✭ 15 (-53.12%)
Mutual labels:  gta5
saltychat-altv
AltV implementation of Salty Chat (TeamSpeak 3 based Voice Plugin) using Typescript & C#
Stars: ✭ 20 (-37.5%)
Mutual labels:  gta5
v2saconv
GTAV > GTASA resource converter. Converts YTD/YDR/YDD/YFT resources to DFF/TXD and generates COL files.
Stars: ✭ 68 (+112.5%)
Mutual labels:  gta5

v-besttorso

This resource aims to help people find proper torsos for a freemode character top item (component ID 11). So this ugly clipping doesn't happen:

Disgusting!

This resource only provides "the best" torso for a specified top item, it will not help with:

  • Gloves
  • Undershirts (component ID 8)

Some tops don't have torso data so they'll just return -1, a better explanation can be found on the README file of v-clothingnames.

Visit https://wiki.rage.mp/index.php?title=Clothes for preview images of tops and torsos.

JS Example

const torsoDataMale = require("./besttorso_male.json");
const torsoDataFemale = require("./besttorso_female.json");
const freemodeModels = [ mp.joaat("mp_m_freemode_01"), mp.joaat("mp_f_freemode_01") ];

mp.events.addCommand("settop", (player, _, drawable, texture) => {
    if (freemodeModels.includes(player.model)) {
        drawable = Number(drawable);
        texture = Number(texture);

        if (isNaN(drawable) || isNaN(texture)) {
            player.outputChatBox("SYNTAX: /settop [drawable] [texture]");
        } else {
            if (player.model == freemodeModels[0]) {
                // male
                if (torsoDataMale[drawable] === undefined || torsoDataMale[drawable][texture] === undefined) {
                    player.outputChatBox("Invalid top drawable/texture.");
                } else {
                    player.setClothes(11, drawable, texture, 2);
                    if (torsoDataMale[drawable][texture].BestTorsoDrawable != -1) player.setClothes(3, torsoDataMale[drawable][texture].BestTorsoDrawable, torsoDataMale[drawable][texture].BestTorsoTexture, 2);
                }
            } else {
                // female
                if (torsoDataFemale[drawable] === undefined || torsoDataFemale[drawable][texture] === undefined) {
                    player.outputChatBox("Invalid top drawable/texture.");
                } else {
                    player.setClothes(11, drawable, texture, 2);
                    if (torsoDataFemale[drawable][texture].BestTorsoDrawable != -1) player.setClothes(3, torsoDataFemale[drawable][texture].BestTorsoDrawable, torsoDataFemale[drawable][texture].BestTorsoTexture, 2);
                }
            }
        }
    } else {
        player.outputChatBox("Switch to a freemode model first.");
    }
});
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].