Entity System Overview
The entity system is organized into several categories:Trails
Visual trails for weapons and movement
Server/Entity/Trails/Effects
Status effects and particle systems
Server/Entity/Effects/Model VFX
3D model visual effects
Server/Entity/ModelVFX/Movement Config
Entity movement and physics
Server/Entity/MovementConfig/Trails
Trails create visual effects that follow weapon movements and actions. All trails use texture-based rendering with configurable properties. Location:Server/Entity/Trails/
Lightsaber Trails
Blue Lightsaber Trail
Blue Lightsaber Trail
File:
Lightsaber_Trail_Blue.json- LifeSpan: 2 seconds fade
- Color: Cyan blue (
#6beaff) - Width: 1 → 0 (tapers to point)
- Render Mode: Additive blending for glow effect
Darksaber Trail
Darksaber Trail
File:
Darksaber_Trail.json- Unique Feature: Black core with white edge
- Width: 2.3 → 0.3 (wider than standard)
- Light Influence: 0.792 (affected by lighting)
- Render Mode: Linear blending
Available Trail Types
| Trail ID | Color | File Path |
|---|---|---|
| Lightsaber_Trail_Blue | Cyan | Lightsaber_Trail_Blue.json |
| Lightsaber_Trail_Green | Green | Lightsaber_Trail_Green.json |
| Lightsaber_Trail_Red | Red | Lightsaber_Trail_Red.json |
| Lightsaber_Trail_Purple | Purple | Lightsaber_Trail_Purple.json |
| Lightsaber_Trail_Orange | Orange | Lightsaber_Trail_Orange.json |
| Lightsaber_Trail_Gold | Gold | Lightsaber_Trail_Gold.json |
| Lightsaber_Trail_White | White | Lightsaber_Trail_White.json |
| Darksaber_Trail | Black/White | Darksaber_Trail.json |
Charged Trails
Smaller trails for charged attacks:Trail_Small_Charged_Blue.jsonTrail_Small_Charged_Gold.jsonTrail_Small_Charged_Red.json
Trail Configuration Properties
Path to trail texture file (usually
Trails/White.png)Duration in seconds the trail persists before fading (typically
2)Trail appearance at creation point
Width(number): Initial width in unitsColor(string): Hex color with alpha (#RRGGBBAA)
Trail appearance at fade completion
Width(number): Final width (0 for taper to point)Color(string): Final hex color with alpha
How much scene lighting affects trail (0.0 = none, 1.0 = full)
Enable smooth interpolation between trail points
Blending mode for rendering:
BlendAdd- Additive (glow effect)BlendLinear- Standard alpha blending
Effects
Status effects and particle systems applied to entities. Location:Server/Entity/Effects/
Potion Effects
Morph: Jawa
File:Effects/Potion/Potion_Morph_Jawa.json
- Duration: 180 seconds (3 minutes)
- ModelChange: Transforms player into Jawa model
- Particles: Morph burst effect on application
- Sound: Jawa conversation sound on activation
- OverlapBehavior: Overwrites existing morph effects
Effect Configuration Properties
UI icon path for status effect display
Effect duration in seconds
How effect handles conflicts:
Overwrite- Replaces existing effectStack- Adds to existing effectIgnore- Prevented if effect exists
Model ID to replace entity appearance
Effects triggered when status applied:
Particles- Particle system IDsWorldSoundEventId- Sound event to play
Model VFX
Visual effects attached to 3D models. Location:Server/Entity/ModelVFX/
Weapon VFX
Darksaber VFX
File:ModelVFX/Weapon/Lightsaber/ModelVFX_Darksaber.json
- SwitchTo: Material shader switch to transparency
- EffectDirection: No directional bias
- LoopOption: Continuously looping effect
VFX Configuration Properties
Material shader mode:
Transparency- Enable alpha transparencyOpaque- Solid renderingCutout- Alpha cutout
Directional orientation:
None- No directionUp,Down,Forward, etc.
Animation looping behavior:
Loop- Continuous loopOnce- Play oncePingPong- Forward and reverse
Movement Configuration
Defines entity physics and movement behavior. Location:Server/Entity/MovementConfig/
Mount: Speeder Bike
File:Mount_Speeder_Bike.json
Key Properties:
- BaseSpeed: 30 (very fast mount)
- ForwardSprintSpeedMultiplier: 1.65 (sprint boost)
- JumpForce: 12 (high jump capability)
- AirSpeedMultiplier: 1.25 (enhanced air control)
Movement Property Categories
Core Movement
BaseSpeed- Base movement speedAcceleration- Speed gain rateVelocityResistance- Movement dampening
Directional Speed Multipliers
Forward/Backward/Strafe×Walk/Run/Crouch/Sprint- Example:
ForwardSprintSpeedMultiplier: 1.65
Jump & Fall
JumpForce- Upward jump velocitySwimJumpForce- Jump force in waterFallEffectDuration- Fall impact durationFallMomentumLoss- Speed lost on landing
Air Control
AirSpeedMultiplier- Movement speed in airAirDrag- Air resistanceAirFriction- Air friction
Climbing
ClimbSpeed- Vertical climb speedClimbSpeedLateral- Horizontal climb speedClimbUpSprintSpeed- Sprint climb upClimbDownSprintSpeed- Sprint climb down
Related Systems
See also:- Sound Events - Audio for entity actions
- Environments - World spawn settings