Photon
Photon copied to clipboard
Prioritize explicit PI ref over PHOTON_INHERIT
Ideal Behaviour
Vehicles with the following code should pull a predefined PI config if available:
HasPhoton = true, Photon = "PHOTON_INHERIT"
Actual Behaviour
Currently this script will prevent a photon config from using a predefined PI config. Currently this code actually needs to be removed in order to utilize the PI config without referencing it directly as seen below:
HasPhoton = true, Photon = "sgm_fpiu20"
Not a bug? Intended behaviour is to leave blank with those. Registered PI isn't indexed by model, so that can't be used automatically pulled.
We can move it around so explicit PI ref (table or name) > default > inherit
Partial documentation issue, but ideally PI lighting would always be set to on when a model with a referenced PI is being used.