đ 3D Props & Workbenches Engine â
No need to open map editors or create custom .ymap files! DynaDev Crafting System includes a distance-based physical 3D prop streaming engine.
đ How Prop Streaming Works â
- Dynamic Spawning: Props spawn when a player approaches within 65 meters and cleanly despawn beyond 85 meters to preserve memory and client FPS.
- Precise Placement: Unlike native spawning functions that drop entities through custom interior (MLO) floors, DynaDev Crafting respects your exact Z coordinate.
- Use
snapToGround = falseinside interiors or elevated surfaces. - Use
snapToGround = trueonly on wild outdoor natural terrain.
- Use
- Hot-Reload Safe: If you change a prop model from
'p_tablewood01x'to'p_anvil01x'inconfig.lua, the engine removes the old entity and spawns the new model immediately without requiring server restarts.
đ ī¸ Workbench Schema Examples â
Defined inside Config.Workbenches in config/config.lua:
1. Valentine Blacksmith Forge & Anvil â
lua
{
id = 'smithy_valentine',
label = 'Blacksmith Forge & Anvil',
coords = vector3(-279.16, 807.79, 119.36),
heading = 180.0,
prop = 'p_anvil01x', -- Streams a physical 3D steel anvil
snapToGround = false, -- Respects exact Z coordinate
categories = { 'smithing' }, -- Whitelisted recipe categories
jobs = { 'blacksmith' }, -- Only blacksmiths can access
xpScope = 'personal', -- Awards character XP
bookTitle = 'FORGE & ANVIL LEDGER',
bookSubtitle = 'Master Metallurgy, Blacksmithing & Hardware âĸ 1899',
bookIcon = 'fa-hammer',
blip = { enable = true, Hash = 'blip_shop_blacksmith' },
}2. Thieves Landing Outlaw Explosives Cache â
lua
{
id = 'criminal_thieves',
label = 'Thieves Landing Outlaw Cache',
coords = vector3(-1408.85, -2313.15, 43.15),
heading = 130.0,
prop = 'p_crate01a', -- Explosives munitions crate
categories = { 'criminal' },
jobs = 0, -- Open to all outlaws without job locks
xpScope = 'personal',
theme = 'criminal', -- Enables dark outlaw leather theme & metal brackets
bookTitle = 'DEMOLITIONS & SABOTAGE',
bookSubtitle = 'Blasting Explosives, Fire Bottles & Detonators âĸ 1899',
bookIcon = 'fa-bomb',
blip = { enable = false }, -- Hidden from radar map for secrecy
}