Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
misterchedda opened this issue Mar 19, 2024 · 1 comment

Comments

@misterchedda
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant