SpecialEffects

If you liked this item, please rate it up on Steam Workshop page.

Authors: wizz6rd, 🎀Kuroko

Last revision: 5 Feb, 2019 at 01:00 UTC

File size: 10.16 MB

On Steam Workshop

Description:

Sound Blocks mod works well with this one!

Adds SpotLight, Glass, and ParticleEmitter blocks!

Multiplayer supported, lots of options !

Features

– SpotLight Block
– Glass Block
– ParticleEmitter Block

– (Poor) SpotLight Level Entity (and corresponding Level Event)

– (Poor) Console Commands

Instructions for adding custom particle textures:
  • Go to the mod’s steam workshop folder (you may need to launch Besiege once for the mod to download, then close it to add sounds):
    • …SteamAppsworkshopcontent346010….SpecialEffectsResourcesParticles
  • Place your texture file (.png) in the "SpecialEffectsResourcesParticles" folder.
  • Please Backup these texture files somewhere as they will be deleted everytime I make an update to the mod!
  • Go back two folders and open these two files with Notepad: "Mod.xml" and "ParticleEmitter.xml"
  • In the "Mod.xml" file add your texture’s name and path. Example: "MyTexture.png" would be:
    <Texture name="MyTexture" path="ParticlesMyTexture.png" />
  • In the "ParticleEmitter.xml" file add just the texture’s name. Following the example:
    <Texture name="MyTexture" />
  • Save both files.
  • Launch Besiege and it should be good!

Console Commands (subject to change)
Example command to set ambient light to purple:

SpecialEffects:Custom ambientLight purple

You can type this in the console:

SpecialEffects:Custom

Followed by any of these, just add a color (red, green, white,…) or a hex code: #FF00FF:

ambientLight ambientEquatorColor ambientGroundColor ambientSkyColor fogColor

You can also use these followed by a number:

ambientIntensity flareFadeSpeed flareStrength fogDensity fogStartDistance fogEndDistance haloStrength

Some more commands:
This one for fog can be true or false:

SpecialEffects:Custom fog true

Or this one for lighting type can be Skybox, Trilight, or Flat:

SpecialEffects:Custom ambientMode Trilight

This one will update stuff:

SpecialEffects:Custom up

For modders:
You can use the module I have in the "SpotLight.xml".
Here is the module, just need to add this to your modded block:

<Modules> <SpotLight modid="876e14a5-e25d-43a9-915f-1eb61b036822"> </SpotLight> </Modules>

Thanks to the following who helped me make this mod:

  • Kuroko: For the wonderful texture and model of the block!
  • Pix: for allowing me to use a little piece of code for the Heatwave effect.

See Change Notes for information about changes made.