Raised This Month: $51 Target: $400
 12% 

[TF2] Light Colours 0.6 (03/10)


Post New Thread Reply   
 
Thread Tools Display Modes
nosoop
Veteran Member
Join Date: Aug 2014
Old 07-25-2022 , 11:40   Re: [TF2] Light Colours 0.6 (03/10)
Reply With Quote #111

Couple of minor tweaks to restore functionality after spotlights were made server-only in the 2022-07-07 update.

Note that this is broken as of the 2022-07-29 update. See the next post for the working version as of that update.
Attached Files
File Type: sp Get Plugin or Get Source (lightcolors.sp - 54 views - 15.9 KB)
__________________
I do TF2, TF2 servers, and TF2 plugins.
I don't do DMs over Discord -- PM me on the forums regarding inquiries.
AlliedModders Releases / Github / TF2 Server / Donate (BTC / BCH / coffee)

Last edited by nosoop; 07-30-2022 at 12:20.
nosoop is offline
nosoop
Veteran Member
Join Date: Aug 2014
Old 07-30-2022 , 12:15   Re: [TF2] Light Colours 0.6 (03/10)
Reply With Quote #112

Did a bunch of sweeping code changes and optimizations; includes a fix for the change on 2022-07-29 that removes unnamed, orphaned point_spotlight entities.

This is based off the source in the original post, but with the following changes:
  • point_spotlight entites are now given the targetname lightColorsNoDelete to prevent removal as of the recent update.
  • Entity references are now passed across timers.
  • Commands are now using the admin system and defaulted to root access.
  • In disco mode, lights that are not potentially visible to any players will be skipped and rechecked on the next cycle.
You will also need the translation file from the original post.
Attached Files
File Type: sp Get Plugin or Get Source (lightcolors.sp - 73 views - 13.7 KB)
__________________
I do TF2, TF2 servers, and TF2 plugins.
I don't do DMs over Discord -- PM me on the forums regarding inquiries.
AlliedModders Releases / Github / TF2 Server / Donate (BTC / BCH / coffee)

Last edited by nosoop; 08-02-2022 at 12:23.
nosoop is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:48.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode