Canonical source:
plugins_default/fancygraphics/README.md- edit that file, not this page (this page is built live from it, nothing here is a tracked copy).
FancyGraphics
A small "readds old/nicer visual options" plugin - adds an optional fancy-shadows mode (hands and gun meshes cast shadows, not just the player body), an outline effect on fired bullets, Burnt's muzzle flash model, a glow from explosions and gunfire that lights up their surroundings, and a little pop animation on the currency counter when your balance updates. Client-only - the constructor returns immediately (with a log line) on services or game servers.
Setup
Depends on three other plugins, not npm packages (dependencies.js: { legacysettings: "plugin", legacythemes: "plugin", legacyweather: "plugin" }) - and actually uses their exposed APIs rather than just requiring they exist:
- Registers a new settings tab and four checkboxes ("Fancy Shadows", "Fancy Bullets", "Fancy Muzzle Flash", "Fancy Glow", all default off, each with a tooltip) through Legacy Settings's
addTab/addCategory/addOptionframework. - Registers itself as a selectable CSS theme ("Fancy Animations") through Legacy Themes's
stylePackslist. - Lights things up through LegacyWeather's
WeatherRender.addGlow/glowAtpoint lights in the shared shader.
This is a genuinely good, real example of a plugin building on top of other plugins' extension points instead of hooking core LegacyShell events directly - see Dependencies for what a "plugin"-type dependency guarantees (the other plugin is loaded first) and what it doesn't (there's no formal API contract beyond whatever that plugin's own code happens to expose).
What each option actually toggles
The checkboxes are read live (.get()) inside the relevant render hooks, not cached - toggling one in the settings UI takes effect on the next shadow/bullet/flash without needing a reload:
- Fancy Shadows - adds player hand meshes and gun meshes to the shadow generator's render list (
playerActorShadowRenderList,gunActorSetup), and bumps the shadow map resolution to1024 * 5ononShadowGeneratorCreated. - Fancy Muzzle Flash - replaces the base muzzle flash with the plugin's
muzzleFlash_Burntmesh (models/muzzleFlash.babylon, merged into the basemuzzleFlashmodel, so the original mesh stays available when the option is off). Takes effect immediately, no reload needed. - Fancy Bullets - gives each fired bullet's visual mesh a rendered outline (
bulletActorFired). - Fancy Glow - explosions (
explosionFx), gunfire (gunActorFired), bullets hitting walls (bulletHitEffect), flashing grenades (grenadeActorFlashing) and rockets in flight (rocketActorFlying) light up what's around them. Mostly visible at night and in storms; explosions keep a little light even in daylight.
This page was drafted with AI assistance and reviewed for accuracy. If something looks wrong, please open a PR or flag it.
