Coloring my prop

Hi
i wonder if there is a way to coloring a prop, i want to spawn a prop with half opacity and color it with a specific color not to be opac with that color but slightly graduated to that color.

is it possible ?

thank you

Ever find a solution to this?

1 Like

No unfortunately :confused:

1 Like

Download OpenIV and Texture Tool Kit. Locate the prop using its prop name in OpenIV extract the .ydt or texture dictionary. Sometimes will be under a different prop name but will be in the folder relating to the one your looking to edit. Next extract the open format files and edit the .dss or .png depending on your OpenIV settings with your favourite image editor to apply opacity and color. Next open up texture tool kit and load in the .ydt file you extract earlier. Go to import and import the edited .dss or .png and then save. Next go to your server and create a folder structure as follows in the resources folder:

assets β†’ stream β†’ put your saved .ydt file in here (the stream folder)
in the assets folder put a __resource.lua file ensure there are two underscores
in the resource.lua file put the following code:

resource_manifest_version '44febabe-d386-4d18-afbe-5e627f4af937'
this_is_a_map 'yes'

Finally add this to your server.cfg to start the assets resource:

start assets

clear your server cache or fivem cache and fire up the server. the prop should now be edited. peace.

Hello Chewy2
Well this does not fit what i want, cause i want to modify same object depending in some cases not use another copy of it but modified.
Behavior wanted is selecting my prop should color my prop, and when unselected should make it as original, for now i just make it half transparent :expressionless:
well if it’s the only option is switching between them yeah it could be possible if no clues, thx Chewy2