Cyberpunk-Blender-add-on icon indicating copy to clipboard operation
Cyberpunk-Blender-add-on copied to clipboard

Feature request: add support for modifying entLightChannelComponent from vehicle .ent

Open misterchedda opened this issue 11 months ago • 1 comments

Add support for exporting/importing entLightChannelComponent in vehicle .ent

For eg, in base\vehicles\sport\v_sport2_porsche_911turbo__basic_01.ent > components > LightChannel0724

image

The shape represents the VFX cutout mesh for the vehicle (base\vehicles\sport\v_sport2_porsche_911turbo\entities\meshes\porsche_fx_cutout.mesh)

This is used as a bounding box for the interior lights for vehicles

Adding a way to modify this will mean custom vehicle modders can make working interior lights for their cars and not have to completely remove the cutout mesh and the lightchannelcomponent (which is widely the practice now)

Discord discussion thread: https://discord.com/channels/717692382849663036/786891742829215745/1219638019905294439

misterchedda avatar Mar 19 '24 13:03 misterchedda

following up from discord, this script seems to do the job for me: https://gist.github.com/misterchedda/aa730fab5bc0aa0f1bd905f617c84e6d

misterchedda avatar Mar 19 '24 16:03 misterchedda