Skip to content

Initial Commit for TrackTarget merge into Activate,Added ShowInToolbarConfig Toggle to refresh control panel UI for UseWorkColor toggled, Added force3D for spatial sound in 3DWorldPosition, Added sound update to restore sound when player leaves and returns to tools max sound distance.#4

Open
Raidfire85 wants to merge 10 commits intoAsh-LikeSnow:masterfrom
Raidfire85:master

Conversation

@Raidfire85
Copy link

@Raidfire85 Raidfire85 commented Mar 25, 2025

For more simpler and user friendly On/Off toggle Activate. It makes it easier from a players perspective. But its up to you Ash if you ever want to use it. TrackTargets is still there just // out the control methods and implemented if (IsTurret) calls in the various Activate methods. So it can be used for something else perhaps. Disregard the project file ofc. The merge for controls TrackTargets into Activate is simple. It cant be compared to a weaponcore turret. It is a tool. It should not weld or grind when only TrackTargets its On. Wich is what its currently doing without a visible beam. And also at the same time it makes it easier for players that are used to a On/Off for most blocks.

@Raidfire85 Raidfire85 changed the title Initial Commit for TrackTarget merge into Activate Initial Commit for TrackTarget merge into Activate/Added ShowInToolbarConfig Toggle to refresh control panel UI when UseWorkColor is toggled On/Off Mar 28, 2025
@Raidfire85 Raidfire85 changed the title Initial Commit for TrackTarget merge into Activate/Added ShowInToolbarConfig Toggle to refresh control panel UI when UseWorkColor is toggled On/Off Initial Commit for TrackTarget merge into Activate,Added ShowInToolbarConfig Toggle to refresh control panel UI for UseWorkColor toggled,Attached soundemitter to block entity for sound sync Mar 31, 2025
…sound to surrounding players. Since block entity exists for all and the emitter only for the user using the block."

This reverts commit 5a7bdbc.
Added force3D to make the sound spacial(3DWorldPosition)
@Raidfire85 Raidfire85 changed the title Initial Commit for TrackTarget merge into Activate,Added ShowInToolbarConfig Toggle to refresh control panel UI for UseWorkColor toggled,Attached soundemitter to block entity for sound sync Initial Commit for TrackTarget merge into Activate,Added ShowInToolbarConfig Toggle to refresh control panel UI for UseWorkColor toggled, Added force3D for spatial sound in 3DWorldPosition Mar 31, 2025
@Raidfire85 Raidfire85 changed the title Initial Commit for TrackTarget merge into Activate,Added ShowInToolbarConfig Toggle to refresh control panel UI for UseWorkColor toggled, Added force3D for spatial sound in 3DWorldPosition Initial Commit for TrackTarget merge into Activate,Added ShowInToolbarConfig Toggle to refresh control panel UI for UseWorkColor toggled, Added force3D for spatial sound in 3DWorldPosition, Add sound update to restore sound when player leaves and returns to tools max sound distance. Mar 31, 2025
@Raidfire85 Raidfire85 changed the title Initial Commit for TrackTarget merge into Activate,Added ShowInToolbarConfig Toggle to refresh control panel UI for UseWorkColor toggled, Added force3D for spatial sound in 3DWorldPosition, Add sound update to restore sound when player leaves and returns to tools max sound distance. Initial Commit for TrackTarget merge into Activate,Added ShowInToolbarConfig Toggle to refresh control panel UI for UseWorkColor toggled, Added force3D for spatial sound in 3DWorldPosition, Added sound update to restore sound when player leaves and returns to tools max sound distance. Mar 31, 2025
@Raidfire85
Copy link
Author

Raidfire85 commented Apr 14, 2025

Currenty working on a few other additions:

  • Range Slider(Scales Power also based on set range)Max range is allways the defined Length in the tools sbc definition as per ToolValues.

  • WorkColor toolbar action toggle.

  • Toolbar action current target(turrets weld/grind)

  • Main Beam color change is also something im adding.

  • Other additions is seperating beam color logic from decorative beams to main beams because of adding recolorable main beams. Tho defined almost the same way the main beams does not define a color since its dynamicly set in the control panel

  • New definition value to a cylinder shape where the modder can adjust originradius and endradius(Radius) + Length. So get a cone shape.

  • For Sphere and Cuboids im adding in similar slider for Range but in this case Size slider. Both Range Slider and Size Slider has to be enabled by modder in the definition with true or true defaults to false. RangeSlider can be used on anything that uses Length while SizeSlider is mostly limited to Sphere and Cuboids(Scale) and scales power the same way Range does. Both sliders addhere to the set Radius or Length as their Max Radius or Max Length(range). Power scales between IdlePower and ActivePower as per toolvalues definition.

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

Successfully merging this pull request may close these issues.

1 participant