Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Add method to relate skins to vehicle models

Featured Replies

I'd like to suggest a new feature for the downloads section. When uploading to the textures category, you should be able to select one or more models which those textures can be used with. For each related model you could specify a screenshot for that particular vehicle. From a model's download page everyone could then see a list of textures for that model, each with a link to that texture download and with the screenshot next to it. 

This would make it much easier for people to find textures for models, instead of having to search manually and hope you didn't miss some because the author didn't name the download what you expected. 

[REL] Coastal Callouts: An action-packed mod with new vehicles, maps, capabilities, and callouts in and around the waters of Los Santos

[REL] Police Tape: Make your scenes more realistic while stopping peds and traffic

[REL] Better EMS: Realistic and dynamic EMS response

Join the Parks Benefactor Program to support my work and get early beta access!

  • Management Team
2 minutes ago, Hystery said:

Wouldn't it be the same if the uploader posted links towards the said models in the description of their files though?

I think he wants it the other way around - links to textures that work with specific models on those models' pages.

"Work and ideas get stolen, then you keep moving on doing your thing."

Just now, willpv23 said:

I think he wants it the other way around - links to textures that work with specific models. 

Oh. I didn't understand it that way. But even like that... I mean, would it even be possible on a technical point of view?

  • Management Team
1 minute ago, Hystery said:

Oh. I didn't understand it that way. But even like that... I mean, would it even be possible on a technical point of view?

It probably would be possible, but I doubt Cyan has the time to implement something like this. I know at one point we had a system where you could designate a mod you upload to specifically work with other mods that are already in the database. It would essentially be that, with an added step. The author of the texture sets it to work with certain models, then those models would automatically get a link showing the textures that work with it.

"Work and ideas get stolen, then you keep moving on doing your thing."

  • Author
1 hour ago, willpv23 said:

The author of the texture sets it to work with certain models, then those models would automatically get a link showing the textures that work with it.

That's exactly what I'm talking about. 

 

1 hour ago, Hystery said:

Wouldn't it be the same if the uploader posted links towards the said models in the description of their files though?

No, because there's no way to follow the reverse relationship. Right now most texture authors link to the models their textures work with, but if you start from the model and want to know, "what textures can I download for this vehicle", there's no way to figure it out. 

 

1 hour ago, Hystery said:

Would it even be possible on a technical point of view?

Yes. I'm not sure what platform LCPDFR.com uses, but in pretty much any web framework there's a way to do this. You create a database table which would look something like "texture ID, model ID, screenshot URL". When you create a texture, you create however many entries necessary to link all the models that texture supports. Then, to show the textures for a given model, you would do something like: 

SELECT 
	texture_ID, screenshot_URL 
FROM 
	TextureModelRelationshipTable
WHERE
	model_id = $thismodel

Then you could get the details of that texture from knowing its ID, e.g. 

SELECT * FROM FileDownloads WHERE texture_ID = $thetextureIDfromabove

Of course the actual code would be different depending on how the LCPDFR database is set up, and you could combine that all together with a JOIN to directly get a table of texture details linked to a particular model. 

[REL] Coastal Callouts: An action-packed mod with new vehicles, maps, capabilities, and callouts in and around the waters of Los Santos

[REL] Police Tape: Make your scenes more realistic while stopping peds and traffic

[REL] Better EMS: Realistic and dynamic EMS response

Join the Parks Benefactor Program to support my work and get early beta access!

  • Author
44 minutes ago, Cyan said:

Use the optimised for box. In the future this will link on the parent files.

I'm not seeing any way to add that from the edit details or upload new version screens. Can you post a screenshot of what it should look like?

[REL] Coastal Callouts: An action-packed mod with new vehicles, maps, capabilities, and callouts in and around the waters of Los Santos

[REL] Police Tape: Make your scenes more realistic while stopping peds and traffic

[REL] Better EMS: Realistic and dynamic EMS response

Join the Parks Benefactor Program to support my work and get early beta access!

  • Author
3 minutes ago, Cyan said:

Can you link to the file you're trying to do this on?

e.g. my texture pack: 

Trying to link to model: 

I see nowhere to enter an "optimized for" in the edit window:

no-optimized-for.PNG

[REL] Coastal Callouts: An action-packed mod with new vehicles, maps, capabilities, and callouts in and around the waters of Los Santos

[REL] Police Tape: Make your scenes more realistic while stopping peds and traffic

[REL] Better EMS: Realistic and dynamic EMS response

Join the Parks Benefactor Program to support my work and get early beta access!

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...

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.