Jump to content

Setting skins for car


Recommended Posts

Hello, i recently put in a gtr model for my game, and was wondering how i can edit my carvariations file to spawn certain skins, im trying to setup my ultimate backup also, and was wondering how i go about setting "custom backup" cars to use only a certain skin.

 

EX:

Spoiler

        <CustomRegion label="Paleto Bay">
            <Zones>
                <Zone>PALETO</Zone>
            </Zones>
            <VehicleSet chance="100">
                <Vehicles>
                    <Vehicle chance="100" color="White" pax="1" pax_chance="25">POLICE14</Vehicle>
                </Vehicles>
                <Peds>
                    <Ped chance="90" comp_shirt="2" comp_accessories="2" prop_hats="1" prop_glasses="4" >S_M_Y_COP_01</Ped>
                </Peds>
                <NonLethals>
                    <NonLethal>WEAPON_STUNGUN</NonLethal>
                </NonLethals>
                <HandGuns>
                    <HandGun chance="50">WEAPON_PISTOL</HandGun>
                    <HandGun chance="50">WEAPON_COMBATPISTOL</HandGun>
                </HandGuns>
                <LongGuns>
                    <LongGun chance="25">WEAPON_CARBINERIFLE</LongGun>
                    <LongGun chance="50">WEAPON_ADVANCEDRIFLE</LongGun>
                    <LongGun chance="25">WEAPON_PUMPSHOTGUN</LongGun>
                </LongGuns>
            </VehicleSet>
        </CustomRegion>

 how would i set it so it only spawns with a police skin and not a sharriff/highway patrol skin? lol

 

In the trainer livery 3-0 is police, 3-1 is sheriff, and 3-2 is highway patrol, but i have no idea how to implement that into the car variations or ultimate backup 😕

 

 )

Edited by Nexsys

burnj.gif.1d9e516de76997da2576076283add4b6.gif

Link to comment
Share on other sites

14 hours ago, Nexsys said:

Hello, i recently put in a gtr model for my game, and was wondering how i can edit my carvariations file to spawn certain skins, im trying to setup my ultimate backup also, and was wondering how i go about setting "custom backup" cars to use only a certain skin.

 

EX:

  Reveal hidden contents

        <CustomRegion label="Paleto Bay">
            <Zones>
                <Zone>PALETO</Zone>
            </Zones>
            <VehicleSet chance="100">
                <Vehicles>
                    <Vehicle chance="100" color="White" pax="1" pax_chance="25">POLICE14</Vehicle>
                </Vehicles>
                <Peds>
                    <Ped chance="90" comp_shirt="2" comp_accessories="2" prop_hats="1" prop_glasses="4" >S_M_Y_COP_01</Ped>
                </Peds>
                <NonLethals>
                    <NonLethal>WEAPON_STUNGUN</NonLethal>
                </NonLethals>
                <HandGuns>
                    <HandGun chance="50">WEAPON_PISTOL</HandGun>
                    <HandGun chance="50">WEAPON_COMBATPISTOL</HandGun>
                </HandGuns>
                <LongGuns>
                    <LongGun chance="25">WEAPON_CARBINERIFLE</LongGun>
                    <LongGun chance="50">WEAPON_ADVANCEDRIFLE</LongGun>
                    <LongGun chance="25">WEAPON_PUMPSHOTGUN</LongGun>
                </LongGuns>
            </VehicleSet>
        </CustomRegion>

 how would i set it so it only spawns with a police skin and not a sharriff/highway patrol skin? lol

 

In the trainer livery 3-0 is police, 3-1 is sheriff, and 3-2 is highway patrol, but i have no idea how to implement that into the car variations or ultimate backup 😕

 

 )

 

Carvariations does not dictate what livery is used, it only controls car colors. 

 

For Ultimate Backup, it's very simple.  Just add livery="1" (change 1 to the number livery you want)  Here's how it should look.

 

<Vehicle chance="50" pax="1" pax_chance="25" livery="1">POLICE</Vehicle>

 

You can add in multiple lines for different liveries, such as

 

<Vehicle chance="50" pax="1" pax_chance="25" livery="1">POLICE</Vehicle>

<Vehicle chance="50" pax="1" pax_chance="25 livery="2">POLICE</Vehicle>

I need donations to help fund my food addiction. DM for details 😂

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...